@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --secondary: #047857;
    --accent: #f59e0b;
    --background: #000000;
    --surface: #111111;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 35px 60px -15px rgba(16, 185, 129, 0.3);
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lexend', sans-serif;
}

body {
    background-color: var(--background);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.05), transparent 35%),
        radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.05), transparent 35%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

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

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--surface);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #000000;
    transition: var(--transition);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    position: relative;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

.logo img {
    height: 75px;
    width: 75px;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
    /* Logo background removal for dark theme */
    filter: brightness(1.1);
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
}

.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    z-index: 1000;
    transform: translateY(20px);
    transition: var(--transition);
}

.nav-links.active {
    display: flex;
    animation: fadeInDown 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
    display: block;
    padding: 0.5rem 0;
    text-shadow: none;
}

.nav-links li:last-child a {
    border-bottom: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    padding-left: 10px;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.cta-button:hover::after {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -5px rgba(16, 185, 129, 0.5);
}

.nav-cta {
    display: inline-flex;
}

@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }
}

/* Hero Section */
.hero, .about-hero, .services-hero, .pricing-hero, .contact-hero {
    position: relative;
    padding: 10rem 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    overflow: hidden;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    z-index: 1;
    filter: blur(50px);
}

.hero::before, .about-hero::before, .services-hero::before, .pricing-hero::before, .contact-hero::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 4rem;
    border-radius: 40px;
}

.hero-tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-image-container {
    position: relative;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 992px) {
    .hero-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

.hero-image-container img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}

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

.hero-btns {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-btns {
        justify-content: center;
    }
}

.hero p {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 2.5rem;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: #ffffff;
}

.talk-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 0.9rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
}

.talk-link i {
    color: var(--primary);
    transition: var(--transition);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.scroll-down span {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.scroll-down span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

@media (max-width: 992px) {
    .scroll-down {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem !important;
        letter-spacing: -1px;
    }
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.talk-link:hover {
    color: var(--primary) !important;
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary) !important;
}

.talk-link:hover i {
    transform: translateX(5px) scale(1.2);
}


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

.card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    background: #1a1a1a;
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(16, 185, 129, 0.2);
}

.card img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.card:hover img {
    transform: scale(1.08) !important;
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.4));
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #4b5563;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    background: #111111;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(8deg);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.1);
}

.social-icon.facebook { 
    background: rgba(24, 119, 242, 0.1); 
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.2);
}

.social-icon.instagram { 
    background: rgba(220, 39, 67, 0.1);
    color: #dc2743;
    border-color: rgba(220, 39, 67, 0.2);
}

.social-icon.tiktok { 
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.social-icon.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.tiktok:hover {
    background: #000000;
    color: white;
}

.copyright {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-gallery {
    padding: 4rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Mobile Responsive */
.mobile-menu-btn {
    display: block;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text);
    background: none;
    border: none;
    padding: 0.5rem;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.mobile-menu-btn:active {
    transform: scale(0.9);
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.contact-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.contact-float:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

/* ===== Tablet (max 1024px) ===== */
@media (max-width: 1024px) {
    nav {
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

/* ===== Mobile (max 768px) ===== */
@media (max-width: 768px) {

    /* --- Navbar --- */
    nav {
        height: 65px;
    }

    .logo {
        font-size: 1.1rem;
        letter-spacing: 0.1px;
        gap: 0.4rem;
    }

    .logo img {
        height: 50px;
        width: 50px;
    }

    .nav-links {
        /* Inherit universal menu styles */
    }

    .mobile-menu-btn {
        display: block;
        margin-left: auto;
    }

    /* nav-cta already hidden globally */

    /* --- Sections --- */
    section {
        padding: 5rem 0;
    }

    /* --- Hero --- */
    .hero {
        height: auto;
        min-height: 100svh;
        padding: 7rem 0 4rem;
        align-items: flex-start;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1,
    .hero-content h1,
    .about-hero h1,
    .services-hero h1,
    .pricing-hero h1,
    .contact-hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .hero h2,
    .hero-content h2 {
        font-size: 1.2rem !important;
        margin-top: 0.8rem !important;
    }

    .hero p,
    .hero-content p {
        font-size: 0.95rem !important;
        margin-top: 1rem !important;
    }

    .hero-content {
        padding: 2rem 1.5rem !important;
        margin: 0 1rem;
        border-radius: 20px !important;
    }

    .hero-btns {
        flex-direction: column !important;
        gap: 1.2rem !important;
        align-items: stretch !important;
        width: 100%;
    }

    .hero-btns .cta-button, 
    .hero-btns .talk-link {
        width: 100%;
        justify-content: center;
    }

    /* --- Section Headings --- */
    h2[style] {
        font-size: 1.8rem !important;
    }

    /* --- Cards Grid --- */
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem !important;
    }

    /* --- Partners --- */
    .partners > .container > div {
        gap: 1.5rem !important;
        justify-content: center !important;
        flex-wrap: wrap;
    }

    /* --- Social Gallery --- */
    .social-gallery .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    footer {
        padding: 3rem 0 1.5rem;
    }

    /* --- Floating Buttons spacing --- */
    .whatsapp-float {
        bottom: 20px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .contact-float {
        bottom: 20px;
        left: 16px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* ===== Small Mobile (max 480px) ===== */
@media (max-width: 480px) {

    .container {
        padding: 0 1.2rem;
    }

    .hero h1,
    .hero-content h1 {
        font-size: 1.8rem !important;
    }

    .hero h2,
    .hero-content h2 {
        font-size: 1rem !important;
    }

    .cta-button {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .social-gallery .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-logo {
        font-size: 1.4rem;
    }

    .logo {
        font-size: 0.95rem;
    }

    .logo img {
        height: 40px;
    }

    .copyright {
        font-size: 0.78rem;
    }
}


/* ===== Page-Specific Responsive Styles ===== */

/* About Page */
@media (max-width: 768px) {
    .about-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-hero-grid>div:last-child {
        display: none;
        /* image section hide on mobile for cleaner look */
    }

    .about-hero-grid h1 {
        font-size: 2.2rem !important;
    }

    .about-stats {
        gap: 1.5rem !important;
    }

    .culture .grid {
        grid-template-columns: 1fr !important;
    }

    /* Services Hero heading */
    .services-hero h1 {
        font-size: 2.2rem !important;
    }

    /* Services hero section padding */
    .services-hero {
        padding: 4rem 0 !important;
    }

    /* Process grid on mobile */
    .process .grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* CTA section */
    .cta .container h2 {
        font-size: 1.8rem !important;
    }

    /* Pricing header */
    .pricing-header h1 {
        font-size: 2.2rem !important;
    }

    /* Contact section h1 */
    .contact-section h1 {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {

    /* About stats wrap nicely */
    .about-stats {
        gap: 1rem !important;
    }

    /* Process grid single column on very small */
    .process .grid {
        grid-template-columns: 1fr !important;
    }

    /* Services hero */
    .services-hero h1 {
        font-size: 1.8rem !important;
    }

    /* Mission section heading */
    .mission h2 {
        font-size: 1.8rem !important;
    }
}