/* --- Global Variables --- */
:root {
    --primary-color: #000000; /* Set to Black for main branding, headings, and primary buttons */
    --accent-color: #CCCCCC; /* Light Grey for subtle accents, icons, and button hover states */
    --text-color: #333333; /* Dark Grey for body text (soft black) */
    --light-grey: #f8f8f8; /* Very light grey for backgrounds */
    --dark-grey: #222222; /* Dark grey for footer/header backgrounds (can be pure black if desired) */
    --white: #ffffff;
    --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 8px 16px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --font-family-sans: 'Roboto', sans-serif; /* Modern, clean sans-serif */
    --font-family-serif: 'Playfair Display', serif; /* Elegant serif for headings */
}

/* --- Base Styles --- */
body {
    font-family: var(--font-family-sans);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--white);
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size for better control */
}

/* Adjust heading sizes */
h1 { font-size: 2.8em; } /* Slightly smaller for general h1 */
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-serif);
    color: var(--primary-color);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

p {
    margin-bottom: 1em;
    font-size: 1em; /* Ensures paragraphs inherit base font size */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes extra space below images */
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    font-size: 0.95em; /* Slightly smaller button text */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--white);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-heading {
    text-align: center;
    font-size: 2.5em; /* Adjusted specific section heading size */
    margin-bottom: 1.5em;
    color: var(--primary-color);
}

.icon-large {
    font-size: 2.8em; /* Slightly smaller icons for better balance */
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-family-serif);
    font-size: 1.6em; /* Slightly smaller logo */
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none; /* This removes the bullet points */
    margin: 0;        /* This removes default top/bottom margins */
    padding: 0;       /* This removes default left padding */
    display: flex;    /* This makes your menu horizontal */
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95em; /* Slightly smaller nav links */
}

