/* Main Styles for CBE Website */

/* Font Styles */
.nav {
    font-family: 'poppins', sans-serif;
    font-size: 20px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
}

p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

a {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

/* Navigation */
#navbar {
    background-color: #0c4da2;
    padding: 16px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.logo {
    height: 48px;
}

.mobile-nav {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #ff9900;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
}

.hero-text h1 {
    font-family: 'alfa slab one', sans-serif;
    font-size: 50px;
    font-style: italic;
    font-weight: 500;
    color: #ff9900;
    margin-bottom: 20px;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #bf5707;
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0c4da2;
}

/* Section Dividers */
.divider {
    width: 100%;
    height: 2px;
    margin: 0;
}

.divider-orange {
    background-color: #ff6600;
}

.divider-green {
    background-color: #22c55e;
}

.divider-blue {
    background-color: #3b82f6;
}

/* Section Styling */
.section {
    padding: 64px 0;
}

.section-title {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 32px;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;
    height: 100%;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 32px;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

/* About Section */
.about-section {
    background-color: #374151;
    color: white;
}

.about-section p {
    color: #22c55e;
    margin-bottom: 16px;
}

/* Footer */
.footer {
    background-color: #003366;
    margin-top: 20px;
    color: white;
    padding: 32px 0;
}

.foot {
    background-color: #003366;
    text-align: center;
    padding: 16px 0;
    color: white;
}

.footer h2 {
    margin-bottom: 16px;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff9900;
}

/* Animations */
#gradient {
    background: linear-gradient(135deg, #bf5707, #3b82f6);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

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

/* Map Section */
.map-container {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* Responsive Design */
@media (min-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .md-flex-row {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 30px;
    }
    
    .mobile-nav {
        flex-direction: column;
        gap: 16px;
    }
    
    .md-flex-col {
        flex-direction: column;
    }
    
    .md-w-full {
        width: 100%;
    }
    
    .section {
        padding: 40px 0;
    }
}