/* Base Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #1a252f;
}

/* Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar .logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #2c3e50;
}

.navbar nav ul {
    display: flex;
    list-style: none;
}

.navbar nav ul li {
    margin-left: 20px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: #3498db;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 800px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

/* About Section */
.about-section {
    background-color: #fff;
    text-align: center;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* Sectors Grid */
.sectors-section {
    background-color: #f4f6f7;
}

.subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #7f8c8d;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sector-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.sector-card:hover {
    transform: translateY(-5px);
}

.sector-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.sector-card.full-width {
    grid-column: 1 / -1;
    background-color: #2c3e50;
    color: #fff;
}

.sector-card.full-width h3 {
    color: #fff;
}

/* Contact Section */
.contact-section {
    background-color: #fff;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }
    .navbar nav ul {
        margin-top: 10px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
/* Downloads Section */
.downloads-section {
    background-color: #ffffff;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.download-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Make the Main Profile card stand out visually */
.download-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    padding: 35px;
}

.download-card.featured h3 {
    color: #fff;
    font-size: 1.6rem;
}

.download-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.download-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.download-card.featured p {
    color: #ecf0f1;
    max-width: 600px;
    margin: 0 auto 20px;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Secondary Button Style for specific sectors */
.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: #fff;
}

.download-btn {
    align-self: center;
}
/* ==========================================================================
   Mobile-Responsive Styles (Screens under 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Reset Global Container Padding */
    .container {
        padding: 50px 20px; /* Reduces excessive vertical space on mobile */
    }

    /* 2. Responsive Navigation Bar */
    .navbar {
        position: static; /* Prevents the menu from stealing valuable screen height */
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }

    .navbar nav ul {
        flex-wrap: wrap; /* Allows menu links to wrap nicely to a second line if needed */
        justify-content: center;
        gap: 15px;
    }

    .navbar nav ul li {
        margin-left: 0; /* Clears desktop spacing layouts */
    }

    /* 3. Scale Down Hero Typography */
    .hero-section {
        height: auto;
        min-height: 80vh; /* Ensures it looks like a hero section but adapts to long text */
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 2rem; /* Shrinks huge title text so it doesn't break into single letters */
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* 4. Smooth Section Titles */
    h2 {
        font-size: 1.8rem;
    }

    /* 5. Mobile Grid Layouts */
    .sectors-grid, 
    .downloads-grid {
        grid-template-columns: 1fr; /* Forces cards into a clean, single vertical column */
        gap: 20px;
    }

    /* 6. Form Optimizations */
    .contact-form {
        padding: 0 10px;
    }

    .contact-form input, 
    .contact-form select, 
    .contact-form textarea {
        font-size: 16px; /* CRITICAL: Prevents iOS Safari from auto-zooming in on text inputs */
    }
}
/* News & Insights Section */
.news-section {
    background-color: #f4f6f7;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps image proportions sharp without stretching */
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05); /* Subtle zoom effect on hover */
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #3498db;
    color: #ffffff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.news-content h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: #3498db;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #1d6fa5;
}