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

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: #e0e0e0; /* Changed from #000 to light grey */
    color: #888;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 0.5rem 5%; /* Reduced from 1rem to 0.5rem */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(136, 136, 136, 0.1);
}

.logo {
    height: 120px;      /* Big logo */
    width: auto;
    margin-top: -30px;  /* Pulls the logo upward, outside navbar */
    margin-bottom: -30px; /* Optional: balances vertical alignment */
    filter: brightness(0.8);
    transition: all 0.3s ease;
}

.logo:hover {
    filter: brightness(1);
}

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

.nav-links a {
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
    /* Remove background or box-shadow if present */
}

/* Remove underline animation from nav links */
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #888; /* Subtle gray underline */
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus::after {
    width: 80%;
    background: #aaa; /* Slightly lighter on hover */
}

.nav-cta {
    background: rgba(136, 136, 136, 0.2);
    color: #fff !important; /* Make text white for contrast */
    /* Remove or soften background-color */
    background-color: #222; /* Use a dark gray instead of #888 */
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    background: rgba(136, 136, 136, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(136, 136, 136, 0.3);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #888;
    margin: 3px 0;
    transition: 0.4s;
    border-radius: 2px;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section Styles */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: flex-start; /* Change from flex-start to flex-end */
    padding: 120px 5% 50px; /* Add bottom padding to create space */
    position: relative;
}

.hero-content {
    max-width: 650px;
    text-align: left;
    animation: slideInFromLeft 1.2s ease-out;
    margin-top: 0; /* Remove any top margin if present */
    padding-top: 0; /* Remove any top padding if present */
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-family: 'Cossette Texte', sans-serif;
    font-size: 3.5rem;
    color: #e0e0e0; /* Changed from #fff to light grey */
    line-height: 1.2;
    margin-bottom: 2rem; /* Add space between title and subtitle */
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #aaa;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-top: 1rem; /* Additional top spacing */
}

.cta-button {
    background: linear-gradient(90deg, #ff7e5f, #feb47b); /* Gradient background */
    color: #fff; /* White text for contrast */
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 50px; /* Rounded button */
    padding: 1rem 2.5rem; /* Larger padding for better visibility */
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.4); /* Subtle shadow */
    transition: all 0.3s ease;
    text-decoration: none; /* Remove underline */
    letter-spacing: 1px;
    display: inline-block;
}

.cta-button:hover,
.cta-button:focus {
    background: linear-gradient(90deg, #feb47b, #ff7e5f); /* Reverse gradient on hover */
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.6); /* Enhance shadow */
    transform: scale(1.05); /* Slight zoom effect */
    text-decoration: none; /* Ensure no underline on hover */
}

/* Services Section Styles */
.services {
    padding: 10rem 5% 8rem;
    background: linear-gradient(135deg, #111 0%, #000 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(136, 136, 136, 0.3), transparent);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #888, #aaa, #888);
    border-radius: 2px;
}

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

.service-card {
    background: rgba(136, 136, 136, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(136, 136, 136, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(136, 136, 136, 0.1), transparent);
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 20px;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    background: rgba(136, 136, 136, 0.12);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(136, 136, 136, 0.2),
        0 0 0 1px rgba(136, 136, 136, 0.1);
    border-color: rgba(136, 136, 136, 0.4);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-card p {
    line-height: 1.8;
    color: #bbb;
    font-size: 1.05rem;
}

/* Story Section Styles */
.story {
    padding: 8rem 5%;
    background: #000;
    position: relative;
}

.story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(136, 136, 136, 0.3), transparent);
}

.story-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.story-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.story-content h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    bottom: -15px;
    left: 0;
    background: linear-gradient(90deg, #888, #aaa, #888);
    border-radius: 2px;
}

.story-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #aaa;
    margin-bottom: 2rem;
    text-align: justify;
}

.story-text:last-of-type {
    margin-bottom: 0;
}

/* Footer Styles */
.footer {
    padding: 6rem 5% 3rem;
    background: linear-gradient(135deg, #111 0%, #000 100%);
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(136, 136, 136, 0.3), transparent);
}

.footer-cta {
    margin-bottom: 4rem;
}

.footer-cta h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.social-links a {
    color: #fff; /* Default white color for icons */
    font-size: 1.5rem; /* Adjust size */
    margin: 0 1rem; /* Add spacing between icons */
    transition: color 0.3s ease;
}

/* App-specific hover colors without glow/shadow */
.social-links a[aria-label="Instagram"]:hover {
    color: #E1306C; /* Instagram pink */
}

.social-links a[aria-label="Facebook"]:hover {
    color: #1877F2; /* Facebook blue */
}

.social-links a[aria-label="LinkedIn"]:hover {
    color: #0A66C2; /* LinkedIn blue */
}

.social-links a[aria-label="WhatsApp"]:hover {
    color: #25D366; /* WhatsApp green */
}

.contact-info {
    margin: 3rem 0;
    color: #aaa;
    font-size: 1.1rem;
}

.contact-info p {
    margin: 0.8rem 0;
}

.contact-info a {
    color: #fff; /* Match footer text color */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ff7e5f; /* Add hover color for interactivity */
}

.copyright {
    border-top: 1px solid rgba(136, 136, 136, 0.2);
    padding-top: 2rem;
    margin-top: 3rem;
    color: #666;
    font-size: 1rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding-top: 150px; /* Add more space between navbar and hero content */
    }

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

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

    .navbar {
        padding: 1rem 5%;
    }

    .services {
        padding: 6rem 5%;
    }

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

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

    .story {
        padding: 6rem 5%;
    }

    .story-content h2 {
        font-size: 2.5rem;
    }

    .footer-cta h2 {
        font-size: 2rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero {
        display: flex !important;
        align-items: flex-start !important; /* Align items to the top */
        justify-content: center !important; /* Center items horizontally */
        padding: 20px 4% 50px !important; /* Adjust top padding for slight top-left positioning */
        background-attachment: scroll;
    }

    .hero-content {
        max-width: 90%; /* Ensure content doesn't stretch too wide */
        text-align: left; /* Align text to the left */
    }

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

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

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .navbar {
        padding: 1rem 4%;
    }

    .services, .story, .footer {
        padding-left: 4%;
        padding-right: 4%;
    }

    .service-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .story-content h2 {
        font-size: 2.2rem;
    }

    .footer-cta h2 {
        font-size: 1.8rem;
    }
}

/* Animations and Scroll Effects */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.nav-links a:focus {
    outline: none;
    /* Optional: add a subtle shadow or underline if you want */
}

.stroke-text {
    font-family: 'Cossette Texte', sans-serif;
    font-size: 3.5rem;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 2px black;
    background: linear-gradient(90deg, black, grey, black);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: stroke-move 3s linear infinite;
    display: inline-block;
}

@keyframes stroke-move {
    0% { 
        background-position: 0% center; 
    }
    100% { 
        background-position: 200% center; 
    }
}

/* Update hero title for consistency */
.hero-title {
    font-size: 3.5rem;
    color: #e0e0e0; /* Changed from #fff to light grey */
    line-height: 1.2;
    margin-bottom: 2rem; /* Add space between title and subtitle */
}