/* GLOBAL RESET & TYPOGRAPHY */
:root {
    --color-red: #E31C3D; 
    --color-pink: #FF69B4; /* New Pink for Footer */
    --color-white: #FFFFFF;
    --color-bg-light: #F8F8F8;
    --color-red-dark: #A0102B; 
    --font-primary: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    background-color: var(--color-white);
    color: #333;
    scroll-behavior: smooth; 
}

a {
    color: var(--color-red);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #A0102B; 
}

/* UTILITIES */
.text-center { text-align: center; }
.full-height { height: 100vh; }
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.hidden { display: none !important; }
.section { padding: 4rem 1rem; }
.padding-y { padding-top: 5rem; padding-bottom: 5rem; }
.margin-top-large { margin-top: 3rem; }
.margin-bottom-medium { margin-bottom: 2rem; }
.bg-light { background-color: var(--color-bg-light); }
.bg-red-dark { background-color: var(--color-red-dark); }
.color-white { color: var(--color-white); }
.color-red-dark { color: var(--color-red-dark); }


/* HEADINGS & BUTTONS */
.main-heading {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-red);
    opacity: 0; 
}
.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    margin-top: 10px;
    opacity: 0; 
    transition: opacity 1s ease 1.5s; 
}
.section-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}
.cta-button {
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(227, 28, 61, 0.3);
    display: inline-block; 
}
.cta-button:hover {
    background-color: #A0102B;
    transform: translateY(-2px);
}
.cta-button.secondary.white-border {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    box-shadow: none;
}
.cta-button.secondary.white-border:hover {
    background-color: var(--color-white);
    color: var(--color-red-dark);
    border-color: var(--color-white);
}

/* STICKY HEADER & JOIN US BUTTON */
#sticky-header {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000; 
}
.primary-sticky {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* MODAL STYLES (Used for Join Us & Offers) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: modalSlide 0.4s ease-out;
}
/* Specific style for Offer Modal */
#offer-modal .modal-content {
    max-width: 700px; 
    padding: 0; /* Remove internal padding for full image area */
}
#offer-modal .offer-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.modal-inner-content .cta-button.secondary.white-border {
    border-color: var(--color-red-dark);
    color: var(--color-red-dark);
}
.modal-inner-content .cta-button.secondary.white-border:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10001; /* Ensure close button is above offer image */
}
.close-btn:hover {
    color: var(--color-red);
}
@keyframes modalSlide {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


/* 1. HERO SECTION */
#hero {
    background: var(--color-white);
    position: relative;
    overflow: hidden; 
    height: 100vh; /* Ensure it takes full viewport height */
}

/* Hero Content Styling (Logo, Heading, Tagline) */
.welcome-container {
    position: absolute;
    z-index: 100; /* Above the image strips */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background for readability */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px);
}

.hero-logo-placeholder {
    margin-bottom: 20px;
}
.hero-logo-image {
    max-width: 150px;
    height: auto;
    opacity: 0;
    animation: fadeInScale 1s ease-out 0.5s forwards;
    transition: opacity 1s;
}
.scroll-down-arrow {
    position: absolute;
    bottom: 50px;
    color: var(--color-red);
    opacity: 0; 
    animation: bounce 1.5s infinite 2s ease-in-out; 
    transition: opacity 0.5s;
    z-index: 100;
}

/* --- HERO SLIDESHOW STYLES --- */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slideshow-strip {
    display: flex;
    white-space: nowrap;
    position: absolute;
}
/* Three equal height strips */
.hero-slideshow-strip:nth-child(1) {
    top: 0;
    height: 33.33vh; 
}
.hero-slideshow-strip:nth-child(2) {
    top: 33.33vh;
    height: 33.33vh; 
}
.hero-slideshow-strip:nth-child(3) {
    top: 66.66vh;
    height: 33.33vh;
}

.hero-slideshow-strip img {
    height: 100%; 
    min-width: auto; /* Allow width to be determined by aspect ratio */
    object-fit: cover;
    display: inline-block;
    margin-right: 5px; /* Small gap between images */
}

/* Animation Speeds */
.scroll-right-fast { animation: scroll-right 200s linear infinite; }
.scroll-left-medium { animation: scroll-left 350s linear infinite; }

