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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 195px; /* lock the navbar height */
  overflow: hidden;
}


.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar {
  position: relative;
  z-index: 10;
}

.nav-list a:hover {
    color: #007bff;
}

/* Hero Section */
.hero {
    background: #e3f2fd;
    color: #333;
    text-align: center;
    padding: 200px 0 200px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    color: #666;
}

.cta-btn {
    background: #333;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.cta-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 51, 51, 0.4);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.read-more-btn {
    background: #e8f4fd;
    color: #1976d2;
    border: 2px solid #bbdefb;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background: #bbdefb;
    color: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.2);
}

/* Our Divisions Section */
.our-divisions {
    padding: 80px 0;
    background: #ffffff;
}

.divisions-header {
    text-align: center;
    margin-bottom: 4rem;
}

.divisions-header h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.divisions-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.dual-image-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.image-content-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 250px;
    gap: 1.5rem;
    height: auto;
}

.main-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    grid-column: 1 / 3;
    grid-row: 1;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.secondary-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    grid-column: 1;
    grid-row: 2;
}

.secondary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.secondary-image:hover img {
    transform: scale(1.05);
}

.third-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    grid-column: 2;
    grid-row: 2;
}

.third-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.third-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.main-image:hover .image-overlay,
.secondary-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.image-overlay h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.image-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

.divisions-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.division-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.division-item:hover {
    background: #e3f2fd;
    border-left-color: #1976d2;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(25, 118, 210, 0.15);
}

.division-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #1976d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.division-item:hover .division-icon {
    background: #0d47a1;
    transform: scale(1.1);
}

.division-info h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.division-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.division-link {
    color: #1976d2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.division-link:hover {
    color: #0d47a1;
    transform: translateX(3px);
}

.division-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.division-link:hover::after {
    transform: translateX(3px);
}


