  /* CSS Variables for Brand Colors */
  :root {
    --primary-red: #7E272F;
    --dark-red: #5B1C22;
    --black: #171719;
    --dark-gray: #2E2E30;
    --light-gray: #E6E6E6;
    --soft-white: #F8F8F8;
    --white: #FFFFFF;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background-color: var(--soft-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-red);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-red);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--dark-red);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--black);
    color: var(--black);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px; /* Maintains the same height as the previous placeholder */
    width: auto; /* Maintains aspect ratio */
}

.logo-text {
    margin-left: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--primary-red);
    font-size: 1.2rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
    margin-right: 0;
}

nav ul li a {
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-red);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--black);
    cursor: pointer;
    padding-left: 70px;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../image/perfect.jpeg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 10rem 0;
    text-align: center;
}
    /* Add media query for smaller screens */
@media screen and (max-width: 480px) {
    .page-banner {
        /* Change background position to show more center/top of image for portrait view */
        background-position: center top;
        padding: 8rem 0;
        /* You can also use a different image optimized for mobile if needed */
         background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../image/perfect-mobile.jpg'); 
    }
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: var(--light-gray);
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Add responsive grid for smaller screens */
@media screen and (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    position: relative;
}

.about-content h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    bottom: -10px;
    left: 0;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}


/* New styles for the responsive image with overlay */
.image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Creates a square aspect ratio by default */
    overflow: hidden;
    border-radius: 8px;
}

.about-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This maintains aspect ratio while filling the container */
    transition: transform 0.3s ease;
}

/* This creates the dark overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 0.4 opacity black overlay */
    z-index: 1;
}

/* Optional hover effect */
.image-container:hover .about-img {
    transform: scale(1.05);
}
/* Timeline Section */
.timeline-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.timeline-container h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-container h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-red);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--primary-red);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
    text-align: right;
}

.timeline-right {
    left: 50%;
    text-align: left;
}

.timeline-left::after {
    right: -10px;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--soft-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 5rem 0;
}

.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-box, .vision-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.mission-box h3, .vision-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--black);
}

.mission-box h3:after, .vision-box h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-red);
    bottom: -10px;
    left: 0;
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Core Values Section */
.core-values-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.core-values-container h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.core-values-container h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background-color: var(--soft-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Footer Styles */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    margin-right: 0.5rem;
}

.footer-about p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-red);
    bottom: -10px;
    left: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-red);
}

.footer-newsletter p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Inter', sans-serif;
}

.newsletter-btn {
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 0 1rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--dark-red);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-red);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-gray);
    text-align: center;
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Responsive Styles */

 /* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    .header-container {
        padding: 0.8rem;
    }
    
    nav ul li {
        margin-left: 1rem;
    }
    
    nav ul li a {
        font-size: 0.9rem;
    }


    
}
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-container, .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        min-height: 300px;
    }
    
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }
    
    .timeline-item::after {
        left: 22px;
        right: auto;
    }
    
    .timeline-left, .timeline-right {
        left: 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
         padding-left: 350px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

 /* Mobile Styles (up to 600px) */
@media (max-width: 600px) {
    .header-container {
        padding: 0.8rem 1rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
   

    .mobile-menu-btn {
            display: block;
            padding-left: 200px;
        }

    
    nav ul li a {
        font-size: 0.95rem;
        padding: 0.8rem 0;
    }
}

/* Extra Small Mobile (up to 400px) */
@media (max-width: 400px) {
    .header-container {
        padding: 0.6rem 0.8rem;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .mobile-menu-btn {
        font-size: 1.3rem;
        padding-left: 80px;
    }
    
   
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 0.7rem 0;
    }
}

.footer-links a[title="Coming Soon"] {
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none; /* Optional: make it fully unclickable */
}