/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-variant: normal;
    text-transform: none;
}

/* Self-hosted fonts */
@font-face {
    font-family: 'Cinzel';
    src: url('fonts/cinzel-variable.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway-variable.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway-variable-italic.woff2') format('woff2');
    font-weight: 300 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'MontageSerif';
    src: url('fonts/MontageFont.otf') format('opentype'),
         url('fonts/MontageFont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #35A79D;      /* Tiffany Dark — accent */
    --primary-dark: #2B8880;       /* deeper teal — hover / links */
    --secondary-color: #F4E6E0;    /* blush beige */
    --accent-color: #E9D2C9;       /* deep blush beige */
    --text-dark: #4A3F3A;          /* earthy dark — headings & base text */
    --text-light: #8B7A72;         /* muted taupe */
    --white: #FFFFFF;
    --cream: #FCF6F3;              /* warm blush white */
    --gold: #C8A98E;              /* warm rose-gold — divider */
    --shadow: rgba(74, 63, 58, 0.10);
    --shadow-hover: rgba(74, 63, 58, 0.16);
}

html {
    scroll-behavior: smooth;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 3px;
}

body {
    font-family: 'Raleway', 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-variant: normal;
    text-transform: none;
    font-feature-settings: normal;
}

/* Headings use Cinzel font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', 'Georgia', 'Times New Roman', serif;
    font-variant: normal;
    text-transform: none;
    font-feature-settings: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-appointment {
    background: var(--primary-color);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-appointment::after {
    display: none;
}

.btn-appointment:hover {
    background: var(--primary-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2335A79D" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    /* Semi-opaque blush wash to lighten the dark image into the theme */
    background: linear-gradient(180deg, rgba(252, 246, 243, 0.55) 0%, rgba(233, 210, 201, 0.62) 100%);
}

/* Dark text for the light hero */
.hero .hero-title {
    color: var(--text-dark);
}

.hero .hero-subtitle,
.hero .hero-description {
    color: var(--text-light);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-dark);
    padding: 2rem;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    letter-spacing: 5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
    letter-spacing: 2px;
    line-height: 1.7;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-buttons .btn {
    width: 280px;
    text-align: center;
}


.hero-buttons .btn-primary {
    backdrop-filter: blur(0.1px);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
    color: var(--text-dark);
    border: none;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 400;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 3rem 0 5rem;
    scroll-margin-top: 60px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* About Section */
.about {
    background: var(--cream);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Services Section */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--cream);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card-body {
    padding: 2rem;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

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

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

.service-card ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.service-card ul li {
    color: var(--text-dark);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Service "Learn More" link + clickable card */
.service-card {
    position: relative;
}

.service-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link span {
    transform: translateX(4px);
}

/* Stretch the link to make the whole card clickable */
.service-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 15px;
}

/* Service Detail content (shared by service pages) */
.detail-lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-page p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-page h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.detail-list li {
    color: var(--text-dark);
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
}

.detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Filler image placeholders (no image bytes) */
.detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.detail-image {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    background: var(--secondary-color);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-meta div {
    flex: 1;
    min-width: 120px;
    background: var(--cream);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 600;
}

.detail-meta span {
    display: block;
    color: var(--gold);
    font-family: 'MontageSerif', 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.detail-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Standalone Service Page (Approach B) */
.service-page {
    padding-top: 110px;
    padding-bottom: 5rem;
    max-width: 860px;
}

.service-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.service-page .back-link:hover {
    color: var(--primary-dark);
}

.service-page h1 {
    color: var(--text-dark);
    font-size: 2.6rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Technology Section */
.technology {
    background: var(--cream);
}

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

.tech-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.tech-card h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-features span {
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    background: var(--secondary-color);
    padding: 5rem 0;
    overflow: hidden;
}

.testimonial-stage {
    position: relative;
    max-width: 780px;
    margin: 0 auto 0.5rem;
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 0 1rem 2rem;
}

.testimonial-item + .testimonial-item {
    border-top: 1px solid color-mix(in srgb, var(--accent-color) 30%, transparent);
    padding-top: 2rem;
}

/* Carousel mode — activated by JS adding .js to the stage */
.testimonial-stage.js {
    min-height: 260px;
}

.testimonial-stage.js .testimonial-item {
    position: absolute;
    inset: 0;
    padding: 0 1rem;
    border-top: none;
    transform: translateX(100vw);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-stage.js .testimonial-item { transition: none; }
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 3px;
}

.testimonial-quote {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 680px;
    position: relative;
}

.testimonial-quote::before {
    content: '\201C';
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    font-size: 5rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.35;
    font-style: normal;
    font-family: 'Georgia', serif;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-author {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.testimonial-source {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.testimonial-source:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.testimonial-source-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.testimonial-controls {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
}

.testimonial-controls.js {
    display: flex;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.testimonial-pause {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--accent-color);
    opacity: 0.7;
    transition: opacity 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
}

.testimonial-pause:hover {
    opacity: 1;
    color: var(--primary-color);
}

.address-link,
.contact-item p a.address-link {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.35);
}

@media (max-width: 640px) {
    .testimonial-stage.js {
        min-height: 340px;
    }

    .testimonial-quote {
        font-size: 1.15rem;
    }
}

/* Meet Marie Section */
.meet-marie {
    background: var(--white);
}

.marie-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.marie-portrait {
    position: sticky;
    top: 100px;
}

.marie-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 25px var(--shadow);
}

.marie-bio h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.marie-title {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.marie-bio p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.marie-credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.credential-group {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px var(--shadow);
}

.credential-group h4 {
    color: var(--text-dark);
    font-family: 'MontageSerif', 'Cinzel', serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.credential-group ul {
    list-style: none;
    padding: 0;
}

.credential-group li {
    color: var(--text-dark);
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}

.credential-group li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.marie-personal {
    font-style: italic;
}

@media (max-width: 768px) {
    .marie-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .marie-portrait {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Contact Section */
.contact {
    background: var(--cream);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 640px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.contact-item {
    padding: 2rem;
    background: var(--cream);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
}

.contact-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-icon {
    width: 1.4em;
    height: 1.4em;
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.contact-item a:not(.btn) {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:not(.btn):hover {
    color: var(--primary-dark);
}

.contact-item small {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.contact-item .btn {
    margin-top: 1rem;
    margin-right: 0.5rem;
}


/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Social buttons on a light card (Contact section) */
.contact-item .social-links a {
    background: rgba(120, 194, 189, 0.15);
    color: var(--primary-dark);
}

.contact-item .social-links a:hover {
    background: var(--primary-color);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .social-links {
    justify-content: center;
    margin: 0 0 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        transform: translateY(calc(-100% - 80px));
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: transform 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .nav-toggle-label {
        display: flex;
    }

    .nav-toggle:checked ~ .nav-menu {
        transform: translateY(0);
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .technology-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    section {
        padding: 3rem 0;
    }

    .tech-card {
        padding: 1.5rem;
    }

    .service-card-body {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .footer {
        display: none;
    }
}

