/* --- Global Variables for About & Services --- */
.about-page-wrapper {
    --primary-blue: #005a8d;
    --accent-cyan: #00a8cc;
    --text-gray: #555;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* --- Container & Basic Layout --- */
.about-page-wrapper .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    
}

.about-page-wrapper .section {
    padding: 80px 0;
}

.about-page-wrapper .bg-light {
    background-color: var(--light-bg);
}

.about-page-wrapper .text-center { text-align: center; }
.about-page-wrapper .mb-40 { margin-bottom: 40px; }
.about-page-wrapper .mb-20 { margin-bottom: 20px; }

/* --- Typography --- */
.about-page-wrapper h1.main-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
    font-weight: 700;
}

.about-page-wrapper h1.main-title span { 
    color: var(--accent-cyan); 
}

.about-page-wrapper h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-page-wrapper h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.about-page-wrapper .accent-text {
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

/* --- Flex & Grid Helpers --- */
.about-page-wrapper .flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-page-wrapper .reverse { 
    flex-direction: row-reverse; 
}

.about-page-wrapper .content { 
    flex: 1; 
    min-width: 300px; 
}

/* --- Images & Effects --- */
.about-page-wrapper .image-box { 
    flex: 1; 
    min-width: 300px; 
}

.about-page-wrapper .image-box img, 
.about-page-wrapper .image-grid img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-page-wrapper .image-box img:hover {
    transform: scale(1.02);
}

.about-page-wrapper .image-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-page-wrapper .hover-img {
    overflow: hidden;
    border-radius: 15px;
}

/* --- Cards Grid (About Section) --- */
.about-page-wrapper .grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.about-page-wrapper .card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--accent-cyan);
}

.about-page-wrapper .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.about-page-wrapper .card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.about-page-wrapper .card-body {
    padding: 20px;
}

/* --- Service Cards Grid (Services Section) --- */
.about-page-wrapper .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.about-page-wrapper .s-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.about-page-wrapper .s-card:hover { 
    transform: translateY(-8px); 
}

.about-page-wrapper .s-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.about-page-wrapper .s-card-content {
    padding: 25px;
    border-top: 5px solid var(--accent-cyan);
}

/* --- Brands Section --- */
.about-page-wrapper .brands {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about-page-wrapper .brand-box {
    width: 200px;
    height: 100px;
    border: 2px solid var(--accent-cyan);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-green);
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
}

.about-page-wrapper .brand-box:hover {
    background: var(--accent-cyan);
    color: var(--white);
}

/* --- Button --- */
.about-page-wrapper .btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s;
}

.about-page-wrapper .btn:hover {
    background: var(--accent-cyan);
}

/* --- Modal Overlay Fix --- */
.about-page-wrapper .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .about-page-wrapper .flex, 
    .about-page-wrapper .reverse {
        flex-direction: column;
    }
    
    .about-page-wrapper h1.main-title {
        font-size: 1.8rem;
    }

    .about-page-wrapper h2 {
        font-size: 1.8rem;
    }
}
.gallery-hero {
    height: 350px;
    background: url('./images/contactus.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed; /* Parallax effect */
}

.gallery-hero .overlay {
    background: rgba(0, 30, 60, 0.6); /* Deep blue overlay */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}