/* --- STYLES FOR INDEX.HTML --- */

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0A2342;
    --secondary-color: #f8f9fa; /* A slightly different grey for variety */
    --accent-color: #FFC400;
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --border-color: #e0e0e0;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

/* Base styles */
body { margin: 0; font-family: var(--body-font); color: var(--text-color); line-height: 1.6; background-color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--heading-font); color: var(--primary-color); margin-top: 0; }
a { text-decoration: none; color: var(--primary-color); transition: color 0.3s ease; }
a:hover { color: var(--accent-color); }
img { max-width: 100%; height: auto; display: block; }

/* Animation */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- Shared Header & Navigation --- */
.main-header { background: var(--light-text-color); box-shadow: 0 2px 5px rgba(0,0,0,0.1); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--heading-font); font-size: 1.8rem; font-weight: 700; color: var(--primary-color); }
.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; }
.main-nav ul li { margin-left: 30px; }
.main-nav ul li a { font-weight: 600; padding: 5px 0; border-bottom: 2px solid transparent; }
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--primary-color); border-bottom-color: var(--accent-color); }

/* --- Shared Buttons --- */
.cta-button { background: var(--primary-color); color: var(--light-text-color); padding: 14px 30px; border-radius: 5px; font-weight: 600; display: inline-block; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 1rem; text-align: center; }
.cta-button:hover { background: #004385; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.cta-button-accent { background: var(--accent-color); color: var(--primary-color); font-weight: 700; }
.cta-button-accent:hover { background: #ffd54f; }

/* --- Hero Section --- */
.hero { background-image: linear-gradient(rgba(10, 35, 66, 0.75), rgba(10, 35, 66, 0.75)), url('1920x1000.jpg'); background-size: cover; background-position: center; color: var(--light-text-color); text-align: center; padding: 180px 0; animation: fadeIn 1s ease-out; }
.hero-title { font-size: 4rem; font-weight: 900; color: var(--light-text-color); margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.3rem; max-width: 650px; margin: 0 auto 40px auto; opacity: 0.9; }

/* --- Stats Section --- */
.stats-section { padding: 60px 0; background-color: #fff; border-bottom: 1px solid var(--border-color); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.stat-card { text-align: center; }
.stat-number { font-size: 3.5rem; font-weight: 900; color: var(--accent-color); line-height: 1; }
.stat-title { font-size: 1.1rem; font-weight: 600; color: var(--primary-color); }

/* --- Services Overview Section --- */
.services-overview { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.services-image img { border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.section-tag { display: inline-block; color: var(--accent-color); font-family: var(--heading-font); font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.services-content h2 { text-align: left; font-size: 2.8rem; margin-bottom: 20px; }
.services-content p { margin-bottom: 30px; font-size: 1.1rem; color: #555; }
.service-list { list-style: none; padding: 0; }
.service-list li { padding-left: 30px; position: relative; margin-bottom: 15px; font-size: 1.1rem; font-weight: 600; }
.service-list li::before { content: '✔'; color: var(--accent-color); position: absolute; left: 0; font-weight: bold; }

/* --- Featured Projects Section --- */
.featured-projects { padding: 100px 0; background-color: var(--secondary-color); }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 50px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.07); transition: all 0.3s ease; }
.project-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.project-card img { width: 100%; display: block; border-bottom: 4px solid var(--accent-color); }
.project-info { padding: 25px; }
.project-info h3 { margin-bottom: 5px; font-size: 1.3rem; }
.project-info p { color: #666; margin-bottom: 20px; }
.project-link { font-weight: 600; }

/* --- Home CTA Section --- */
.home-cta-section { background-color: var(--primary-color); color: var(--light-text-color); text-align: center; padding: 80px 0; }
.home-cta-section h2 { color: var(--light-text-color); font-size: 2.8rem; margin-bottom: 15px; }
.home-cta-section p { color: #a9b8cc; font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px auto; }

/* --- Shared Footer --- */
.main-footer { background: var(--primary-color); color: #e0e0e0; padding: 60px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h3, .footer-col h4 { color: var(--light-text-color); font-family: var(--heading-font); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #e0e0e0; }
.footer-col ul li a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; border-top: 1px solid #2a4a75; padding-top: 20px; font-size: 0.9rem; color: #a9b8cc; }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .main-nav { display: none; } /* Basic mobile consideration; a real site would need JS for a menu button */
}
.hero-heading-with-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-heading-with-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
