/* --- 1. General Styling and Font --- */
:root {
    --cherry-pink-accent: #d97594; 
    --light-bg: #fdf6f9; 
    --white: #ffffff;
    --text-light: #fefefe;
    --text-dark: #333333;
    --text-grey: #666666; 
    --overlay-color: rgba(217, 117, 148, 0.4); 
    --nav-bar-bg: #ffffff; 
    /* Default Card Dimensions */
    --card-default-width: 280px; 
    --card-default-height: 380px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 2. Hero Container & Video Background --- */
.hero-container {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}

/* Video Element */
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover; 
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: var(--overlay-color);
    backdrop-filter: blur(1px); 
}

/* * --- 3. Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 25px 5%; 
    background-color: transparent; 
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 100;
}

/* Logo Styling */
.logo {
    height: 60px; 
    width: 170px; 
    z-index: 101; 
}

.logo-img {
    height: 150px; 
    width: auto;
    position: absolute; 
    top: 50%;
    left: 5%; 
    transform: translateY(-50%); 
}

/* Nav Bar Container */
.nav-links {
    background-color: var(--nav-bar-bg); 
    border-radius: 50px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    padding: 0; 
    height: 60px; 
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 0; 
    background: none; 
    padding: 0;
    border: none;
    backdrop-filter: none;
    height: 100%;
}

.nav-links ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
    border-radius: 50px; 
    transition: background-color 0.3s ease;
}

/* Link Active/Hover Style */
.nav-links ul li:hover,
.nav-links ul li:first-child { 
    background-color: rgba(217, 117, 148, 0.2); 
}

/* Text inside the links */
.nav-links ul li a {
    color: var(--text-grey); 
    font-size: 1em;
    font-weight: 500;
    opacity: 1; 
    transition: color 0.3s ease;
}

/* Text inside the actively styled link */
.nav-links ul li:hover a,
.nav-links ul li:first-child a { 
    color: var(--cherry-pink-accent); 
    font-weight: 600;
}

/* Contact Button */
.contact-btn {
    color: var(--text-dark); 
    background-color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: 1px solid var(--white);
    z-index: 101;
    margin-left: 20px; 
}

.contact-btn:hover {
    background-color: var(--cherry-pink-accent);
    color: var(--white);
    border-color: var(--cherry-pink-accent);
}

/* --- 4. Main Content Styling (Centered) --- */
.main-content {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    text-align: center; 
    z-index: 50; 
    color: var(--text-light);
}

.main-title {
    font-size: 6em; 
    font-weight: 900; 
    letter-spacing: 5px;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6); 
}

.subtitle-short {
    font-size: 1.2em; 
    font-weight: 600; 
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.description-text {
    font-size: 0.95em; 
    font-weight: 400;
    width: 80%; 
    max-width: 500px;
    margin: 0 auto 40px auto; 
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.cta-btn {
    background-color: transparent;
    color: var(--white);
    padding: 12px 30px;
    border: 1px solid var(--white);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-btn:hover {
    background-color: var(--cherry-pink-accent);
    border-color: var(--cherry-pink-accent);
}

/* --- 5. Other Sections --- */
.page-section {
    padding: 100px 5%;
    text-align: center;
    background-color: var(--light-bg);
}

.page-section h2 {
    font-size: 2.5em;
    color: var(--cherry-pink-accent);
    margin-bottom: 20px;
}

/* * --- 6. About Section Styling --- */
.about-section {
    padding: 80px 5%;
    background-color: var(--light-bg);
}

.about-card-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    text-align: left;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(217, 117, 148, 0.1); 
    overflow: hidden;
}

.about-image-wrapper {
    flex: 1;
    min-width: 350px; 
    position: relative;
    background-color: var(--cherry-pink-accent); 
    padding: 20px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%); 
}

.about-profile-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    filter: brightness(0.95); 
}

.about-content {
    flex: 2;
    min-width: 400px; 
    padding: 40px 60px 40px 40px;
}

.about-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--cherry-pink-accent);
    margin-bottom: 10px;
    text-align: left;
}

.about-tagline {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 10px;
}

