@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    --bg-color: #f4f7f6;
    --text-main: #1e293b;
    --text-light: #64748b;
    --primary: #1e3a8a; /* Deep Royal Blue */
    --secondary: #d97706; /* Amber Gold */
    --white: #ffffff;
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 30px 60px rgba(30, 58, 138, 0.2); /* Enhanced 3D Shadow */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; background-color: var(--bg-color); color: var(--text-main); overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); }

/* Top Navbar (Clean 3D White) */
.navbar {
    display: flex; justify-content: space-between; align-items: center; padding: 15px 8%;
    background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100;
}

/* Image Logo CSS */
.navbar .logo { display: flex; align-items: center; text-decoration: none; }
.navbar .logo img { max-height: 65px; width: auto; object-fit: contain; transition: transform 0.3s ease; }
.navbar .logo img:hover { transform: scale(1.05); }

.nav-links { display: flex; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; margin-left: 30px; font-weight: 600; font-size: 0.95rem; transition: 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 3px; background: var(--secondary); bottom: -5px; left: 0; transition: 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hamburger Menu Icon (Hidden on Desktop) */
.menu-toggle { display: none; font-size: 32px; color: var(--primary); cursor: pointer; transition: transform 0.3s; }
.menu-toggle:hover { color: var(--secondary); transform: scale(1.1); }

/* Layout & Typography */
.container { padding: 80px 8%; flex: 1; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
p { font-size: 1.1rem; line-height: 1.8; color: var(--text-light); margin-bottom: 20px; }

/* Enhanced 3D Buttons */
.btn {
    padding: 15px 40px; background: linear-gradient(135deg, var(--primary), #2563eb); color: var(--white); border-radius: 8px; text-decoration: none; font-weight: 700;
    display: inline-block; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3); border: none; cursor: pointer;
}
.btn:hover { background: linear-gradient(135deg, var(--secondary), #f59e0b); box-shadow: 0 15px 35px rgba(217, 119, 6, 0.4); transform: translateY(-5px) scale(1.02); }

/* Enhanced 3D Cards */
.card-3d {
    background: var(--white); border-radius: 20px; padding: 40px; box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); border-top: 4px solid transparent;
    transform-style: preserve-3d;
}
.card-3d:hover { border-top: 4px solid var(--secondary); box-shadow: var(--hover-shadow); transform: translateY(-12px); }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.service-card { text-align: center; padding: 35px 20px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--primary); }
.service-card .price { font-size: 2rem; font-weight: 900; color: var(--secondary); margin-bottom: 20px; }

/* Banner / CTA */
.cta-banner { background: linear-gradient(135deg, var(--primary), #1e40af); color: var(--white); text-align: center; padding: 80px 20px; border-radius: 20px; margin: 60px 8%; box-shadow: 0 20px 40px rgba(30,58,138,0.4); border: 1px solid rgba(255,255,255,0.1); }
.cta-banner h2 { color: var(--white); font-size: 2.8rem; margin-bottom: 20px; }
.cta-banner p { color: #cbd5e1; max-width: 700px; margin: 0 auto 30px; }

/* Floating WhatsApp */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; background-color: #25d366; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0px 10px 30px rgba(37, 211, 102, 0.4); z-index: 1000; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.whatsapp-float:hover { transform: scale(1.15) rotate(-5deg); box-shadow: 0px 15px 35px rgba(37, 211, 102, 0.6); }
.whatsapp-float img { width: 35px; height: 35px; filter: brightness(0) invert(1); }

/* Premium Dark Footer */
.footer { background: #0f172a; padding: 60px 8% 20px; margin-top: auto; color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h3 { color: var(--white); margin-bottom: 20px; font-size: 1.4rem; }
.footer p, .footer a { color: #94a3b8; text-decoration: none; line-height: 1.8; display: block; margin-bottom: 10px; transition: 0.3s; }
.footer a:hover { color: var(--secondary); padding-left: 8px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #64748b; font-size: 0.9rem; }


/* =========================================
   MOBILE & TABLET RESPONSIVE INTERFACE 
========================================= */

/* Tablets & Small Laptops */
@media screen and (max-width: 992px) {
    .container { padding: 60px 5%; }
    .grid-2 { gap: 30px; }
    h1 { font-size: 3.2rem; }
    .cta-banner { margin: 40px 5%; padding: 60px 20px; }
}

/* Mobile Phones (Hamburger Activated Here) */
@media screen and (max-width: 768px) {
    /* Navbar Adjustment */
    .navbar { padding: 15px 5%; }
    
    /* Make Logo slightly smaller on mobile */
    .navbar .logo img { max-height: 50px; }
    
    /* Show Hamburger Icon */
    .menu-toggle { display: block; }
    
    /* Hide normal links and style for 3D Mobile Dropdown */
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column;
        background: var(--white); box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        padding: 0; max-height: 0; overflow: hidden; opacity: 0; transition: all 0.4s ease-in-out;
        border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; z-index: 99;
    }
    
    /* When active class is added via JS, menu opens smoothly */
    .nav-links.active { max-height: 400px; opacity: 1; padding: 20px 0; }
    
    .nav-links a { margin: 10px 0; font-size: 1.1rem; text-align: center; width: 100%; padding: 10px 0; }
    .nav-links a::after { display: none; } /* Hide underline effect on mobile */
    .nav-links a:hover, .nav-links a.active { background: rgba(30, 58, 138, 0.05); color: var(--secondary); }

    /* Typography Scaling */
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2.2rem; }
    p { font-size: 1rem; }

    /* Grid Adjustment */
    .grid-2 { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-text h1, .hero-text h2 { text-align: center; }
    .services-grid { grid-template-columns: 1fr; }

    /* CTA Banner */
    .cta-banner { margin: 40px 5%; padding: 40px 20px; }
    .cta-banner h2 { font-size: 2rem; }

    /* Footer Adjustment */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer p, .footer a { justify-content: center; align-items: center; }

    /* WhatsApp Button Scaling */
    .whatsapp-float { width: 55px; height: 55px; bottom: 20px; right: 20px; }
    .whatsapp-float img { width: 30px; height: 30px; }
}