/* --- Design System & Base Styles --- */
:root {
    --primary: #0a4da2;
    --primary-light: #1e70d4;
    --secondary: #00d2ff;
    --accent: #f0f4f8;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 30px -10px rgba(10, 77, 162, 0.1);
    --shadow-hover: 0 20px 40px -15px rgba(10, 77, 162, 0.15);
    --border-radius: 16px;
    --preloader-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* --- Layout Utilities --- */
.flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 77, 162, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* --- Animation Classes --- */
.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-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* --- Preloader Styles --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--preloader-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease-out, visibility 0.6s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    animation: preloader-pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 120px;
    height: 3px;
    background: rgba(10, 77, 162, 0.1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    animation: loader-slide 1s linear infinite;
}

@keyframes preloader-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes loader-slide {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* --- Navbar --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-symbol {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

.logo-main {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero Section --- */
.hero-section {
    padding: 160px 0 80px;
    background: radial-gradient(circle at 90% 10%, rgba(30, 112, 212, 0.05) 0%, transparent 40%);
    overflow: hidden;
}

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

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(10, 77, 162, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 .highlight {
    color: var(--primary);
    position: relative;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust .stars {
    color: #ff9d00;
    margin-right: 8px;
}

.hero-trust .rating {
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-img {
    transform: perspective(1000px) rotateY(0deg);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: floating 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary);
}

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



/* --- Trust Bar --- */
.trust-bar {
    padding: 30px 0;
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trust-flex {
    flex-wrap: wrap;
    gap: 30px;
}

.trust-flex span {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.usp-item i {
    color: var(--primary);
}

/* --- Section Headers --- */
.section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

.sub-heading {
    display: inline-block;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(10, 77, 162, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.service-card:hover .icon-box {
    background: var(--primary);
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card:hover .icon-box i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

/* --- About Section --- */
.about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.rounded-30 { border-radius: 30px; }
.shadow { box-shadow: 0 20px 50px rgba(0,0,0,0.1); }

.stat-card {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 25px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(10, 77, 162, 0.3);
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.stat-card span {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

.check-list {
    margin: 30px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.check-list i {
    color: var(--primary);
}

.mt-30 { margin-top: 30px; }

/* --- Why Choose Us --- */
.feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    padding: 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-item h3 {
    margin-bottom: 15px;
}

.mt-60 { margin-top: 60px; }
.bg-light { background-color: var(--bg-light); }

/* --- Testimonials --- */
.reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.02);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-header .stars {
    color: #ff9d00;
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.review-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
}

.reviewer strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
}

.reviewer span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

/* --- Video Section --- */
.bg-dark-blue { background-color: #051937; }
.text-white { color: var(--white); }
.white { color: var(--white) !important; }
.opacity-7 { opacity: 0.7; }

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

.video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.video-wrapper {
    position: relative;
    padding-bottom: 177.77%; /* 9:16 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mt-40 { margin-top: 40px; }

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #051937 100%);
    padding: 100px 0;
}

.white-bg {
    background-color: var(--white) !important;
    color: var(--primary) !important;
}

.white-bg:hover {
    background-color: var(--accent) !important;
    transform: translateY(-2px);
}

/* --- Contact Section --- */
.contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(10, 77, 162, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.map-wrapper {
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* --- Footer --- */
.footer {
    background-color: #030a1a;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand .logo-main { color: var(--white); }

.opacity-7 { opacity: 0.7; }

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-contact p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.5;
}

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

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

/* --- Responsive Layouts --- */
@media (max-width: 991px) {
    html, body { overflow-x: hidden; width: 100%; }
    
    .section-padding { padding: 60px 0; }
    
    /* Header */
    header { padding: 15px 0; }
    .d-none-mobile { display: none; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 999;
        transition: var(--transition-smooth);
    }
    
    .nav-links.active { right: 0; }
    .mobile-toggle { display: flex; z-index: 1000; }

    /* Hero */
    .hero-section { padding: 120px 0 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 30px; }
    .hero-btns { justify-content: center; }
    .hero-img { transform: none; max-width: 100%; }
    .hero-image-wrapper { margin-top: 40px; }
    .floating-card { left: 50%; transform: translateX(-50%); bottom: -20px; width: 90%; max-width: 280px; }

    /* Trust Bar */
    .trust-flex { justify-content: center; gap: 20px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .stat-card { right: 50%; transform: translateX(50%); bottom: -20px; }

    /* Other Grids */
    .feature-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    
    @keyframes floating {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-10px); }
    }
}

@media (max-width: 768px) {
    .section-header h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .trust-flex { flex-direction: column; align-items: flex-start; }
    .gallery-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
}
