/* ===================================
   SOUTH PACIFIC STUDIO - MASTER STYLES
   =================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Capriola&family=Syne:wght@400;500;600;700;800&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6B2C5F;
    --accent-magenta: #D946A6;
    --soft-pink: #F4E5F1;
    --light-lavender: #C8B3D4;
    --pale-blush: #FFF5F9;
    --deep-plum: #4A1F42;
    --text-dark: #2D1B28;
    --text-light: #6B5968;
    --white: #ffffff;
    --light-bg: #F8F9FA;
}

/* Global Typography */
body {
    font-family: 'Syne', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    margin: 0;
    padding: 0;
    font-size: 16px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Capriola', sans-serif;
    font-weight: 400;
    color: var(--primary-purple);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
}

/* Paragraphs */
p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--accent-magenta);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-purple);
}

/* Skip to main content link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-purple);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(107, 44, 95, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 250px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-magenta);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-magenta);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Client Portal Link */
.client-portal-link {
    background: var(--primary-purple);
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.client-portal-link:hover {
    background: var(--accent-magenta);
    color: var(--white) !important;
}

.client-portal-link::after {
    display: none;
}

.client-portal-link.active {
    background: var(--accent-magenta);
}

/* Client Portal Styles */
.portal-section {
    padding: 2rem 0;
}

.portal-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(107, 44, 95, 0.1);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(107, 44, 95, 0.1);
    border: 1px solid var(--light-lavender);
}

.dashboard-card h3 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.project-item-card,
.file-item,
.message-item,
.timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--pale-blush);
    border-radius: 8px;
    border-left: 3px solid var(--primary-purple);
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
}

.download-link:hover {
    color: var(--accent-magenta);
}

.timeline-item {
    display: flex;
    gap: 1rem;
    border-left: 3px solid var(--accent-magenta);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-purple);
    min-width: 120px;
}

.timeline-content {
    flex: 1;
}

.no-data {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(107, 44, 95, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--accent-magenta);
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(107, 44, 95, 0.4);
}

.back-to-top.visible {
    display: flex;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Admin Dashboard Styles */
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--light-lavender);
}

.admin-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-dark);
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.admin-tab:hover {
    color: var(--primary-purple);
}

.admin-tab.active {
    color: var(--primary-purple);
    border-bottom-color: var(--primary-purple);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-info-box {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--pale-blush);
    border-radius: 12px;
    border-left: 4px solid var(--primary-purple);
}

.admin-info-box h4 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.admin-info-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.admin-info-box li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.btn-secondary.active {
    background: var(--accent-magenta);
    color: var(--white);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--pale-blush) 0%, var(--light-lavender) 100%);
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(107, 44, 95, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid var(--light-lavender);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(107, 44, 95, 0.15);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-purple);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-lavender);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-info h4 {
    color: var(--primary-purple);
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.testimonial-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating span {
    color: #FFD700;
    font-size: 1.2rem;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin: 0;
}

.lang-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Syne', sans-serif;
}

.lang-button:hover {
    background: var(--light-lavender);
    color: var(--primary-purple);
}

.lang-icon {
    font-size: 1.2rem;
}

.lang-text {
    font-weight: 600;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(107, 44, 95, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--light-lavender);
    font-size: 0.95rem;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--pale-blush);
    color: var(--primary-purple);
}

.lang-option.active {
    background: var(--light-lavender);
    color: var(--primary-purple);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-purple);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-purple);
    cursor: pointer;
    font-family: 'Syne', sans-serif;
    margin: 0.5rem;
}

.btn:hover {
    background: transparent;
    color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 44, 95, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-purple);
    border-color: var(--white);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--soft-pink) 0%, #E8D4E8 100%);
    padding: 120px 2rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(212, 70, 166, 0.1), transparent);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero h1 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 2;
}

/* Hero Split Layout */
.hero-split {
    padding: 100px 0;
    text-align: left;
    background: var(--white);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-split::before {
    display: none;
}

.hero-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Syne', sans-serif;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 2rem 0;
    max-width: 600px;
}

.hero-features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.hero-features li {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    padding-left: 0;
    font-weight: 500;
}

.hero-features li:before {
    content: '';
    display: inline-block;
    width: 20px;
    margin-right: 10px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    margin: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(107, 44, 95, 0.2);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Sections */
.section {
    padding: 80px 2rem;
}

.section-alt {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-purple);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Menu Navigation */
.services-nav-section {
    background: var(--light-bg);
    padding: 80px 2rem;
}

.services-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-menu-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(107, 44, 95, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-magenta), var(--primary-purple));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(107, 44, 95, 0.15);
    border-color: var(--soft-pink);
}

.service-menu-item:hover::before {
    transform: scaleY(1);
}

.service-menu-item.active {
    background: linear-gradient(135deg, var(--soft-pink) 0%, #E8D4E8 100%);
    border-color: var(--primary-purple);
    box-shadow: 0 5px 20px rgba(107, 44, 95, 0.2);
}

.service-menu-item.active::before {
    transform: scaleY(1);
    width: 5px;
}

.service-menu-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-pink);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-menu-item:hover .service-menu-icon {
    background: linear-gradient(135deg, var(--accent-magenta), var(--primary-purple));
    transform: scale(1.1);
}

