/* ===== CSS VARIABLES & DESIGN SYSTEM ===== */
:root {
    /* Color Palette - Professional, Trustworthy */
    --primary: #0A2540;      /* Deep Trust Blue */
    --secondary: #2B6CB0;    /* Action Blue */
    --accent: #E2E8F0;       /* Soft Gray Backgrounds */
    --text-main: #1A202C;    /* Very Dark Gray for text */
    --text-muted: #4A5568;   /* Medium Gray for subtext */
    --white: #FFFFFF;
    --border: #CBD5E0;
    --whatsapp-green: #25D366;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Layout */
    --transition: 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===== RESET & GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: #F8FAFC;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.underline {
    height: 4px;
    width: 60px;
    background-color: var(--secondary);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #1A365D; /* Darker blue */
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.ca-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-main);
    font-weight: 500;
}

.nav-links li a:not(.btn):hover {
    color: var(--secondary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn .bar {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn .bar:nth-child(1) { top: 0; }
.mobile-menu-btn .bar:nth-child(2) { top: 10px; }
.mobile-menu-btn .bar:nth-child(3) { top: 20px; }

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 80px; /* Offset for fixed header */
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1A365D 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Add a subtle geometric background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    color: #E2E8F0;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}

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

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
}

.designation {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.core-values {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.value-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.value-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--accent);
    border-radius: var(--border-radius);
    background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee), 
                      linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border: 1px solid var(--border);
}

.office-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-top-color: var(--secondary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #EBF8FF;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-item h4 {
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.info-item p {
    color: var(--text-muted);
}

.info-item a:hover {
    color: var(--secondary);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.form-disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #A0AEC0;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding-top: 4rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.footer-brand p {
    color: #CBD5E0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #E2E8F0;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #A0AEC0;
    font-size: 0.9rem;
}

.footer-bottom .disclaimer {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20C05C;
}

.floating-whatsapp svg {
    width: 35px;
    height: 35px;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: -1;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 1rem;
        border-radius: 0;
    }
    
    .nav-links li a.btn {
        margin: 1rem auto;
        width: 80%;
    }
    
    .hero {
        padding: 4rem 0;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