.main-nav a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.6em; /* Adjusted hamburger icon size */
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    /* FIX: Add margin-top to push hero section down below the sticky header */
    margin-top: 40px; /* Adjust this value if your header height is significantly different */
    background: url('images/your-composite-hero-image.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 40px 20px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 550px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

@media (max-width: 900px) {
    .hero {
        background: url('images/mobile-hero2.jpg') no-repeat center center/cover;
        height: 800px;
    }
}

/* Mobile Devices (Up to 767px) */
@media (max-width: 767px) {
    .hero {
        background: url('images/mobile-hero2.jpg') no-repeat center center/cover;
        height: 800px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: absolute; /* Make it absolutely positioned within .hero-section */
    top: 50%;          /* Vertically center it */
    transform: translateY(-50%); /* Adjust for its own height to truly center */
    right: 5%;         /* Position it 5% from the right edge of the hero section */
    left: auto;        /* Ensure it doesn't conflict with left positioning */
    max-width: 600px;  /* Keep the max width, adjust if text looks too cramped */
    z-index: 2;        /* Keep z-index to be above the video/image */
    text-align: left;  /* Keep text left-aligned within its own box */

    /* Add styling for readability over background */
    padding: 30px; /* Add some internal padding to the content box */
    background-color: transparent; /* Semi-transparent background */
    color: var(--white); /* White text for contrast */
    border-radius: var(--border-radius); /* Rounded corners */
}
@media (max-width: 900px)
{
    .hero-content{
        top: 75%;
    }
}
@media (max-width: 767px)
{
    .hero-content{
        top: 70%;
    }
}
/* Adjustments for responsiveness of hero-content */
@media (max-width: 992px) { /* Adjust breakpoint as needed */
    .hero-content {
        right: 3%; /* Less space from right */
        max-width: 500px; /* Make it a bit narrower on medium screens */
        padding: 25px;
    }
}

@media (max-width: 768px) {
    /* On smaller screens, typically center the main hero content */
    .hero-content {
        right: 50%; /* Push it to the center */
        transform: translate(50%, -50%); /* Center it precisely */
        text-align: center; /* Center text within its box */
        max-width: 90%; /* Allow it to take up most of the screen width */
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        top: auto; /* Allow it to position from bottom if desired, or keep top: 50% */
        bottom: 20px; /* Example: push from bottom on very small screens */
        transform: translate(50%, 0); /* Adjust transform */
        padding: 15px;
    }
}


.hero-content h1,
.hero-content p,
.hero-content .btn { /* Target specific text elements including the button */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adjust values as needed: horizontal-shadow vertical-shadow blur-radius color */
}

/* --- New Section: Personalized Style Intro --- */
.personalized-intro-section {
    background-color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.personalized-intro-section p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15em;
    color: var(--text-color);
    line-height: 1.8;
}

/* --- About Section --- */
.about-section {
    padding: 20px 0;
    background-color: var(--light-grey);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
/*
.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}
*/
.about-video {
    flex: 1; /* Allows the video to scale within the flex container */
    min-width: 300px; /* Ensures the video doesn't get too small on desktop */
    max-height: 400px; /* Adjust this to control the maximum height of the video */
    object-fit: cover; /* Important: Ensures the video covers the container without distortion, cropping if necessary */
    border-radius: var(--border-radius); /* Keeps the rounded corners */
    box-shadow: var(--shadow-light); /* Keeps the subtle shadow */
    overflow: hidden; /* Ensures border-radius applies cleanly to the video content */
}
.about-text {
    flex: 2;
}

.about-text h2 {
    font-size: 2.2em;
    color: var(--primary-color);
}

/* --- Process Section --- */
.process-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: var(--light-grey);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.process-step h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.95em;
    color: var(--text-color);
}

/* --- Services Section --- */
.services-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.services-section .section-heading {
    color: var(--white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    color: var(--text-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.service-card img,
.service-card video { /* Added ', .service-card video' */
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 320px; /* Ensure this value is consistent with your desired height */
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.service-card-content {
    padding: 25px;
    flex-grow: 1;
}

.service-card-content h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card-content p {
    font-size: 0.95em;
    margin-bottom: 20px;
}

.service-card .btn {
    margin: 0 25px 25px;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-grey);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.05em;
    color: var(--text-color);
    margin-bottom: 15px;
}

.testimonial-card .author {
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-family-sans);
}
.testimonial-screenshot {
    max-width: 100%; /* Ensure the image doesn't overflow its container */
    height: auto;    /* Maintain aspect ratio */
    display: block;  /* Remove any extra space below the image */
    margin-top: 15px; /* Space between client info/photo and the screenshot */
    border: 1px solid var(--border-color, #e0e0e0); /* Optional: A subtle border around the screenshot */
    border-radius: var(--border-radius-small, 5px); /* Optional: Slightly rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow for depth */
}

/* Adjust padding of the testimonial-item if needed after adding larger images */
.testimonial-item {
    padding: 25px; /* Adjust padding if screenshot needs more space */
}

/* --- Instagram Section --- */
/* --- #ft_you on Instagram Section Styling --- */


#ft_you,
.ft-you-instagram-section { /* Apply styles to your existing section ID and a new class */
    padding: 60px 0; /* Adjust top/bottom padding as needed */
    text-align: center;
    background-color: var(--light-gray); /* Example background color, adjust to fit your design */
    color: var(--dark-gray); /* Ensure text color is readable */
}
/* --- GLOBAL BODY & HTML FIXES (Crucial for preventing page-level overflow) --- */
/* --- GLOBAL BODY & HTML FIXES (Ensures the entire page is well-behaved) --- */
html {
    box-sizing: border-box;
    overflow-x: hidden !important; /* Prevents any hidden horizontal scrollbars */
}
*, *::before, *::after {
    box-sizing: inherit; /* Ensures consistent box model */
}

body {
    margin: 0; /* Remove default browser margin */
    padding: 0; /* Remove default browser padding */
    width: 100%; /* Ensures body takes full width of the viewport */
    overflow-x: hidden !important; /* Prevent body itself from causing horizontal scroll */
}

/* --- #ft_you Section Styling (Ensuring it is Centered and Content Aligned) --- */
#ft_you {
    width: 100%; /* Take full available width of its parent */
    max-width: 100%; /* Prevent it from extending beyond its parent */
    margin-left: auto; /* Crucial for centering the section itself if it's a block element */
    margin-right: auto;
    padding-left: 20px; /* Add some padding on the sides for smaller screens */
    padding-right: 20px;
    box-sizing: border-box; /* Include padding in the width calculation */
    overflow: hidden; /* Hide anything that overflows this section */
    text-align: center; /* THIS IS VERY IMPORTANT: Centers text and inline-block children */

    /* Keep your existing styles like background-color, color, etc. */
    background-color: var(--light-gray); /* Example: Adjust to your design */
    color: var(--dark-gray); /* Example: Adjust to your design */
    padding-top: 60px; /* Example: Adjust for vertical spacing */
    padding-bottom: 60px; /* Example: Adjust for vertical spacing */
}

/* If you have a .container div inside your #ft_you section */
#ft_you .container {
    max-width: 1200px; /* Set a maximum width for the content inside the section */
    margin-left: auto; /* Center this container horizontally */
    margin-right: auto;
    padding: 0 15px; /* Inner padding for content */
    box-sizing: border-box;
    overflow: hidden; /* Hide content overflowing this container */
}

/* --- The specific Paragraph Styling (Ensuring it is Centered within its container) --- */
#ft_you p {
    max-width: 700px; /* Set a max width for the text line itself (adjust as needed) */
    margin-left: auto; /* Crucial for centering the paragraph block */
    margin-right: auto;
    padding: 0; /* Remove any padding that might be shifting it */
    text-align: center; /* Ensures the text content within the paragraph is centered */
    white-space: normal !important; /* Force text to wrap */
    word-break: break-word !important; /* Break long words if necessary */
    overflow-wrap: break-word !important; /* Modern equivalent */
    box-sizing: border-box;
    line-height: 1.6;
}
#ft_you h2 { /* Targeting your section's heading */
    margin-bottom: 40px;
    color: var(--dark-gray); /* Ensure heading is readable */
}

.instagram-video-gallery {
    display: grid;
    /* This creates a responsive grid of videos. Adjust minmax(320px, 1fr) based on your desired video size. */
    /* It will try to fit as many 320px wide videos as possible per row. */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px; /* Space between the video embeds */
    justify-content: center; /* Center the grid items if there's extra space */
    max-width: 1200px; /* Max width of your gallery. Adjust or remove if you use a full-width container */
    margin: 0 auto; /* Center the gallery block itself */
}

/* Styles for the Instagram embed container (blockquote) for responsiveness */
.instagram-media {
    /* These !important tags are often needed to override Instagram's inline styles */
    width: 100% !important;
    min-width: unset !important;
    max-width: 100% !important;
    margin: 0 !important; /* Remove any default margins from the embed */
    aspect-ratio: 1 / 1; /* Most Instagram posts are square. Adjust if your videos are different */
    overflow: hidden; /* Hide any overflow */
    display: flex; /* Helps align content within the embed iframes */
    justify-content: center;
    align-items: center;
}

/* Target the iframe generated by Instagram's script (if visible in dev tools) */
.instagram-media iframe {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    #ft_you, .ft-you-instagram-section {
        padding: 40px 0;
    }
    .instagram-video-gallery {
        grid-template-columns: 1fr; /* Stack videos on top of each other on small screens */
        gap: 20px;
        padding: 0 15px; /* Add some side padding */
    }
}
/* --- Contact Section --- */
.contact-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.contact-section .section-heading {
    color: var(--white);
}

