/* Clean Reset & Global Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #334155;
    padding-top: 80px; /* Prevents header menu from overlapping content */
    line-height: 1.6;
}

/* Layout Grid Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.small-container {
    max-width: 800px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8fafc;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: #1e3a8a;
    margin-bottom: 25px;
    font-weight: 700;
}

/* NAVIGATION BAR STYLING */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: 0.5px;
}

.nav-menu a {
    text-decoration: none;
    color: #475569;
    margin: 0 18px;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #0284c7;
}

.nav-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
}

.social-icon.linkedin:hover { background-color: #0077b5; color: #ffffff; }
.social-icon.facebook:hover { background-color: #1877f2; color: #ffffff; }
.social-icon.instagram:hover { background-color: #e1306c; color: #ffffff; }


/* 1. HOME / HERO SECTION STYLING */
.hero-section {
    background-image: url('https://images.unsplash.com/photo-1516574187841-cb9cc2ca948b?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    min-height: 450px;
}

.hero-overlay {
    background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(15, 23, 42, 0.9));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 850px;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    background-color: #0284c7;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.btn-cta:hover {
    background-color: #0369a1;
}


/* 2. ABOUT SECTION STYLING */
.about-text {
    font-size: 17px;
    color: #475569;
    line-height: 1.8;
    text-align: justify; /* Aligns text cleanly on both left and right edges */
    max-width: 700px;    /* Keeps the block from stretching too wide on big screens */
    margin: 0 auto;      /* Centers the whole text block on the page */
}


/* 3. SERVICES SECTION STYLING */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 35px 25px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 28px;
    color: #0284c7;
    margin-bottom: 20px; 
}

.service-card h3 {
    font-size: 20px;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: #64748b;
}


/* 4. CONTACT SECTION STYLING */
.contact-subtitle {
    color: #64748b;
    margin-top: -15px;
    margin-bottom: 40px;
    font-size: 15px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.contact-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.contact-card i {
    font-size: 24px;
    color: #0284c7;
    margin-bottom: 15px;
}

.contact-card h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 15px;
    color: #475569;
    word-break: break-word;
}


/* FOOTER SECTION STYLING */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 25px 0;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}


/* MOBILE RESPONSIVENESS ADJUSTMENTS */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .nav-menu a {
        margin: 0 10px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 15px;
    }
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}