/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    width: 100vw;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(46, 89, 132, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Lato', sans-serif;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    width: 150px; /* Fixed width */
    height: 150px; /* Fixed height to match width */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item i {
    font-size: 2rem; /* Slightly reduced for better proportion */
    color: #4CAF50;
    margin-bottom: 8px;
    display: block;
}

.stat-number {
    display: block;
    font-size: 2rem; /* Slightly reduced for better fit */
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem; /* Slightly smaller for better fit */
    opacity: 0.8;
    line-height: 1.1;
}

/* Common Section Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    color: #2E5984;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Lato', sans-serif;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #4CAF50, #2E5984);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.mv-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 2rem;
}

.vision-icon {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
}

.mission-icon {
    background: linear-gradient(45deg, #2E5984, #1976D2);
}

.card-header h3 {
    font-size: 1.8rem;
    color: #2E5984;
    font-weight: 600;
    margin: 0;
}

.card-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #666;
}

.feature-item i {
    color: #4CAF50;
    margin-right: 10px;
    width: 16px;
}

.cities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.city-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #666;
}

.city-item i {
    color: #2E5984;
    margin-right: 8px;
}

/* Objectives Section */
.objectives-section {
    padding: 100px 0;
    background: white;
}

.objectives-container {
    display: grid;
    gap: 30px;
    margin-top: 60px;
}

.objective-card {
    display: flex;
    align-items: flex-start;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    border-left: 5px solid #4CAF50;
}

.objective-card:hover {
    background: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.objective-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4CAF50;
    margin-right: 30px;
    line-height: 1;
    min-width: 80px;
    flex-shrink: 0;
}

.objective-icon {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.objective-content h4 {
    font-size: 1.5rem;
    color: #2E5984;
    margin-bottom: 15px;
    font-weight: 600;
}

.objective-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.objective-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.objective-features span {
    background: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    color: #666;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.objective-features span i {
    color: #4CAF50;
    margin-right: 5px;
}

/* Portal Access Section */
.portal-access-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2E5984, #1976D2);
}

.portal-card {
    background: white;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.portal-icon {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
}

.portal-card h3 {
    font-size: 2rem;
    color: #2E5984;
    margin-bottom: 20px;
    font-weight: 600;
}

.portal-card p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.portal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: none;
}

.btn i {
    margin-right: 8px;
}

.btn-register {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
}

.btn-login {
    background: linear-gradient(45deg, #2E5984, #1976D2);
    color: white;
}

.btn-logout {
    background: linear-gradient(45deg, #f44336, #e57373);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}


/* Partner Agencies Section */
.partner-agencies-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.partners-table-container {
    margin-top: 60px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
}

.table-responsive {
    overflow: hidden;
}

.partners-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Lato', sans-serif;
}

.partners-table th {
    background: linear-gradient(135deg, #2E5984, #1976D2);
    color: white;
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;
}

.partners-table th:first-child {
    border-radius: 15px 0 0 0;
}

.partners-table th:last-child {
    border-radius: 0 15px 0 0;
}

.partners-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.6;
}

.partners-table tbody tr {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.partners-table tbody tr:hover {
    background: #f8f9fa;
    /* transform: scale(1.01); */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 3px solid #4CAF50;
}

.partners-table tbody tr:last-child td {
    border-bottom: none;
}

.partner-name {
    font-weight: 600;
    color: #2E5984;
    min-width: 200px;
    font-size: 1rem;
}

.partner-logo {
    text-align: center;
    width: 120px;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 10px;
    background: white;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
    border-color: #4CAF50;
}

.partner-responsibility {
    color: #444;
    max-width: 300px;
}

.partner-impact {
    color: #4CAF50;
    font-weight: 500;
    max-width: 250px;
}

/* Table Icons for better visual appeal */
.partners-table th:before {
    margin-right: 8px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.partners-table th:nth-child(1):before {
    content: "\f0c0"; /* fa-users */
}

.partners-table th:nth-child(2):before {
    content: "\f03e"; /* fa-image */
}

.partners-table th:nth-child(3):before {
    content: "\f0ae"; /* fa-tasks */
}

.partners-table th:nth-child(4):before {
    content: "\f201"; /* fa-chart-line */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .partners-table-container {
        padding: 30px 20px;
    }
    
    .partners-table th,
    .partners-table td {
        padding: 15px 10px;
    }
}

@media (max-width: 768px) {
    .partners-table-container {
        padding: 20px 15px;
        margin: 30px 0;
    }
    
    .partners-table {
        font-size: 0.85rem;
    }
    
    .partners-table th {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    
    .partners-table td {
        padding: 15px 8px;
    }
    
    .logo-img {
        width: 60px;
        height: 60px;
    }
    
    .partner-name {
        min-width: 150px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .partners-table-container {
        padding: 15px 10px;
    }
    
    .partners-table th,
    .partners-table td {
        padding: 10px 5px;
        font-size: 0.8rem;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    /* Stack table on very small screens */
    .partners-table,
    .partners-table thead,
    .partners-table tbody,
    .partners-table th,
    .partners-table td,
    .partners-table tr {
        display: block;
    }
    
    .partners-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .partners-table tr {
        background: white;
        border: 1px solid #e9ecef;
        border-radius: 10px;
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .partners-table td {
        border: none;
        position: relative;
        padding: 10px 0 10px 120px;
        text-align: left;
    }
    
    .partners-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 110px;
        font-weight: 600;
        color: #2E5984;
        text-align: left;
    }
}


/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .stat-item {
        width: 120px; /* Smaller on mobile */
        height: 120px;
        padding: 20px;
    }
    
    .stat-item i {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .objective-card {
        flex-direction: column;
        text-align: center;
    }
    
    .objective-icon {
    width: 70px; /* Slightly smaller on mobile */
    height: 70px;
    font-size: 1.5rem;
    margin: 0 auto 20px; /* Center on mobile */
    }
    

    .objective-number {
    font-size: 2.5rem; /* Slightly smaller on mobile */
    min-width: 70px; /* Match icon width */
    margin-bottom: 20px;
    margin-right: 0;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .portal-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mv-card {
        padding: 25px;
    }
    
    .objective-card {
        padding: 25px;
    }
    
    .portal-card {
        padding: 40px 25px;
    }

    .stat-item {
        width: 100px; /* Even smaller on very small screens */
        height: 100px;
        padding: 15px;
    }
    
    .stat-item i {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }

    .objective-icon {
        width: 60px; /* Even smaller on very small screens */
        height: 60px;
        font-size: 1.3rem;
    }
    
    .objective-number {
        font-size: 2rem;
        min-width: 60px;
    }
}




/* Innovative Technologies Section */
.innovative-technologies-section {
    padding: 100px 0;
    background: white;
}

.technologies-intro {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border-left: 5px solid #4CAF50;
}

.technologies-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.tech-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tech-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.tech-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-img {
    transform: scale(1.1);
}

.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(46, 89, 132, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-card:hover .tech-overlay {
    opacity: 1;
}

.tech-icon {
    background: white;
    color: #4CAF50;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1);
}

.tech-content {
    padding: 30px;
}

.tech-content h4 {
    font-size: 1.3rem;
    color: #2E5984;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.tech-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Highlight cards for key technologies */
.tech-card:nth-child(1),
.tech-card:nth-child(5),
.tech-card:nth-child(9) {
    border-left: 5px solid #4CAF50;
}

.tech-card:nth-child(1):hover,
.tech-card:nth-child(5):hover,
.tech-card:nth-child(9):hover {
    border-left: 5px solid #2E5984;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .technologies-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
    
    .tech-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .innovative-technologies-section {
        padding: 60px 0;
    }
    
    .technologies-intro {
        margin-bottom: 40px;
        padding: 20px;
    }
    
    .technologies-intro p {
        font-size: 1rem;
    }
    
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .tech-image {
        height: 250px;
    }
    
    .tech-content {
        padding: 20px;
    }
    
    .tech-content h4 {
        font-size: 1.2rem;
    }
    
    .tech-content p {
        font-size: 0.9rem;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tech-content {
        padding: 15px;
    }
    
    .tech-content h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .tech-image {
        height: 220px;
    }
}