.about-description {
    font-size: 1em;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-cta {
    background-color: var(--cherry-pink-accent);
    color: var(--white);
    border-color: var(--cherry-pink-accent);
    padding: 10px 30px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.about-cta:hover {
    background-color: #c75f83; 
    box-shadow: 0 5px 15px rgba(217, 117, 148, 0.4);
}

/* Media Query for smaller screens */
@media (max-width: 900px) {
    .about-card-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image-wrapper {
        min-width: 100%;
        clip-path: none;
    }
    
    .about-content {
        min-width: 100%;
        padding: 40px 30px;
        text-align: center;
    }
    .about-title, .about-tagline {
        text-align: center;
    }
}

/* * --- 7. Portfolio Section Styling (3D Carousel & Filters) --- */
.portfolio-section {
    padding: 100px 5%;
    background-color: var(--light-bg);
}

.portfolio-filters {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn {
    background-color: transparent;
    color: var(--text-grey);
    border: 1px solid transparent;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--cherry-pink-accent);
    background-color: rgba(217, 117, 148, 0.1);
}

.filter-btn.active {
    background-color: var(--cherry-pink-accent);
    color: var(--white);
    border-color: var(--cherry-pink-accent);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(217, 117, 148, 0.4);
}

/* 3D Carousel Styling */
.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px; 
    perspective: 1000px;
}

.carousel-container {
    width: 100%;
    height: 450px; 
    perspective: none; 
    position: relative; 
}

#carousel-gallery {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: 50% 50%; 
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

/* Default (Vertical/Square) Item Styling */
.carousel-item {
    position: absolute;
    /* Use fixed sizes from CSS variables */
    width: var(--card-default-width);
    height: var(--card-default-height);
    /* Center position based on default size */
    left: calc(50% - (var(--card-default-width) / 2));
    top: calc(50% - (var(--card-default-height) / 2));
    
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    opacity: 1;
    backface-visibility: hidden;
    transition: 
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
        opacity 0.5s, 
        visibility 0.5s,
        /* Add transition for card size changes */
        width 0.4s ease, height 0.4s ease, left 0.4s ease, top 0.4s ease; 
}

.carousel-item.filtered-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Default Image Styling (Vertical/Square) */
.carousel-item img {
    width: 100%; 
    height: 85%; 
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures the whole image is visible (NO CROP) */
    border-radius: 10px;
    margin-top: 5px;
    padding: 5px;
}

/* NEW: Styling for Video inside Carousel Item (Added for MP4 support) */
.carousel-item video {
    width: 100%; 
    height: 85%; /* Same height as default image */
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures the whole video is visible */
    border-radius: 10px;
    margin-top: 5px;
    padding: 5px;
    display: block;
}

/* DYNAMIC CLASS FOR HORIZONTAL IMAGES/VIDEOS (Applied via JavaScript) */
.carousel-item.horizontal-content {
    /* Set horizontal dimensions */
    width: 450px; 
    height: 300px;
    /* Center position based on horizontal size */
    left: calc(50% - (450px / 2));
    top: calc(50% - (300px / 2));
}

/* Image styling for Horizontal Content */
.carousel-item.horizontal-content img,
.carousel-item.horizontal-content video {
    /* Image and Video height slightly adjusted for wider card */
    height: 80%; 
    padding: 10px;
}

.carousel-item p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 0.9em;
    text-align: center;
}

/* Navigation Buttons Styling */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--cherry-pink-accent);
    color: var(--white);
    border: none;
    padding: 15px 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 700;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(217, 117, 148, 0.6);
    transition: background-color 0.2s, transform 0.2s;
}

.nav-btn:hover {
    background-color: #c75f83;
    transform: translateY(-50%) scale(1.05);
}

.nav-btn.prev {
    left: 0;
}

.nav-btn.next {
    right: 0;
}

@media (min-width: 900px) {
    .nav-btn.prev {
        left: -60px;
    }
    .nav-btn.next {
        right: -60px;
    }
}

/* --- 8. Services Section Styling (Updated for your theme) --- */
.services-section {
    padding: 100px 5%;
    background-color: var(--light-bg);
    color: var(--text-dark);
    text-align: center;
}

.services-section .section-subtitle {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--cherry-pink-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.services-section .section-title {
    font-size: 2.8em;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--cherry-pink-accent);
}

