body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f9ff;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3, h4 {
    color: #004080;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #004080 0%, #0066cc 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5em;
    margin: 0;
    color: white;
}

header p {
    font-size: 1.2em;
    margin: 10px 0 0;
    opacity: 0.9;
}

/* Navigation */
nav {
    background-color: #002b5c;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 25px;
    display: block;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #004080;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 68, 136, 0.7), rgba(0, 68, 136, 0.7)), 
                        url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 8px;
}

.hero-content {
    max-width: 800px;
    padding: 30px;
}

.hero h2 {
    font-size: 2.2em;
    margin: 0 0 15px;
    color: white;
}

.btn {
    display: inline-block;
    background-color: #004080;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #002b5c;
    text-decoration: none;
}

/* Services Section */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.service-img {
    height: 180px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    margin-top: 0;
    font-size: 1.3em;
}

/* Partners Section */
.partners-section {
    background-color: #e6f0fa;
    padding: 40px 0;
    margin: 40px 0;
    border-radius: 8px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.partner-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-story {
    display: none;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.partner-story.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Clients Section */
.clients-section {
    padding: 40px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.client-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Board of Directors */
.directors-section {
    background-color: #e6f0fa;
    padding: 40px 0;
    margin: 40px 0;
    border-radius: 8px;
}

.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.director-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.director-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #004080;
    margin: 0 auto 15px;
    display: block;
}

.director-card h4 {
    margin: 10px 0 5px;
    font-size: 1.2em;
}

.director-position {
    color: #666;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Contact Form */
.contact-section {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #004080;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #004080;
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #004080;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #002b5c;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #002b5c 0%, #004080 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    margin-top: 0;
    font-size: 1.3em;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #cce0ff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9em;
    opacity: 0.8;
}


/*Scroll*/
html {
  scroll-behavior: smooth;
}

/*Login*/
.modal{
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.4s ease;
}

.modal-content{
    background: white;
    padding: 20px;
    margin: 10% auto;
    width: 300px;
    border-radius: 10px;
    animation: slideDown 0.4s ease;
}

.close{
    color: red;
    font-weight: 900;
    float: right;
    font-size: 20px;
    cursor: pointer;
}

#loginForm{
    display: flex;
    flex-direction: column;
}

.entry-box{
    width: 90%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    margin: 8px 0;
}
.entry-box:focus {
    border-color: #004080;
    outline: none;
}

#login-btn{
    background: #004080;
    color: white;
    padding: 8px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#login-btn:hover{
    background-color: #002b5c;
}

@keyframes fadeIn{
    from{opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideDown{
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.dashboard-header{
    background: linear-gradient(135deg, #004080, #0066cc);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.dashboard-header h1{
    margin: 0;
    font-size: 1.8em;
}

.table-wrapper{
    overflow-x: auto;
}

.styled-table{
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.styled-table thead{
    background-color: #004080;
    color: white;
}

.styled-table th,
.styled-table td{
    padding: 12px 15px;
    text-align: left;
}

.styled-table tbody tr{
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s;
}

.styled-table tbody tr:hover{
    background-color: #f5f9ff;
}

.styled-table th{
    font-weight: bold;
}

.social-links-container{
    display: flex;
    align-items: center;
    margin: 0 40px;
}

.social-links-style{
    font-size: 22px;
    margin: 0 20px;
    color: white;
    text-decoration: none;
    transition: color 1s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    
    nav a {
        padding: 12px 20px;
        text-align: center;
    }
    
    .hero {
        height: 300px;
    }

    .styled-table thead{
        display: none;
    }

    .styled-table tr{
        display: block;
        margin-bottom: 15px;
        border-bottom: 2px solid #ddd;
    }

    .styled-table td{
        display: block;
        text-align: right;
        font-size: 0.9em;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

    .styled-table td::before{
        content: attr(data-label);
        float: left;
        font-weight: bold;
        color: #004080;
    }
}