/* --- 1. VARIABLES & RESET --- */
:root {
    --primary: #2563EB;       /* Royal Blue (Tech/Trust) */
    --primary-dark: #1E40AF;
    --accent: #C5A059;        /* YOUR LOGO GOLD */
    --accent-light: #FDFCF5;  /* Very light cream/gold for backgrounds */
    
    --text-main: #1F2937;     /* Dark Gray/Blue for text */
    --text-light: #6B7280;    /* Softer Gray */
    
    /* THEME GRADIENTS */
    /* Soft gradient: Light Blue -> White -> Light Gold */
    --bg-theme: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 50%, #FEFCE8 100%);
    
    --white: #FFFFFF;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(197, 160, 89, 0.1); /* Gold-tinted shadow */
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-card: 0 10px 30px -5px rgba(37, 99, 235, 0.1); /* Blue-tinted lift */
    
    /* Fonts */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    /* APPLYING THE NEW THEME BACKGROUND */
    background: var(--bg-theme); 
    background-attachment: fixed; /* Keeps gradient stable while scrolling */
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- 2. UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
.text-center { text-align: center; }
.text-blue { color: var(--primary); }
.section-padding { padding: 60px 0; }

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- 3. BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-head);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border: 2px solid transparent;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- 4. HEADER (Glass Effect) --- */
header {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    backdrop-filter: blur(12px);          /* Frosted glass effect */
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

nav { display: flex; justify-content: space-between; align-items: center; }

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-img { height: 55px; width: auto; object-fit: contain; }
.logo-text-group { display: flex; flex-direction: column; justify-content: center; }
.company-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-main);
    line-height: 1.1;
}
.company-motto {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--accent); /* Gold Motto */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text-main); font-size: 0.95rem; position: relative; }
.nav-links a:not(.btn):hover { color: var(--accent); } /* Hover turns Gold */
.nav-links a:not(.btn)::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0;
    background-color: var(--accent); transition: width 0.3s;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-main); }

/* --- 5. HERO SECTION (Redesigned) --- */
.hero {
    padding: 50px 0 60px; /* Reduced top padding for better fit */
    position: relative;
    overflow: visible; /* Allow blobs to show */
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split layout: Text | Image */
    gap: 60px;
    align-items: center;
}

/* LEFT SIDE: Content */
.hero-content {
    text-align: left; /* Left align text as per image */
    position: relative;
    z-index: 5;
}

/* Update Hero Badge to match */
.hero-badge {
    /* Inherit the same style as section badges for consistency */
    background: linear-gradient(90deg, #E0F2FE 0%, #FEF9C3 100%);
    color: var(--primary);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.6);
}

.hero h1 { 
    font-size: 3.8rem; 
    margin-bottom: 20px; 
    font-weight: 800; 
    line-height: 1.15; 
    color: #111827; 
}

.hero p { 
    font-size: 1.15rem; 
    color: var(--text-light); 
    line-height: 1.6;
    margin-bottom: 35px; 
    max-width: 550px; /* Prevent line from getting too wide */
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start; /* Left align buttons */
    margin-bottom: 40px;
}

