/* Design System & Variables */
:root {
    --primary: #0066cc;
    --primary-dark: #004c99;
    --secondary: #40c4ff;
    --accent: #ffeb3b; 
    --bg-light: #ffffff;
    --bg-surface: #f8faff;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 102, 204, 0.12);
    --shadow-lg: 0 15px 40px rgba(0, 102, 204, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container: 1200px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Base Stylings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 100px 20px;
    max-width: var(--container);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.sub-heading {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px; /* Increased for better spacing */
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--primary-dark);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: #f0f7ff;
    transform: translateY(-3px);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrap img {
    height: 45px;
    width: auto;
}

.logo-text {
    line-height: 1;
}

.logo-text .main-name {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text .caption {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 600;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    color: var(--text-main);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
    animation: floating 6s ease-in-out infinite;
}

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

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Trust Bar */
.trust-bar {
    padding: 40px 0;
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.trust-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    text-align: center;
}

.trust-item h3 {
    font-size: 2.2rem;
    color: var(--primary);
}

.trust-item p {
    font-weight: 600;
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 204, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
}

.service-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.service-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    aspect-ratio: 1/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Video Section */
.video-section {
    background: var(--bg-surface);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 9/16;
    position: relative;
}

.video-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    padding: 80px 20px 40px;
    background: #001a33;
    color: white;
}

.footer-content {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo .main-name {
    color: white;
    font-size: 1.8rem;
}

.footer-links h4 {
    margin-bottom: 25px;
    color: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Responsive Layouts */

/* Tablet & Smaller Desktop (Header sync) */
@media (max-width: 1100px) {
    header {
        background: white !important;
        padding: 15px 0;
        box-shadow: var(--shadow-sm);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        padding: 40px 20px;
        gap: 30px;
        text-align: center;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        z-index: 1000;
        animation: slideDown 0.4s ease forwards;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links ul {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-cta {
        margin-right: 40px; /* Space for the toggle */
    }
}

/* Tablet Stacking & Image Visibility */
@media (max-width: 1025px) {
    .nav-cta {
        margin-right: 50px;
    }

    .hero {
        height: auto;
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto 35px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        display: block !important; /* Ensure visibility */
        max-width: 500px;
        margin: 0 auto;
        order: 2;
    }

    .hero-content {
        order: 1;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        border-radius: var(--radius-md);
    }

    .trust-content {
        justify-content: center;
        gap: 40px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 80px 20px;
    }
}

/* Mobile Portrait */
@media (max-width: 768px) {
    .nav-cta {
        display: none; /* Hide button in header, show in menu if needed or just use FAB */
    }

    .hero-content h1 {
        font-size: 2.22rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .trust-item h3 {
        font-size: 1.8rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 20px;
    }
}

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