@import url(config.css);

/* Base Styling */
:root {
    --color-primary: #0e4a8c; /* Dark Blue */
    --color-secondary: #00bcd4; /* Ice Blue/Accent */
    --color-light: #eaf1f7; /* Very Light Blue Background */
    --color-text: #333333;
    --color-white: #ffffff;
    --font-inter: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--p);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light);
    
}

/* Header Styling */


/* Main Content - REMOVED max-width to allow full horizontal stretch */
main {
    margin: 20px 0; /* Only vertical margin */
    padding: 0; /* Removed horizontal padding, now handled by inner sections */
}

/* Hero Section - Stretches full width because 'main' is now full width */
.hero {
    background: linear-gradient(135deg, var(--color-primary), #1a73e8);
    color: var(--color-white);
    padding: 7rem 2rem;
    margin-top: -30px;
    border-radius: 0; /* Removed border radius on hero for full width look */
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero-content {
    width: 100%; /* Constraint applied to inner content */
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--heading);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px; /* Constrain paragraph width */
    margin: 0 auto 30px auto;
    font-weight: 300;
    color:black ;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2),inset 0 0 10px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: #5ed6e7; /* Lighter ice blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Image Showcase Section - NOW CONSTRAINED AND CENTERED */
.image-showcase {
    background-color: var(--color-white);
    padding: 30px 5%; /* Side padding for mobile safety */
    margin: 0 auto 40px auto;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    animation: fadeIn 1.2s ease-out 0.5s forwards; 
    opacity: 0; 
    max-width: 1200px; /* ADDED: Constrain width */
}

.image-showcase h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.image-showcase img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    display: block; 
    margin: 0 auto;
}

.image-showcase img:hover {
    transform: scale(1.02); /* Image hover animation */
}


/* Services Grid - NOW CONSTRAINED AND CENTERED */
.services-grid {
    max-width: 1200px; /* ADDED: Constrain width */
    margin: 0 auto; /* ADDED: Center the grid */
    padding: 20px 5%; /* Added padding for mobile safety and spacing */
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Service Card Styling */
.service-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--color-secondary);
}

/* Card Hover Animation */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    height: 85px;
    color: var(--color-primary);
    font-family: var(--heading);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #555;
}

/* Icon Placeholder (using simple CSS shapes/emoji) */
.icon {
    width: 80px;
    height: 80px;
    background: rgba(33, 103, 188, 0.3);
    box-shadow: 2px 2px 4px rgba(32, 31, 31, 0.2),inset 0 0 10px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    color: #1a365d;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: 0.5s;
}

.service-card:hover .icon {
    transform: scale(1.1) rotate(5deg); /* Subtle icon animation on card hover */
    color: var(--color-primary);
}

/* Simple Keyframe Animation for fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Styling - Now spans full width with constrained content */
footer {
    text-align: center;
    padding: 20px 5%;
    margin-top: 50px;
    border-top: 1px solid #cce0f0;
    background-color: var(--color-white);
    font-size: 0.85rem;
    color: #777;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Media Queries for small screens (Responsiveness) */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero {
        padding: 100px 5%;
    }
    .services-grid {
        grid-template-columns: 1fr; /* Stack cards on top of each other */
    }
}

/* @media (max-width: 480px) {
    header {
        padding: 10px 5%;
    }
    .logo {
        font-size: 1.3rem;
    }
    .service-card {
        padding: 25px;
    }
    /* Added for better readability on small devices */
    /* .service-card p {
        font-size: 0.9rem; 
    }
 } */ 