.contact-info, .contact-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info p {
    font-size: 1.05em;
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--accent-color);
}

.contact-form-container {
    margin-top: 40px;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
}

.contact-form-container h3 {
    font-size: 1.7em;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contact-form label {
    align-self: flex-start;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--light-grey);
    border-radius: 5px;
    font-family: var(--font-family-sans);
    font-size: 1em;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input[type="submit"] {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form input[type="submit"]:hover {
    background-color: var(--accent-color);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-nav ul {
    list-style: none; /* Removes bullet points */
    margin: 0;        /* Removes default margins */
    padding: 0;       /* Removes default padding */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-nav a {
    color: var(--white);
    transition: color 0.3s ease;
    font-size: 0.9em;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.4em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.copyright {
    margin-top: 20px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Responsive Design (Mobile First adjustments) --- */

/* Mobile Navigation Toggle */
.mobile-nav {
    display: none; /* This is the rule that hides it on desktop */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-grey);
    color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none; /* Removes bullet points */
    padding: 0;       /* Removes default padding */
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 25px;
}

.mobile-nav a {
    color: var(--white);
    font-size: 1.6em;
    font-weight: bold;
    text-decoration: none;
}

.mobile-nav a:hover {
    color: var(--accent-color);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.2em;
    color: var(--white);
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 768px) {
    /* Header */
    .main-nav {
        display: none;
    }
    .hamburger {
        display: block;
    }

    /* Hero Section */
    .hero {
        /* Adjust margin-top for mobile as header might be smaller */
        margin-top: 60px; /* Example, adjust if needed */
        justify-content: right;
        text-align: center;
        padding: 100px 20px;
        min-height: 300px;
    }
    .hero-content {
        max-width: 90%;
        text-align: center;
        margin: 0 auto;
        padding-left: 0;
    }
    .hero-content h1 {
        font-size: 2.2em;
    }
    
    /* Personalized Intro Section */
    .personalized-intro-section {
        padding: 40px 20px;
    }
    .personalized-intro-section p {
        font-size: 1em;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
    .about-text h2 {
        font-size: 2em;
    }

    /* Process Section */
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    .process-step {
        width: 100%;
        max-width: 400px;
    }

    /* Services Section */
    .service-cards {
        grid-template-columns: 1fr;
    }
    .service-card-content h3 {
        font-size: 1.4em;
    }

    /* Testimonials Section */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card p {
        font-size: 1em;
    }

    /* Instagram Section */
    .instagram-grid {
        grid-template-columns: 1fr;
    }
    .instagram-item img, .instagram-embed-item {
        height: 250px;
    }

    /* Contact Section */
    .contact-info p {
        font-size: 1em;
    }
    .contact-form-container {
        padding: 30px 20px;
    }
    .contact-form-container h3 {
        font-size: 1.5em;
    }

    /* Footer */
    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
    }
}
/* Utility to prevent text from breaking */
.no-break {
    white-space: nowrap;
}
/* Style for the actual logo image inside the link */
.logo img {
    height: 80px;   /* Set the desired height for your logo */
    width: auto;    /* This ensures the image's aspect ratio is maintained */
    max-width: 100%; /* Makes sure the logo scales down on smaller screens */
    display: block; /* Helps prevent extra space below the image */
}
/* --- Hero Contact Overlay --- */
/* --- Hero Contact Overlay --- */
.hero-contact-overlay {
    position: absolute;
    top: 50%;          /* NEW: Move down 50% from the top */
    transform: translateY(-50%); /* NEW: Pull it back up by half its own height for vertical centering */
    left: 20px;        /* Keep it 20px from the left edge */
    z-index: 10;
    display: flex;
    flex-direction: column; /* Keep stacked vertically */
    gap: 8px;
    align-items: flex-start; /* Keep items left-aligned within the column */
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.4); /* Use this if you want the semi-transparent background. If you prefer it transparent, set to 'transparent' */
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 0.9em;
    /* Ensure there's no 'text-align: center;' here if you added it previously */
}

.hero-contact-overlay a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    /* Remove 'display: flex;' and 'align-items: center;' here if they were added for full centering attempt,
       as they are now handled by the parent flex container's 'align-items: flex-start;' and 'flex-direction: column;' */
}


.hero-contact-overlay i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Keep your existing responsive adjustments for smaller screens, if any */
/* --- App Store Links (Hero Section) --- */
.app-store-links {
    display: flex; /* Arrange buttons side-by-side */
    justify-content: flex-start; /* Align to the left (inherits from hero-content's text-align: left) */
    gap: 15px; /* Space between the buttons */
    margin-top: 30px; /* Space above the buttons */
    flex-wrap: nowrap; /* Allow buttons to wrap on smaller screens */
    align-content: center;
    flex-direction: row;
}

/* If hero-content is centered on mobile, then you might want to center these too */
@media (max-width: 768px) {
    .app-store-links {
        justify-content: center; /* Center buttons when hero-content is centered */
    }
}


.app-store-btn {
    display: flex; /* Use flexbox for icon and text alignment */
    align-items: center; /* Vertically align icon and text */
    gap: 8px; /* Space between icon and text */
    padding: 12px 25px; /* Button padding */
    background-color: var(--primary-color); /* Use your primary brand color */
    color: var(--white); /* White text */
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap; /* Prevent text from wrapping inside button */
}

.app-store-btn:hover {
    background-color: var(--accent-color); /* Change background on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.app-store-btn i {
    font-size: 1.2em; /* Slightly larger icon */
}
/* --- Fabric Sourcing Section Styling --- */
.fabric-sourcing-section {
    position: relative; /* Essential for absolute positioning of content/video */
    width: 100%;
    min-height: 500px; /* Adjust height as needed for your content */
    display: flex; /* Use flexbox to center content */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    overflow: hidden; /* Hide anything that overflows the section */
    color: var(--white); /* Default text color for readability over video */
    text-align: center; /* Center text within the content box */
    padding: 40px 20px; /* Add some overall padding to the section */
}

.fabric-sourcing-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fabric-sourcing-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the entire container without distortion */
    z-index: 1; /* Place video below content */
}

.fabric-sourcing-video-container img { /* Styling for the fallback image */
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fabric-sourcing-content {
    position: relative; /* Position content above the video */
    z-index: 2; /* Ensure content is on top of the video */
    padding: 30px; /* Padding inside the content box */
    max-width: 800px; /* Control max width of your text content */
    margin: 0 auto; /* Center the content box itself */
    background-color: rgba(0, 0, 0, 0.4); /* Optional: Semi-transparent background for readability */
    border-radius: var(--border-radius);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Optional: Text shadow for readability */
}

.fabric-sourcing-content h2 {
    font-size: 2.5em; /* Adjust heading size */
    margin-bottom: 20px;
    color: var(--white); /* Ensure heading is white */
}

.fabric-sourcing-content p {
    font-size: 1.1em; /* Adjust paragraph size */
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--white); /* Ensure paragraph text is white */
}


/* Adjustments for responsiveness */
@media (max-width: 768px) {
    .fabric-sourcing-section {
        min-height: 400px;
        padding: 30px 15px;
    }
    .fabric-sourcing-content {
        padding: 20px;
        max-width: 90%;
        font-size: 0.9em;
    }
    .fabric-sourcing-content h2 {
        font-size: 2em;
    }
}
/* In your style.css file */

.section-nav-link {
    text-align: center; /* Center the link */
    margin-top: 40px;   /* Add some space above the link */
    margin-bottom: 20px; /* Add some space below the link before the next section */
}

.section-nav-link a {
    display: inline-block; /* Allows padding and margin */
    background-color: var(--primary-color, #007bff); /* Use your brand's primary color or a suitable background */
    color: var(--white-color, #fff); /* Text color */
    padding: 10px 20px; /* Padding inside the button/link */
    border-radius: 5px; /* Slightly rounded corners */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.section-nav-link a:hover {
    background-color: var(--secondary-color, #0056b3); /* Darker shade on hover */
    /* Or a different hover effect */
}

/* Smooth scroll for all pages (recommended) */
html {
    scroll-behavior: smooth;
}

/* Style for the Back to Top Button */
.back-to-top-button {
    position: fixed; /* Makes it stick to the viewport */
    bottom: 30px;    /* Distance from the bottom of the viewport */
    right: 30px;     /* Distance from the right of the viewport */
    z-index: 1000;   /* Ensures it stays on top of other content */
    display: flex;   /* Use flexbox for easy centering of content */
    align-items: center;
    justify-content: center;
    
    background-color: var(--primary-color, #007bff); /* Your brand's primary color or a suitable color */
    color: var(--white-color, #fff); /* White text/icon color */
    width: 50px;     /* Fixed width for the button */
    height: 50px;    /* Fixed height for the button */
    border-radius: 50%; /* Makes it a perfect circle */
    text-decoration: none; /* Removes underline from the link */
    font-size: 24px; /* Size of the arrow icon */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    cursor: pointer; /* Indicates it's clickable */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease; /* Smooth fade in/out and lift */
}
.back-to-top-button.show {
    opacity: 1; /* Fully visible */
    visibility: visible; /* Make it clickable */
}

.back-to-top-button:hover {
    background-color: var(--secondary-color, #0056b3); /* Darker shade on hover */
    transform: translateY(-3px); /* Slightly lift the button on hover */
}

/* Media query for smaller screens - adjust positioning if needed */
@media (max-width: 768px) {
    .back-to-top-button {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
/* --- RESPONSIVE STYLES FOR MOBILE --- */

@media (max-width: 768px) {
    /* This media query targets screens up to 768px wide (common for tablets and phones) */

    /* Adjust the hero section container itself */
    #hero { /* Replace #hero with your actual hero section's ID or class (e.g., .hero-section) */
        padding: 80px 20px; /* Adjust vertical padding and add more horizontal padding for mobile */
        text-align: center; /* Often makes text look better centered on mobile */
        display: flex; /* If hero content is flexible */
        flex-direction: column; /* Stack items vertically */
        justify-content: center; /* Center vertically */
        align-items: center; /* Center horizontally */
    }

    /* Adjust the main headline (H1) inside the hero section */
    #hero h1 {
        font-size: 2.2em; /* Reduce font size for readability on small screens */
        line-height: 1.2; /* Adjust line height for better spacing between lines */
        margin-bottom: 15px; /* Space below the main headline */
        word-wrap: break-word; /* Ensures long words break to prevent overflow */
        overflow-wrap: break-word; /* Modern equivalent for word-wrap */
    }

    /* Adjust paragraph text (P) inside the hero section */
    #hero p {
        font-size: 1.1em; /* Reduce font size for paragraphs */
        line-height: 1.5; /* Adjust line height */
        margin-bottom: 25px; /* Space below paragraphs */
    }

    /* If your hero content is wrapped in another div (e.g., .hero-content-wrapper) */
    .hero-content-wrapper { /* Replace with your actual content wrapper class/ID */
        width: 100%; /* Ensure it takes full width */
        max-width: 100%; /* Prevent it from being too wide */
        box-sizing: border-box; /* Include padding in element's total width */
        padding: 0 15px; /* Add some internal horizontal padding */
    }

    /* If there are buttons or CTAs in the hero section */
    .hero-button-group a { /* Adjust if your button structure is different */
        display: block; /* Make buttons stack vertically */
        margin-bottom: 15px; /* Space between stacked buttons */
        width: 100%; /* Make buttons full width */
        box-sizing: border-box;
    }
}

/* Optional: For even smaller screens (e.g., very narrow phones) */
@media (max-width: 480px) {
    #hero h1 {
        font-size: 1.8em; /* Further reduce font size for very small screens */
    }
    #hero p {
        font-size: 1em; /* Further reduce font size for paragraphs */
    }
    #hero {
        padding: 60px 15px; /* Reduce overall padding */
    }
}