.service-icon {
    font-size: 2.5em;
    color: var(--cherry-pink-accent);
    margin-bottom: 20px;
    display: inline-block;
    border: 2px solid var(--cherry-pink-accent);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--cherry-pink-accent);
    color: var(--white);
    box-shadow: 0 0 15px rgba(217, 117, 148, 0.5);
}

.service-title {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-description {
    font-size: 0.95em;
    color: var(--text-grey);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--cherry-pink-accent);
    font-weight: 600;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.learn-more i {
    margin-left: 8px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: var(--text-dark);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-section .section-title {
        font-size: 2.2em;
    }

    .service-card {
        padding: 25px;
    }

    .service-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .services-section .section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .service-card {
        padding: 20px;
    }
}

/* --- 9. Testimonials Section Styling --- */
.testimonials-section {
    padding: 100px 5%;
    background-color: var(--light-bg);
    color: var(--text-dark);
    text-align: center;
}

/* Reusing Section Headings from Services Section */
.testimonials-section .section-subtitle {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--cherry-pink-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.testimonials-section .section-title {
    font-size: 2.8em;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    /* Show 3 cards on desktop, 2 on tablet, 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;

    /* Animation Properties */
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid transparent;
    transform: perspective(1000px);
}

.testimonial-card:hover {
    transform: perspective(1000px) translateY(-10px) rotateX(2deg);
    box-shadow: 0 15px 40px rgba(217, 117, 148, 0.3);
    border-color: var(--cherry-pink-accent);
}

.client-screenshot-wrapper {
    width: 100%;
    /* CHANGED: height to auto to respect image aspect ratio */
    height: auto;
    overflow: hidden;
    position: relative;
    /* REMOVED: No more border-bottom */
    padding: 10px; /* Added padding to give some space around the image */
    background-color: var(--light-bg); /* Background for the wrapper */
    border-top-left-radius: 15px; /* Match card border-radius */
    border-top-right-radius: 15px; /* Match card border-radius */
}

.client-screenshot {
    width: 100%;
    /* CHANGED: height to auto */
    height: auto;
    /* CHANGED: object-fit to contain to show full image */
    object-fit: contain; 
    display: block;
    transition: transform 0.4s ease;
    border-radius: 10px; /* Slightly smaller border-radius inside wrapper */
}

/* Zoom effect on image during card hover */
.testimonial-card:hover .client-screenshot {
    transform: scale(1.02); /* Adjusted scale as object-fit is contain */
}

.card-content {
    padding: 25px 20px 30px;
}

.testimonial-description {
    font-size: 1em;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.client-name {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--cherry-pink-accent);
    /* REMOVED: margin-bottom, as name is gone, but keeping it small */
    margin-bottom: 5px; /* Reduced margin since name is not used */
}

/* Social Icons Styling */
.client-socials {
    display: flex;
    justify-content: center;
    /* Default gap (15px) is fine, but reducing it since there's only one icon */
    gap: 0; 
    margin-top: 15px; /* Added margin at the top for spacing */
}

.social-link {
    color: var(--text-grey);
    font-size: 1.5em; /* INCREASED size for single icon */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Specific styling for Twitter/X */
.social-link .fa-twitter {
    color: #1DA1F2; /* Traditional Twitter blue for better prominence */
}

.social-link:hover {
    color: #0c85d0; /* Darker blue on hover */
    transform: scale(1.2);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
@media (max-width: 650px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 10. Contact Section Styling (Refined for Theme & Card Layout) --- */
.contact-section {
    padding: 100px 5%;
    background-color: var(--light-bg);
    text-align: center;
}

.contact-section .section-title {
    color: var(--text-dark);
}

/* Main Card Container */
.contact-card-container {
    display: flex;
    flex-direction: column; /* CHANGED: Stack items vertically (Form on top, Info Bar below) */
    max-width: 600px; /* CHANGED: Reduced max width to fit a single column nicely */
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    min-height: auto; /* CHANGED: Auto height when stacked */
}

/* Left Bar: Contact Info (Now the bottom section) */
.contact-info-bar {
    /* flex: 1; -> Removed flex for stacking */
    order: 2; /* Set order to 2 to make it appear below the form */
    background-color: var(--cherry-pink-accent);
    color: var(--white);
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.contact-info-bar h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-info-bar p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.85;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1em;
    font-weight: 500;
}

.info-item i {
    font-size: 1.2em;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

/* Right Side: Contact Form (Now the top section) */
.contact-form-wrapper {
    /* flex: 2; -> Removed flex for stacking */
    order: 1; /* Set order to 1 to make it appear above the info bar */
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-form-wrapper h4 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

#contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Removed half-width CSS as all fields are full-width now */
.form-group.half-width {
    width: 100%; /* Force half-width groups to full width for stacked layout */
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--text-grey);
    font-size: 1em;
    color: var(--text-dark);
    transition: border-bottom-color 0.3s ease;
    background-color: transparent;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--cherry-pink-accent);
}

.form-group textarea {
    resize: none;
    height: auto;
}

.submit-btn {
    background-color: var(--cherry-pink-accent);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* CHANGED: Full width button for stacked form */
}

.submit-btn:hover {
    background-color: #c75f83;
    box-shadow: 0 5px 15px rgba(217, 117, 148, 0.4);
}

.submit-btn i {
    margin-left: 10px;
}

/* Form Status Message Styling */
.form-status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .contact-card-container {
        /* Already defined as column above, but ensuring consistency */
        flex-direction: column;
    }

    .contact-info-bar {
        padding: 30px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    /* half-width and submit-btn are already full-width in the new design */
}

/* --- 11. Footer Section --- */
.main-footer {
    position: relative;
    /* Pinkish background for theme consistency */
    background-color: var(--cherry-pink-accent); 
    color: var(--white); 
    padding-top: 80px; 
    padding-bottom: 20px;
    font-size: 0.9em;
}

/* Optional: If you want a wave/curve shape at the top of the footer */
.footer-wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--light-bg); /* Match the section above */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); 
    transform: translateY(-99%); 
    z-index: 1; 
}

.footer-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* White border for contrast */
}

.footer-logo-area {
    flex: 1;
    min-width: 250px;
    margin-right: 40px;
}

.footer-brand {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--white); /* White logo text against pink background */
    margin-bottom: 10px;
}