/* Animation Keyframes */
@keyframes scroll-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls the duplicated content */
}
@keyframes scroll-left {
    0% { transform: translateX(-50%); } 
    100% { transform: translateX(0); } /* Scrolls the duplicated content */
}
/* --- END HERO SLIDESHOW STYLES --- */


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 2. SERVICES GRID (No Change) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.service-box {
    background-color: var(--color-white);
    padding: 2rem 1rem;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    border: 2px solid var(--color-bg-light);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.service-box i {
    color: var(--color-red);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}
.service-box:hover {
    border-color: var(--color-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(227, 28, 61, 0.1);
}

/* 3. ABOUT US SECTION (Updated P Tag Styles for new long text) */
#about-us {
    background-color: var(--color-white);
}
.about-container {
    max-width: 1000px;
    margin: 0 auto;
}
.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}
.about-text {
    flex: 2;
}
.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
    white-space: pre-line; /* Handle line breaks in the updated content */
}
.commitment-tag {
    font-weight: 600;
    color: var(--color-red-dark) !important;
    font-style: italic;
    margin-top: 1.5rem !important;
}

/* Logo Placeholder Beside About Us Text */
.about-image-placeholder {
    flex: 1;
    min-height: 250px;
    background-color: var(--color-bg-light);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-weight: 300;
    overflow: hidden;
}
.about-logo-image {
    max-width: 250px; 
    height: auto;
    object-fit: contain; 
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}


/* Founder Profiles Grid (No Change) */
.about-founders {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-bg-light);
}
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
.founder-card {
    background-color: var(--color-bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.founder-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%; 
    object-fit: cover; 
    margin-bottom: 1rem;
    border: 4px solid var(--color-red);
}
.founder-info {
    text-align: left;
    width: 100%;
}
.founder-info h4 {
    color: var(--color-red);
    margin-bottom: 0.25rem;
    font-weight: 800;
    font-size: 1.3rem;
    text-align: center;
}
.founder-role {
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
    font-size: 0.95rem;
    text-align: center;
}
.founder-details {
    list-style: none;
    padding: 0;
}
.founder-details li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.founder-details i {
    color: var(--color-red-dark);
    margin-right: 0.5rem;
}

/* 4. PORTFOLIO SHOWCASE */
.portfolio-filter-info {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 3rem;
}
.slideshow-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

#slideshow-container {
    margin-bottom: 2rem;
    height: 400px;
    position: relative;
}
.showcase-image.my-slide {
    /* ... (Existing styles for the images) ... */
}
#slideshow-container {
    /* Existing styles for the container */
    margin-bottom: 2rem;
    height: 400px; /* Fixed height for consistency */
    position: relative;
}.prev-slide, .next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: var(--color-white);
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    z-index: 10; 
}

.prev-slide {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next-slide {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-slide:hover, .next-slide:hover {
    background-color: var(--color-red);
}
#current-filter-text {
    color: var(--color-red);
    text-transform: capitalize;
}
.showcase-section {
    max-width: 1000px;
    margin: 3rem auto;
}
.showcase-subheading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-red);
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}
/* 4.1. SLIDESHOW NAVIGATION ARROWS (Updated for PNG Images) */
.prev-slide, .next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    /* Set fixed size for the clickable area/container */
    width: 100px; /* slightly wider to fit image + padding */
    height: 100px;
    
    display: flex; /* Centers the image inside the container */
    justify-content: center;
    align-items: center;
    
    background-color: rgba(0, 0, 0, 0.6);
    /* Removed color and font-size, as they only affect text/icons */
    border-radius: 50%; /* Keeps the container round */
    transition: background-color 0.3s, transform 0.3s;
    user-select: none;
    z-index: 10; 
}

.prev-slide img, .next-slide img {
    /* New rule: Make the image fit the arrow container nicely */
    width: 60%; /* Adjust size of the PNG image relative to the 50px container */
    height: 60%; 
    object-fit: contain;
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

.prev-slide:hover, .next-slide:hover {
    background-color: var(--color-red);
    transform: translateY(-50%) scale(1.05);
}


/* 4.2. VIDEO GRID STYLES (Play Button Styling) */
.video-thumbnail-link .video-thumbnail {
    /* Ensure this has position: relative for the icon */
    position: relative; 
    overflow: hidden;
    height: 150px;
    background-size: cover;
    background-position: center;
    display: flex; /* Centers fallback content */
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    border-radius: 5px;
}

/* Styles for the play icon */
.video-thumbnail-link .play-icon {
    /* Use a large, round icon with a white color on hover */
    font-size: 3.5rem; /* Larger icon */
    color: var(--color-white); /* White icon */
    opacity: 0.9; 
    transition: color 0.3s, opacity 0.3s, transform 0.3s;
}

/* Hover effect on the play icon/thumbnail */
.video-thumbnail-link:hover .play-icon {
    color: var(--color-red); /* Highlight color on hover */
    opacity: 1;
    transform: scale(1.1); /* Slight animation */
}
/* Slideshow Container - Ensures proper aspect ratio */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/9; 
    margin-bottom: 4rem;
}
/* --- CRITICAL UPDATE: Ensure images fill perfectly and aren't cut --- */
.showcase-image.my-slide {
    display: none;
    width: 100%;
    height: 100%;
    /* Key change: use object-fit: contain to show the whole image */
    object-fit: contain; 
    /* Add a background to fill empty space if image doesn't match aspect ratio */
    background-color: #000; 
    position: absolute;
    top: 0;
    left: 0;
}

