* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    overflow-x: hidden;
}

/* Global text wrapping for all links and long text */
a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

p, li, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-section img {
    height: 70px;
}

.company-name {
    display: flex;
    flex-direction: column;
}

.company-name h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
}

.company-name .tagline {
    font-size: 0.9rem;
    color: #e0e0e0;
    font-style: italic;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

nav a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%232a5298" width="1200" height="400"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: #ffd700;
    color: #1e3c72;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.section-title {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 0.5rem;
}

/* Company Info */
.company-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-item {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.info-item strong {
    color: #1e3c72;
    display: block;
    margin-bottom: 0.5rem;
}

.info-item a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
}

/* Directors Grid */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.director-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid #2a5298;
}

.director-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.director-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: bold;
}

.director-card h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.director-card .title {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 1rem;
}

.director-card .status {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.service-card {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: all 0.3s;
    margin-bottom: 2rem;
}

.service-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #1e3c72;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 2rem auto;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e3c72;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a5298;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 2.5rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h4 {
    color: #ffd700;
    margin-bottom: 1rem;
}

footer a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: white;
}

/* Alert Box */
.alert {
    background: #e8f4f8;
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.alert.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.alert a,
.alert p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 1.25rem;
        margin-bottom: 1rem;
        overflow-x: hidden;
    }
    
    .content-section * {
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .alert {
        padding: 1rem;
        overflow-x: hidden;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .service-card,
    .info-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    .services-grid,
    .info-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .service-card:hover,
    .director-card:hover {
        transform: none;
    }
    
    .container {
        padding: 1rem;
    }
    
    /* Footer mobile fixes */
    footer {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
        overflow-wrap: break-word;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    footer a,
    footer p {
        font-size: 0.95rem;
        word-wrap: break-word;
    }
}