/* Contact Page Styles */
.contact-header {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.contact-page-content {
    background: #f8f9fa;
    padding: 400px 40px 100px;
    margin-top: 100px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-form-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-section h3 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-form-advanced {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    padding: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.submit-btn-advanced {
    background: #1976d2;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.submit-btn-advanced:hover {
    background: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-section h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.contact-card-header i {
    font-size: 1.8rem;
    color: #1976d2;
    background: #e3f2fd;
    padding: 0.8rem;
    border-radius: 50%;
}

.contact-card-header h4 {
    color: #333;
    font-size: 1.3rem;
    margin: 0;
}

.contact-details p {
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.6;
}

.contact-details p strong {
    color: #333;
    display: block;
    margin-bottom: 0.3rem;
}

.regional-offices {
    margin-bottom: 4rem;
}

.regional-offices h3 {
    text-align: center;
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.office-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #1976d2;
}

.office-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.office-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.office-card h4 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.office-card p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.office-card p strong {
    color: #1976d2;
    font-weight: 600;
}

.emergency-contact {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.emergency-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.emergency-card i {
    font-size: 2.5rem;
    color: #856404;
}

.emergency-card h4 {
    color: #856404;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.emergency-card p {
    color: #856404;
    margin-bottom: 0.3rem;
}

/* Divisions Showcase Section */
.divisions-showcase {
    padding: 80px 0;
    background: #f8f9fa;
}

.divisions-showcase-header {
    text-align: center;
    margin-bottom: 4rem;
}

.divisions-showcase-header h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.divisions-showcase-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.divisions-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.division-showcase-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.division-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.division-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.division-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.division-showcase-card:hover .division-image-container img {
    transform: scale(1.1);
}

.division-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(25, 118, 210, 0.9), rgba(13, 71, 161, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.division-showcase-card:hover .division-overlay {
    opacity: 1;
}

.division-overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.division-overlay-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.division-overlay-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.division-cta {
    display: inline-block;
    background: white;
    color: #1976d2;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.division-cta:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.4);
}

.division-card-content {
    padding: 2.5rem;
}

.division-card-content h4 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.division-card-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.division-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.division-highlights li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.division-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #1976d2;
    font-weight: bold;
    font-size: 1rem;
}

/* Divisions Showcase Responsive */
@media (max-width: 768px) {
    .divisions-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .division-showcase-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .divisions-showcase-header h2 {
        font-size: 2.2rem;
    }
    
    .division-card-content {
        padding: 2rem;
    }
    
    .division-overlay-content {
        padding: 1.5rem;
    }
    
    .division-overlay-content h3 {
        font-size: 1.6rem;
    }
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 2rem;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-intro h2 {
        font-size: 2rem;
    }
}

/* Foundation Section */
.foundation {
  background-image: url('assets/images/v-foundation2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 110px 0;
  text-align: center;
  position: relative;
  color: rgb(10, 7, 10);
}

.foundation .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.foundation-card {
  background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
  padding: 40px 30px;
  border-radius: 15px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.foundation h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: rgb(70, 8, 243);
}

.foundation p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: rgb(17, 15, 14);
  margin-bottom: 2rem;
}

.learn-more-btn {
  padding: 0.75rem 1.5rem;
  background-color: #99989c;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #2d06ad;
}


/* Contact Section */
.contact {
    padding: 80px 0;
    background: #070e14;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #007bff;
    width: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.submit-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Footer */
.footer {
    background: #ffffff;
    color: #333;
    padding: 60px 0 0;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-section h4 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #1976d2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #1976d2;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 1px solid #e9ecef;
}

.social-links a:hover {
    background: #1976d2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
    border-color: #1976d2;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #1976d2;
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #1976d2;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-item div p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-item div p:first-child {
    color: #333;
    font-weight: 500;
}

.footer-bottom {
  background: #1f2c24c2;
  border-top: 1px solid #333;
  padding: 2rem 1rem;
  text-align: center;
  width: 100%;
  position: relative;
  box-sizing: border-box;
   margin: 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
}

.footer-bottom-content p {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
  flex: 1 1 auto;
  text-align: left;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.footer-bottom-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #66b3ff;
}

.footer-tagline {
  color: #66b3ff;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 1200px;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 1rem;
  }

  .footer-bottom-content p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-tagline {
    font-size: 0.9rem;
  }
}

/* RESPONSIVE DESIGN - Mobile First Approach */

/* Extra Large Screens (1920px and above) */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .page-header h1 {
        font-size: 3.5rem;
    }
    
    .about-text h2,
    .divisions-header h2 {
        font-size: 3.2rem;
    }
    
    .footer-content {
        grid-template-columns: 2.5fr 1.2fr 1.2fr 1.5fr;
        gap: 4rem;
    }
}

/* Large Screens (Desktop - 1200px to 1920px) */
@media (min-width: 1200px) and (max-width: 1919px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 3rem;
    }
}

/* Medium Screens (Tablet Landscape - 768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        height: auto;
        overflow: visible;
    }
    
    .header .container {
        flex-wrap: wrap;
        padding: 1rem 15px;
    }
    
    .nav-list {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .nav-list a {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 150px 20px 120px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2.2rem;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .dual-image-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-content-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
    }
    
    .main-image {
        grid-column: 1;
        height: 250px;
    }
    
    .secondary-image,
    .third-image {
        grid-column: 1;
        height: 200px;
    }
    
    .divisions-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .footer-section h4::after {
        width: 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Small Tablets and Large Phones (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        height: auto;
        overflow: visible;
    }
    
    .header .container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 15px;
        align-items: stretch;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 100px 15px 60px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .about {
        padding: 50px 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .about-image img {
        height: 250px;
    }
    
    .divisions-header h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .divisions-header p {
        font-size: 1rem;
    }
    
    .dual-image-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .image-content-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
    }
    
    .main-image {
        grid-column: 1;
        height: 200px;
    }
    
    .secondary-image,
    .third-image {
        grid-column: 1;
        height: 150px;
    }
    
    .division-item {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    
    .division-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 auto 1rem;
    }
    
    .division-info h4 {
        font-size: 1.2rem;
    }
    
    .division-info p {
        font-size: 0.95rem;
    }
    
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .contact-intro h2 {
        font-size: 1.8rem;
    }
    
    .contact-intro p {
        font-size: 1rem;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .office-card {
        padding: 1.5rem 1.2rem;
    }
    
    .office-card h4 {
        font-size: 1.2rem;
    }
    
    .emergency-card {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-card i {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section h4::after {
        width: 30px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
        padding: 2rem 1rem 1rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .page-content {
        padding: 50px 15px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-main h2 {
        font-size: 1.8rem;
    }
    
    .content-main h3 {
        font-size: 1.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .divisions-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .gohelpafrica-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gohelpafrica-logo-section {
        right: 0;
        width: 100%;
    }
    
    .gohelpafrica-logo {
        width: 150px;
        margin: 0 auto;
    }
    
    .initiatives-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
}

/* Mobile Phones (up to 480px) */
@media (max-width: 480px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    .container {
        padding: 0 12px;
    }
    
    body {
        font-size: 14px;
    }
    
    .header {
        height: auto;
        overflow: visible;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .header .container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem 12px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .hero {
        padding: 80px 12px 40px;
        min-height: auto;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .cta-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
    
    .about {
        padding: 40px 12px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .about-image img {
        height: 200px;
        border-radius: 8px;
    }
    
    .read-more-btn {
        width: 100%;
        padding: 10px 15px;
    }
    
    .divisions {
        padding: 40px 12px;
    }
    
    .divisions-header h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .divisions-header p {
        font-size: 0.95rem;
    }
    
    .dual-image-section {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .image-content-wrapper {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .main-image {
        height: 180px;
    }
    
    .secondary-image,
    .third-image {
        height: 140px;
    }
    
    .division-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .division-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        margin: 0 auto;
    }
    
    .division-info h4 {
        font-size: 1.1rem;
    }
    
    .division-info p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .division-link {
        font-size: 0.85rem;
    }
    
    .contact {
        padding: 40px 12px;
    }
    
    .contact-page-content {
        padding: 300px 15px 60px;
        margin-top: 80px;
    }
    
    .contact-intro h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-intro p {
        font-size: 0.95rem;
    }
    
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .contact-form-section {
        padding: 1.2rem;
    }
    
    .contact-form-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        gap: 0.4rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px;
        border-radius: 6px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    
    .submit-btn-advanced {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .contact-info-section {
        gap: 1.2rem;
    }
    
    .contact-card {
        padding: 1.2rem;
    }
    
    .contact-card-header {
        gap: 0.8rem;
    }
    
    .contact-card-header i {
        font-size: 1.4rem;
    }
    
    .contact-card-header h4 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .office-card {
        padding: 1.2rem 1rem;
    }
    
    .office-flag {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .office-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .office-card p {
        font-size: 0.9rem;
    }
    
    .emergency-contact {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .emergency-card {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .emergency-card i {
        font-size: 2rem;
    }
    
    .emergency-card h4,
    .emergency-card p {
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding: 0 12px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section h4::after {
        width: 25px;
        bottom: -3px;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .footer-description {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        padding-left: 0;
        display: block;
        padding: 8px 0;
    }
    
    .footer-bottom {
        padding: 1.5rem 12px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }
    
    .footer-bottom-content p {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .footer-bottom-links a {
        font-size: 0.85rem;
        display: inline-block;
    }
    
    .footer-tagline {
        font-size: 0.85rem;
        padding: 0 12px;
    }
    
    /* Page Styles Mobile */
    .page-header {
        padding: 120px 12px 60px;
        margin-top: 80px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .page-header p {
        font-size: 0.95rem;
    }
    
    .page-content {
        padding: 40px 12px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-main h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .content-main h3 {
        font-size: 1.3rem;
        margin: 2rem 0 1rem;
    }
    
    .content-main p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card i {
        font-size: 2.5rem;
    }
    
    .sidebar-card {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .sidebar-card h4 {
        font-size: 1.1rem;
    }
    
    .sidebar-card li {
        font-size: 0.9rem;
    }
    
    /* Divisions Showcase Mobile */
    .divisions-showcase {
        padding: 40px 12px;
    }
    
    .divisions-showcase-header h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .divisions-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0;
    }
    
    .division-showcase-card {
        margin: 0;
        max-width: 100%;
    }
    
    .division-image-container {
        height: 200px;
    }
    
    .division-overlay-content h3 {
        font-size: 1.5rem;
    }
    
    .division-overlay-content p {
        font-size: 0.95rem;
    }
    
    .division-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .division-card-content {
        padding: 1.5rem;
    }
    
    .division-card-content h4 {
        font-size: 1.2rem;
    }
    
    .division-highlights li {
        padding: 0.4rem 0 0.4rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Foundation Mobile */
    .foundation {
        padding: 60px 12px;
    }
    
    .foundation-card {
        padding: 2rem 1.5rem;
    }
    
    .foundation h2 {
        font-size: 1.5rem;
    }
    
    .foundation p {
        font-size: 1.1rem;
    }
    
    .learn-more-btn {
        width: 100%;
        padding: 10px 15px;
    }
    
    /* GoHelpAfrica Mobile */
    .gohelpafrica-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .gohelpafrica-card {
        padding: 1.5rem;
    }
    
    .gohelpafrica-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .gohelpafrica-content h4 {
        font-size: 1.2rem;
    }
    
    .gohelpafrica-content p {
        font-size: 0.95rem;
    }
    
    .gohelpafrica-logo-section {
        right: 0;
        width: 100%;
        margin-left: 0;
    }
    
    .gohelpafrica-logo {
        width: 140px;
    }
    
    .gohelpafrica-logo-section h3 {
        font-size: 1.3rem;
    }
    
    /* Stats and Grids Mobile */
    .stats-grid,
    .impact-stats,
    .initiatives-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .stat-card h4 {
        font-size: 2rem;
    }
    
    .impact-stat h4 {
        font-size: 2rem;
    }
    
    .focus-card {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }
    
    .focus-image-large {
        height: 200px;
        max-width: 100%;
    }
    
    .focus-icon i {
        font-size: 2.5rem;
    }
    
    .focus-content h4 {
        font-size: 1.1rem;
    }
    
    .focus-content ul {
        padding-left: 1.2rem;
    }
    
    .initiative-card {
        max-width: 100%;
    }
    
    .commodity-list {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .commodity-item {
        padding: 1.2rem;
    }
    
    .commodity-tags {
        justify-content: flex-start;
    }
    
    .tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #7483da 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 150px 0 80px;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.trading-header {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.foundation-header {
    background-image: url('assets/images/for-charity3.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 600px;
    padding: 200px 0;
}

.foundation-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.foundation-header h1 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    line-height: 1.2;
}

.foundation-header p {
    color: #f0f8ff;
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    opacity: 0.95;
}

/* GoHelpAfrica Section Styles */


.gohelpafrica-logo-section {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-left: auto;
    padding-right: 0;
    position: relative;
    right: -120px;
    width: calc(100% + 120px);
}

.gohelpafrica-link {
    display: inline-block;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.gohelpafrica-link:hover {
    transform: scale(1.1);
}

.gohelpafrica-logo {
    width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.gohelpafrica-logo:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.gohelpafrica-logo-section h3 {
    color: #FF9800;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
    text-decoration: underline;
    opacity: 0.8;
}



.gohelpafrica-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.gohelpafrica-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #FF9800;
    position: relative;
}

.gohelpafrica-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.gohelpafrica-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.gohelpafrica-content h4 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.gohelpafrica-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.gohelpafrica-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gohelpafrica-content li {
    position: relative;
    padding: 0.8rem 0 0.8rem 2.5rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.gohelpafrica-content li:last-child {
    border-bottom: none;
}

.gohelpafrica-content li::before {
    content: '🌍';
    position: absolute;
    left: 0;
    top: 0.8rem;
    font-size: 1.2rem;
}



/* Responsive GoHelpAfrica Styles */
@media (max-width: 768px) {
    .gohelpafrica-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gohelpafrica-logo-section {
        order: -1;
    }
    
    .gohelpafrica-logo {
        width: 200px;
    }
    
    .gohelpafrica-logo-section h3 {
        font-size: 1.5rem;
    }
    
    .gohelpafrica-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gohelpafrica-card {
        padding: 2rem;
    }
    
    .gohelpafrica-intro {
        padding: 2rem;
    }
    
    .gohelpafrica-mission {
        padding: 2rem;
    }
    
    .gohelpafrica-mission h4 {
        font-size: 1.5rem;
    }
    
    .gohelpafrica-mission p {
        font-size: 1.1rem;
    }
}

/* Page Content Styles */
.page-content {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-main h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.content-main h3 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: #333;
}

.content-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Sidebar Styles */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.sidebar-card h4 {
    margin-bottom: 1rem;
    color: #333;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
}

.sidebar-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
}

/* Active Navigation */
.nav-list a.active {
    color: #007bff;
    font-weight: 600;
}

/* Commodity and Category Styles */
.commodity-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.commodity-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.commodity-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.trading-categories {
    margin: 2rem 0;
}

.category-section {
    margin-bottom: 2rem;
}

.category-section h4 {
    color: #333;
    margin-bottom: 1rem;
}

.commodity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    background: #007bff;
    color: white;
    padding: 2rem;
    border-radius: 10px;
}

.stat-card h4 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Market Updates */
.market-update {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.market-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.price.up {
    color: #28a745;
}

.price.down {
    color: #dc3545;
}

/* Foundation Specific Styles */
.focus-areas {
    margin: 3rem 0;
}

.focus-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    align-items: center;
}

.focus-image-large {
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 3rem auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.focus-image-large.left {
    margin-left: 0;
    margin-right: auto;
}

.focus-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.focus-image-large img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .focus-image-large {
        height: 250px;
        margin: 2rem auto;
    }
    
    .focus-image-large.left {
        margin-left: auto;
    }
}

.focus-icon {
    flex-shrink: 0;
}

.focus-icon i {
    font-size: 3rem;
    color: #FF9800;
    background: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.2);
}

.focus-content h4 {
    color: #333;
    margin-bottom: 1rem;
}

.focus-content ul {
    margin-top: 1rem;
    padding-left: 1rem;
}

.focus-content li {
    color: #666;
    margin-bottom: 0.5rem;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.initiative-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.initiative-card:hover {
    transform: translateY(-5px);
}

.initiative-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.initiative-content {
    padding: 1.5rem;
}

.initiative-content h4 {
    color: #333;
    margin-bottom: 1rem;
}

.initiative-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.initiative-stats span {
    background: #FF9800;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.impact-stat {
    text-align: center;
    background: #FF9800;
    color: white;
    padding: 2rem;
    border-radius: 10px;
}

.impact-stat h4 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.news-item {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.news-item h5 {
    color: #333;
    margin-bottom: 0.5rem;
}

.news-item p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.news-item small {
    color: #999;
    font-size: 0.8rem;
}

.download-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #0056b3;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .focus-card {
        flex-direction: column;
        text-align: center;
    }
    
    .initiatives-grid {
        grid-template-columns: 1fr;
    }
    
    .commodity-tags {
        justify-content: center;
    }
    
    .stats-grid,
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Placeholder for logo images */
.logo-img {
  height: 60px;
  width: auto;
  background: transparent !important;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}



.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    height: 80px;
    width: 200px;
    border-radius: 10px;
}
/* ===== TOUCH-FRIENDLY IMPROVEMENTS ===== */
/* Ensure minimum touch target size of 48x48px */
@media (max-width: 1024px) {
    button,
    .cta-btn,
    .submit-btn,
    .submit-btn-advanced,
    .download-btn,
    .read-more-btn,
    .learn-more-btn,
    .division-link,
    a[href] {
        min-height: 48px;
        min-width: 48px;
        padding: 12px 20px;
    }
    
    .nav-list a {
        padding: 10px 0;
        display: block;
    }
    
    .footer-links a,
    .footer-bottom-links a,
    a {
        padding: 8px 0;
    }
}

/* ===== IMPROVED IMAGE RESPONSIVENESS ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== TEXT SCALING FOR READABILITY ===== */
@media (max-width: 480px) {
    /* Ensure proper font scaling for readability */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    h1, h2, h3, h4, h5, h6 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* ===== LANDSCAPE MODE IMPROVEMENTS ===== */
@media (max-width: 896px) and (orientation: landscape) {
    .header {
        height: auto;
    }
    
    .hero {
        min-height: auto;
        padding: 80px 20px;
    }
    
    .page-header {
        padding: 80px 20px 60px;
    }
    
    .nav-list {
        gap: 1rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .nav-list,
    .cta-btn,
    button {
        display: none;
    }
    
    .page-content {
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: more) {
    button,
    .cta-btn,
    .submit-btn,
    a {
        border: 2px solid currentColor;
    }
    
    .footer-bottom {
        border-top: 2px solid #333;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *:not([class*="scroll"]) {
        animation: none !important;
        transition: none !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
}

/* ===== DARK MODE SUPPORT (Future-proofing) ===== */
@media (prefers-color-scheme: dark) {
    /* This is a placeholder for future dark mode implementation */
    /* Current design uses light colors, can be expanded later */
}




/* =========================================================
   GLOBAL PARTNER LOGO SCROLLER (used below header)
   ========================================================= */
.partner-scroll-section {
  overflow: hidden;
  white-space: nowrap;
  background-color: #fff;
  padding: 20px 0;
}
.partner-scroll-content {
  display: inline-block;
  will-change: transform;
  animation: scrollLeft 40s linear infinite;
}
@keyframes scrollLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   MOBILE NAV (hamburger) + SUCCESS POPUP
   ========================================================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
}

.nav-toggle__icon {
  width: 22px;
  height: 16px;
  position: relative;
  display: inline-block;
}

.nav-toggle__icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__icon span:nth-child(1) { top: 0; }
.nav-toggle__icon span:nth-child(2) { top: 7px; }
.nav-toggle__icon span:nth-child(3) { top: 14px; }

.nav-open { overflow: hidden; }

.success-popup {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.success-popup.show {
  opacity: 1;
  pointer-events: auto;
}
.success-popup.hide {
  opacity: 0;
}
.success-popup__inner {
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  max-width: min(92vw, 520px);
}
.success-popup__inner h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #0d47a1;
}
.success-popup__inner p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}
.success-popup__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 768px) {
  .header { height: auto !important; overflow: visible !important; }
  .header .container {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    gap: 10px !important;
    height: auto !important;
  }

  .nav-toggle { display: inline-flex !important; }

  .nav { position: relative; }

  .nav .nav-list {
    display: none !important;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(92vw, 340px);
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    padding: 8px;
    z-index: 1500;
  }
  .nav.mobile-open .nav-list { display: flex !important; }

  .nav .nav-list a {
    display: block;
    padding: 12px 12px;
    border-radius: 10px;
    border-bottom: none !important;
  }
  .nav .nav-list a:hover { background: #e3f2fd; }

  /* Make the partner strip tighter on small screens */
  .partner-scroll-section { padding: 12px 0; }
  .partner-scroll-content img { height: 35px !important; margin: 0 20px !important; }
}
