/* Global Styles */
:root {
    --primary-color: #232c4b;
    --secondary-color: #465461;
    --accent-color: #00a0e9;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn.secondary {
    background: var(--accent-color);
}

/* Header Styles */
header {
    background: #232c4b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-color);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #1580eb;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/christine-sandu-jwWtZrm67VI-unsplash.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 80px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-color);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
}

/* Product Categories */
.product-categories {
    padding: 80px 0;
}

.product-categories h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--secondary-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Improved Image Container Styles */
.image-container {
    cursor: pointer;
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

.category-card .image-container,
.product-card .product-image {
    height: 200px;
    background-color: #f5f5f5;
}

.category-card img,
.product-card img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.enlargeable-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.image-container:hover .enlargeable-image {
    transform: scale(1.05);
}

.category-card h3 {
    padding: 20px;
    color: var(--secondary-color);
}

.category-card a {
    display: block;
    padding: 15px 20px;
    background: var(--light-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-card a:hover {
    background: var(--primary-color);
    color: white;
}

.category-card a i {
    margin-left: 5px;
}

/* Enhanced Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoom 0.3s ease;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close {
    position: fixed;
    top: 30px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.close:hover {
    color: #ccc;
    background: rgba(0, 0, 0, 0.8);
}

#caption {
    position: fixed;
    bottom: 20px;
    color: white;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.7);
    font-size: 1.2rem;
}

/* Navigation arrows for modal */
.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    user-select: none;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

@keyframes zoom {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* About Preview */
.about-preview {
    padding: 80px 0;
    background: var(--light-color);
}

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 30px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Company Overview Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Evolution Timeline */
.evolution-timeline {
    display: grid;
    gap: 30px;
}

.phase {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.phase:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.phase-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.phase-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-right: 15px;
    width: 50px;
    height: 50px;
    background: rgba(0, 160, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phase h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.phase-subtitle {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
    font-style: italic;
}

.phase p {
    color: #555;
    line-height: 1.7;
}

/* About Image */
.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 50%;
}


.front-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 75%;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover .featured-image {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-column img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column p {
    margin-bottom: 15px;
    color: #ddd;
}

.footer-column i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* Products Page Styles */
.page-hero {
    background: linear-gradient(rgba(0, 86, 179, 0.8), #232c4b), url('../images/products-hero.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 80px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.products-nav {
    background: var(--light-color);
    padding: 20px 0;
    position: sticky;
    top: 80px;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.products-nav ul {
    display: flex;
    list-style: none;
    overflow-x: auto;
    padding: 10px 0;
}

.products-nav ul li {
    margin-right: 20px;
}

.products-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.products-nav ul li a:hover, .products-nav ul li a.active {
    background: var(--primary-color);
    color: white;
}

.product-section {
    padding: 60px 0;
}

.product-section h2 {
    margin-bottom: 40px;
    color: var(--secondary-color);
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.product-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

.product-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 20px;
    background: white;
}

.product-details h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-details .strength {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-details .manufacturer, .product-details .moq {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.inquiry-form {
    padding: 80px 0;
    background: var(--light-color);
}

.inquiry-form h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.inquiry-form form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* About Page Styles */
.about-section {
    padding: 80px 0;
}

.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.about-section p {
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-section {
    padding: 80px 0;
    background: var(--light-color);
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-year {
    position: absolute;
    left: -90px;
    top: 0;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team-section {
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-color);
}

.team-member h3 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.team-member p {
    color: #666;
    margin-bottom: 15px;
}

.social-links a {
    color: var(--primary-color);
    margin: 0 5px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.values-section {
    padding: 80px 0;
    background: var(--light-color);
}

.values-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Contact Page Styles */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-method {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-method i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-options {
    padding: 80px 0;
}

.contact-options .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-card p {
    margin-bottom: 20px;
}

.btn.small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* vision - mission */

/* Mission & Vision Section */
.mission-vision-section {
    padding: 60px 0;
    background: #f5f9fc; /* Light background for contrast */
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mv-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mv-icon i {
    font-size: 2.2rem;
    color: #2a7fba; /* Matches values section icons */
    padding: 15px;
    background: #e6f2fa;
    border-radius: 50%;
}

.mv-icon i {
    transition: transform 0.5s;
}
.mv-card:hover .mv-icon i {
    transform: rotate(15deg);
}

.mv-content h2 {
    margin-top: 0;
    color: #333;
}

.mission .mv-icon i { color: #28a745; } /* Green for mission */
.vision .mv-icon i { color: #6f42c1; } /* Purple for vision */


.contact-form-section {
    padding: 0 0 80px;
}

.contact-form-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-container h2 {
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.map-container h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.map {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.business-hours {
    padding: 80px 0;
    background: var(--light-color);
}

.business-hours h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.day {
    text-align: center;
    padding: 20px;
}

.day p:first-child {
    font-weight: 600;
    color: var(--secondary-color);
}

.emergency-contact {
    padding: 30px 0;
    background: var(--danger-color);
    color: white;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.emergency-content i {
    font-size: 2.5rem;
}

.emergency-content h3 {
    margin-bottom: 10px;
}

/* Form Validation */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-section .container,
    .service-section .container,
    .contact-form-section .container {
        grid-template-columns: 1fr;
    }
    
    .service-image, .about-image {
        order: -1;
    }
    
    .map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-year {
        left: -70px;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .compliance-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .compliance-icon {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-year {
        position: static;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Modal adjustments for small screens */
    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .modal-nav {
        font-size: 25px;
        padding: 8px;
    }
    
    #caption {
        font-size: 1rem;
        padding: 8px 0;
    }
}



/* Responsive Styles */
@media (max-width: 992px) {
    .about-preview .container,
    .about-section .container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        height: 400px;
    }
}

 @media screen and (max-width: 768px) {
            /* Hide desktop navigation */
            nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 80px;
                left: 0;
                width: 100%;
                background-color: #232c4b;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
                padding: 20px 0;
            }
    
    nav ul.active {
        display: flex;
    }
    
    /* nav ul {
        flex-direction: column;
        padding: 30px;
    } */
    
    nav ul li {
        margin: 10px 0;
         text-align: center;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Modal adjustments for mobile */
    .modal-nav {
        font-size: 30px;
        padding: 10px;
    }
    
    .close {
        top: 15px;
        right: 20px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }

    .about-section {
        padding: 60px 0;
    }
    
    .phase {
        padding: 20px;
    }
    
    .phase-icon {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .features .container {
        grid-template-columns: 1fr;
    }
    
    /* Smaller modal on mobile */
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .about-section {
        padding: 50px 0;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .phase-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .phase-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }
}