/* 🌟 Simple Fade-In Animation */
.fade-in-slide {
    display: block;
    animation-name: simpleFadeIn;
    animation-duration: 0.5s; 
    animation-fill-mode: forwards;
    z-index: 10;
}

@keyframes simpleFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* Video Grid Display (No Change) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.video-thumbnail-link {
    display: block;
    text-align: center;
    color: #333;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}
.video-thumbnail-link.show {
    opacity: 1;
    transform: translateY(0);
}
.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.video-thumbnail i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}
.video-thumbnail:hover i {
    opacity: 1;
    color: var(--color-red); 
}
.video-thumbnail-link p {
    margin-top: 10px;
    font-weight: 600;
}
.video-thumbnail-link .video-thumbnail {
    /* Existing styles, ensure this has position: relative; */
    position: relative; 
}

/* Ensure the icon is white and centered for local videos */
.video-thumbnail-link .play-icon {
    color: var(--color-white); /* White icon */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8; /* Slight transparency */
    transition: opacity 0.3s;
}

.video-thumbnail-link:hover .play-icon {
    opacity: 1; /* Fade in on hover */
    color: var(--color-red); /* Highlight color on hover */
}

/* 5. NEWSLETTER SECTION (No Change) */
#newsletter {
    background-color: var(--color-red-dark);
    padding: 3rem 1rem;
}
.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}
#newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}
#newsletter-form input[type="email"] {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    flex-grow: 1;
    max-width: 300px;
    font-size: 1rem;
}
#newsletter-form .cta-button {
    flex-shrink: 0;
}

/* 6. FOOTER (UPDATED) */
.pink-bar {
    background-color: var(--color-pink-bar);
    color: #333;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 5px solid var(--color-red);
}
.pink-bar-content {
    max-width: 1000px;
    margin: 0 auto;
}
.pink-bar p {
    margin-bottom: 1rem;
    line-height: 1.5;
}
.pink-bar .footer-services {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-red-dark);
    margin-bottom: 1.5rem;
}

/* NEW SOCIAL BUTTON STYLES */
.social-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-btn i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Facebook Styling */
.facebook-btn {
    background-color: #1877F2; /* Facebook Blue */
    color: var(--color-white);
}
.facebook-btn:hover {
    background-color: #145CBF;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Instagram Styling */
.instagram-btn {
    /* Instagram Gradient approximation */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--color-white);
}
.instagram-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
footer {
    background-color: #111;
    color: var(--color-white);
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
}
footer a {
    color: var(--color-white);
    margin: 0 0.5rem;
    font-size: 1.2rem;
}
footer a:hover {
    color: var(--color-red);
}

/* MEDIA QUERIES for Mobile Optimization */
@media (max-width: 768px) {
    .prev-slide, .next-slide {
        padding: 10px;
        font-size: 16px;
    }

    .main-heading {
        font-size: 1.8rem;
    }
    .service-grid {
        grid-template-columns: 1fr 1fr; 
    }
    .about-content {
        flex-direction: column;
    }
    .about-image-placeholder {
        min-height: 150px;
    }
    .about-logo-image {
        max-width: 150px; 
    }
    .founder-grid {
        grid-template-columns: 1fr; 
    }
    .video-grid {
        grid-template-columns: 1fr;
    }
    #newsletter-form {
        flex-direction: column;
    }
    #newsletter-form input[type="email"] {
        max-width: 100%;
    }
    #sticky-header {
        top: 10px;
        right: 10px;
    }
    .welcome-container {
        padding: 1.5rem;
    }
    /* Hide some hero strip details on small screens */
    .hero-slideshow-strip img {
        margin-right: 2px;
    }
    .hero-slideshow-strip:nth-child(3) {
        display: none; 
    }
}.social-buttons-container {
        flex-direction: column; /* Stack buttons vertically on small screens */
        gap: 10px;
    }
    .social-btn {
        width: 100%; /* Full width for stacked buttons */
        justify-content: center;
    }