.service-menu-item.active .service-menu-icon {
    background: linear-gradient(135deg, var(--accent-magenta), var(--primary-purple));
}

.service-menu-content {
    flex: 1;
}

.service-menu-content h3 {
    color: var(--primary-purple);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: 'Capriola', sans-serif;
    font-weight: 400;
}

.service-menu-item.active .service-menu-content h3 {
    color: var(--primary-purple);
}

.service-menu-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.service-menu-item.active .service-menu-content p {
    color: var(--text-dark);
}

.service-menu-item {
    cursor: pointer;
}

.service-details-section {
    min-height: 400px;
    padding: 80px 2rem;
}

#service-content {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Projects Gallery */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(107, 44, 95, 0.1);
    transition: all 0.4s ease;
    background: var(--white);
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(107, 44, 95, 0.2);
}

.project-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--soft-pink);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107, 44, 95, 0.9) 0%, rgba(212, 70, 166, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Capriola', sans-serif;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.9rem;
    margin: 0;
}

.btn-small:hover {
    background: var(--white);
    color: var(--primary-purple);
    border-color: var(--white);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(107, 44, 95, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--soft-pink);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-magenta), var(--primary-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(107, 44, 95, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    flex-grow: 1;
}

.service-features li {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-magenta);
    font-weight: bold;
    font-size: 1rem;
}

.service-card .btn {
    margin: 1.5rem 0 0 0;
    padding: 12px 28px;
    font-size: 0.95rem;
    align-self: flex-start;
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, var(--soft-pink) 0%, #E8D4E8 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 70, 166, 0.1), transparent);
    border-radius: 50%;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.why-choose-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(107, 44, 95, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 70, 166, 0.2);
}

.why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(107, 44, 95, 0.2);
    border-color: var(--accent-magenta);
}

.why-choose-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1;
    transition: transform 0.3s ease;
}

.why-choose-item:hover .why-choose-icon {
    transform: scale(1.15) rotate(5deg);
}

.why-choose-item h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.why-choose-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--deep-plum) 0%, var(--primary-purple) 50%, var(--deep-plum) 100%);
    color: var(--white);
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, var(--deep-plum) 0%, var(--primary-purple) 50%, var(--deep-plum) 100%);
    clip-path: ellipse(75% 100% at 50% 100%);
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 70, 166, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(200, 179, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    position: relative;
}

.footer-section:first-child {
    padding-right: 2rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    font-family: 'Capriola', sans-serif;
    font-weight: 400;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-magenta), transparent);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-logo-img {
    height: 65px;
    width: auto;
    max-width: 300px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-magenta);
}

.footer-links a:hover {
    color: var(--accent-magenta);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.footer-contact li {
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.footer-contact strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-contact a:hover {
    color: var(--accent-magenta);
    transform: translateX(3px);
}

.footer-cta {
    margin-top: 2rem;
}

.btn-footer {
    background: var(--accent-magenta);
    border-color: var(--accent-magenta);
    color: var(--white);
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 70, 166, 0.3);
}

.btn-footer:hover {
    background: transparent;
    border-color: var(--accent-magenta);
    color: var(--accent-magenta);
    box-shadow: 0 4px 20px rgba(212, 70, 166, 0.4);
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}

.footer-bottom .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.95rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-magenta);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.5);
}

/* Forms */
form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--soft-pink);
    border-radius: 10px;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 44, 95, 0.1);
}

input[type="text"].error,
input[type="email"].error,
input[type="tel"].error,
textarea.error,
select.error {
    border-color: var(--accent-magenta);
}

.field-error {
    color: var(--accent-magenta);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    
    .services-menu {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2rem;
    }
    
    .service-menu-item {
        padding: 1.2rem;
        gap: 1.2rem;
    }
    
    .service-menu-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .service-menu-content h3 {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }
    
    .why-choose-item {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2.5rem;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .projects-gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(107, 44, 95, 0.15);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--light-lavender);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .client-portal-link {
        margin-top: 1rem;
        text-align: center;
    }
    
    .language-selector {
        width: 100%;
    }
    
    .lang-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 0;
    }
    
    .hero {
        padding: 80px 1.5rem 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-split {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        margin: 1.5rem auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-img {
        border-radius: 15px;
    }
    
    .section {
        padding: 60px 1.5rem;
    }
    
    .services-menu {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-menu-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .service-menu-icon {
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-choose-item {
        padding: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .projects-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-image {
        height: 250px;
    }
    
    .project-overlay {
        padding: 1.5rem;
    }
    
    .project-overlay h3 {
        font-size: 1.3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 1.5rem 2rem;
    }
    
    .footer-section:first-child {
        padding-right: 0;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .footer-bottom {
        padding: 1.5rem 1.5rem;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--accent-magenta);
    color: white;
}