.footer-tagline {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links-grid {
    display: flex;
    flex: 2;
    min-width: 500px;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex-basis: 30%;
}

.column-title {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--white); /* Changed border to white */
    padding-bottom: 5px;
    display: inline-block;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a,
.contact-info-item {
    color: var(--white);
    opacity: 0.8; /* Slightly transparent white for link text */
    transition: opacity 0.3s, color 0.3s;
    display: flex;
    align-items: center;
}

.footer-column a:hover {
    color: var(--light-bg); /* Hover to light pinkish background color */
    opacity: 1;
}

.contact-info-item i {
    margin-right: 10px;
    color: var(--white); /* Icons are white */
}

/* Social Icons (Used in Testimonials and Footer) */
.social-icons {
    margin-top: 25px;
    display: flex;
    gap: 20px;
}

/* This targets social links in the footer */
.main-footer .social-link {
    font-size: 1.3em;
    color: var(--white);
    opacity: 0.8;
}

.main-footer .social-link:hover {
    color: var(--light-bg); /* Hover to light pinkish background color */
    opacity: 1;
    transform: scale(1.1);
}


/* Copyright Bar */
.footer-copyright {
    text-align: center;
    padding: 20px 5%;
    color: var(--white);
    opacity: 0.6;
    font-size: 0.85em;
    margin-top: 20px;
}

/* Responsive adjustments for footer */
@media (max-width: 850px) {
    .footer-content-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .footer-logo-area {
        margin-right: 0;
        min-width: auto;
    }
    
    .footer-links-grid {
        flex-direction: column;
        min-width: auto;
        gap: 40px;
        text-align: center;
    }

    .footer-column {
        flex-basis: auto;
    }
    
    .column-title {
        margin-bottom: 15px;
        border-bottom: 2px solid var(--white);
        display: inline-block;
    }
    
    .footer-column ul li {
        text-align: center;
    }

    .footer-column a,
    .contact-info-item {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}