/* root Variables - நிறங்களை எளிதாக மாற்ற */
:root {
    --primary-blue: #1a2a6c;
    --secondary-red: #b21f1f;
    --accent-gold: #f1c40f;
    --white: #ffffff;
    --light-bg: #f4f7f6;
    --text-dark: #333;
    --text-gray: #666;
    --transition: 0.3s ease;
}

/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Mukta Malar', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: var(--primary-blue);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.logo-text {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 42, 108, 0.8), rgba(178, 31, 31, 0.6)), 
                url('https://images.unsplash.com/photo-1582408921715-18e7806367c1?auto=format&fit=crop&w=1350&q=80'); 
    height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 800px;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.4s;
    font-size: 0.9rem;
    display: inline-block;
}

.btn-gold {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(241, 196, 15, 0.5);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Sections Common */
.welcome, .features, .services-section {
    padding: 80px 10%;
    text-align: center;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
}

.section-title .bar {
    width: 70px;
    height: 4px;
    background: var(--secondary-red);
    margin: 15px auto 40px;
    border-radius: 2px;
}

/* Stats Section */
.stats {
    background: var(--primary-blue);
    display: flex;
    justify-content: space-around;
    padding: 60px 5%;
    color: var(--white);
    flex-wrap: wrap;
    gap: 30px;
}

.stat-box {
    text-align: center;
    min-width: 200px;
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.stat-box h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

/* Feature & Service Cards */
.feature-container, .service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-card, .service-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover, .service-box:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--secondary-red);
}

.feature-card i, .service-box i {
    font-size: 2.8rem;
    color: var(--secondary-red);
    margin-bottom: 20px;
}

.feature-card h3, .service-box h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* Footer */
footer {
    background: #0a1128;
    color: var(--white);
    padding: 60px 5% 30px;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--accent-gold);
}

.social-links {
    margin: 25px 0;
}

.social-links a {
    color: var(--white);
    font-size: 1.4rem;
    margin: 0 12px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-gold);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }

    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-links a {
        margin-left: 0;
        margin: 0 10px;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .stats {
        flex-direction: column;
    }
}