/* STATS ROW (Bottom Left) */
.hero-stats {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}
.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background-color: #10B981; }
.dot-blue { background-color: #2563EB; }
.dot-gold { background-color: #F59E0B; }

/* RIGHT SIDE: CSS Illustration (The "Card") */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* The Purple Blob Background */
.hero-blob {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: #A855F7; /* Purple */
    opacity: 0.15;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.browser-card {
    background: white;
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.15), 0 18px 36px -18px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.8);
}

/* Browser Interface Elements */
.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}
.b-dot { width: 12px; height: 12px; border-radius: 50%; }
.bd-red { background: #EF4444; }
.bd-yellow { background: #F59E0B; }
.bd-green { background: #10B981; }

/* Abstract Content Bars */
.ui-bar { height: 18px; border-radius: 10px; margin-bottom: 15px; width: 100%; }
.bar-blue-light { background: linear-gradient(90deg, #E0F2FE 0%, #BAE6FD 100%); width: 90%; }
.bar-blue-dark { background: linear-gradient(90deg, #DBEAFE 0%, #93C5FD 100%); width: 70%; }
.bar-gold { background: linear-gradient(90deg, #FEF9C3 0%, #FDE047 100%); width: 50%; }

/* Bottom Icons (Desktop/Mobile) */
.ui-icons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}
.ui-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.icon-sq {
    width: 60px; height: 60px;
    background: #EFF6FF;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.icon-sq.gold { background: #FEFCE8; color: #D97706; }
.icon-label { font-size: 0.85rem; font-weight: 600; color: var(--text-light); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .hero h1 { font-size: 2.8rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
    .hero-visual { margin-top: 50px; }
}
/* --- 6. CARDS (Common Style) --- */
.section-title-wrap { margin-bottom: 60px; text-align: center; }
/* --- UNIFIED GRADIENT BADGE STYLE (From Image) --- */
.section-badge {
    /* The Blue -> Yellow/Gold Gradient */
    background: linear-gradient(90deg, #E0F2FE 0%, #FEF9C3 100%); 
    color: var(--primary); /* Royal Blue Text */
    padding: 10px 30px;
    border-radius: 50px; /* Pill Shape */
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    
    /* Subtle Glow/Shadow */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.6);
    font-family: var(--font-head);
    letter-spacing: 0.5px;
}

.section-title { font-size: 2.8rem; color: var(--text-main); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.card {
    background: rgba(255, 255, 255, 0.8); /* Slightly transparent white */
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.6);
    transition: all 0.4s ease;
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-card); 
    border-color: var(--primary); 
    background: var(--white); /* Solid white on hover */
}

.service-icon {
    width: 70px; height: 70px;
    /* Gradient icon box: Blue to Gold tint */
    background: linear-gradient(135deg, #EFF6FF 0%, #FEFCE8 100%);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 25px;
    transition: 0.3s;
}
.card:hover .service-icon { background: var(--primary); color: var(--white); transform: rotate(5deg); }

.card ul li {
    position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-light); font-size: 0.95rem;
}
.card ul li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    color: var(--accent); /* Gold Checkmarks */
    position: absolute; left: 0; top: 4px;
}

/* --- 7. PORTFOLIO --- */
.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.5);
    transition: 0.3s;
}
.portfolio-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.portfolio-thumb {
    height: 240px;
    background: #F8FAFC;
    display: flex; align-items: center; justify-content: center;
    color: #CBD5E1;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}
.portfolio-content { padding: 30px; }
.badge { 
    background: rgba(37, 99, 235, 0.1); color: var(--primary); 
    padding: 6px 15px; border-radius: 30px; 
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    display: inline-block; margin-bottom: 15px;
}

/* --- 8. CTA BANNER --- */
.cta-banner {
    /* Gradient: Deep Blue to Darker Blue */
    background: linear-gradient(135deg, var(--primary) 0%, #172554 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}
/* Add a subtle gold glow effect behind CTA */
.cta-banner::before {
    content: ''; position: absolute; top: -50%; left: -20%; width: 50%; height: 200%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.cta-banner h2 { color: var(--white); margin-bottom: 15px; }

/* --- 9. TESTIMONIALS --- */
.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 50px;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--white);
}
.stars { color: var(--accent); margin-bottom: 20px; font-size: 1.2rem; }
.quote-text { font-size: 1.4rem; font-style: italic; color: var(--text-main); margin-bottom: 30px; line-height: 1.6; font-family: var(--font-head); }

/* --- 10. FORM --- */
.form-control {
    width: 100%; padding: 15px 20px;
    border: 1px solid #E5E7EB; border-radius: 10px;
    font-size: 1rem; font-family: var(--font-body);
    background: #FFFFFF; /* Pure white input */
    transition: 0.3s; margin-bottom: 20px;
}
.form-control:focus { 
    outline: none; border-color: var(--primary); 
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); 
}

/* --- 11. FOOTER --- */
footer { 
    background: #0B1120; /* Very Dark Blue */
    color: #94A3B8; 
    padding: 80px 0 0; font-size: 0.95rem; 
    border-top: 3px solid var(--accent); /* Gold border on top */
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid #1E293B; }
footer h3 { color: var(--white); margin-bottom: 25px; font-size: 1.2rem; }
footer a { color: #94A3B8; margin-bottom: 12px; display: block; transition: 0.3s; }
footer a:hover { color: var(--accent); transform: translateX(5px); } /* Hover Gold */
.copyright { text-align: center; padding: 30px 0; font-size: 0.9rem; color: #64748B; }

.footer-logo-container { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-logo-img { height: 45px; width: auto; filter: none; }
.footer-company-name { color: var(--white); font-size: 1.3rem; font-family: var(--font-head); font-weight: 700; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .stats-container { flex-direction: column; gap: 20px; width: 100%; padding: 20px; }
    .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } 
    .mobile-menu-btn { display: block; }
    .logo-text-group { display: none; }
}


/* --- ABOUT SECTION REDESIGN --- */

/* Stats Boxes (Blue & Gold) */
.about-stats-row {
    display: flex;
    gap: 25px;
    margin-top: 35px;
}

.stat-box {
    flex: 1;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
}

.stat-box.blue {
    background: #EFF6FF; /* Light Blue */
    border: 1px solid #DBEAFE;
}
.stat-box.blue h3 { color: var(--primary); font-size: 1.8rem; margin-bottom: 5px; }
.stat-box.blue p { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }

.stat-box.gold {
    background: #FEFCE8; /* Light Gold */
    border: 1px solid #FEF08A;
}
.stat-box.gold h3 { color: #D97706; font-size: 1.8rem; margin-bottom: 5px; }
.stat-box.gold p { color: #92400E; font-size: 0.9rem; font-weight: 500; }

/* Right Side Abstract Graphic (Pure CSS) */
.abstract-visual {
    position: relative;
    padding: 10px;
}

.abstract-card {
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 20px 40px -5px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    z-index: 2;
}

.abstract-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.abs-block {
    height: 90px;
    border-radius: 12px;
    width: 100%;
}
/* Colors from your screenshot */
.abs-blue-1 { background: linear-gradient(135deg, #BFDBFE 0%, #93C5FD 100%); }
.abs-yellow-1 { background: linear-gradient(135deg, #FEF08A 0%, #FDE047 100%); }
.abs-purple { background: linear-gradient(135deg, #E9D5FF 0%, #D8B4FE 100%); }
.abs-yellow-2 { background: linear-gradient(135deg, #FDE68A 0%, #FCD34D 100%); }
.abs-blue-2 { background: linear-gradient(135deg, #BAE6FD 0%, #7DD3FC 100%); }
.abs-pink { background: linear-gradient(135deg, #FBCFE8 0%, #F9A8D4 100%); }

/* Background Blobs for Depth */
.abs-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}
.blob-1 { width: 100px; height: 100px; background: #E0F2FE; top: -20px; right: -20px; }
.blob-2 { width: 80px; height: 80px; background: #FEF3C7; bottom: -20px; left: -20px; }

/* Values Grid (Bottom 4 cards) */
.values-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.value-card-white {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    border: 1px solid #F3F4F6;
    transition: 0.3s;
}
.value-card-white:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05); }

.val-icon {
    width: 60px; height: 60px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    background: white;
    border: 1px solid #E5E7EB;
    color: var(--primary);
}
.val-icon.blue { color: #2563EB; border-color: #BFDBFE; }
.val-icon.gold { color: #D97706; border-color: #FDE68A; }


/* --- MODERN FEATURES SECTION --- */
.modern-features-wrapper {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
    text-align: center;
    margin-top: 20px;
}

.modern-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: #F9FAFB; /* Default light gray background */
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* THE HOVER EFFECT: Light Blue -> White -> Light Yellow */
.feature-item:hover {
    background: linear-gradient(135deg, #E0F2FE 0%, #FFFFFF 50%, #FEFCE8 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    border-color: #DBEAFE;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

/* Icon turns blue on card hover */
.feature-item:hover .feature-icon {
    background: var(--primary);
    color: #FFFFFF;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #1F2937;
}

.feature-item p {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.5;
}


/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999; /* Ensures it stays on top of everything */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E; /* Darker green on hover */
    transform: scale(1.1); /* Slight zoom effect */
    color: #FFF;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Mobile Adjustment: Move it slightly closer to edge on small screens */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}