:root {
    --primary-red: #c00;
    --dark-red: #900;
    --black: #222;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #f5f5f5;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Info Bar */
.top-info-bar {
    background-color: #c00;
    color: white;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.top-info-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.top-info-bar a:hover {
    color: white;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 60px;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-item {
    position: relative;
    margin-left: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-red);
    border-left-color: var(--primary-red);
    padding-left: 1.8rem;
}

/* Mega Menu */
.mega-menu {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100vw;
    max-width: 1200px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.dropdown:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-column h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column li {
    margin-bottom: 0.5rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--black);
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 800px;
    padding: 2rem;
    background-color: rgba(0,0,0,0.3);
    border-radius: 8px;
}

.slide h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--dark-red);
}

.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--primary-red);
}

/* About Section */
.about {
    padding: 5rem 5%;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--black);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    margin-top: 2rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Divisions Section */
.divisions {
    padding: 5rem 5%;
    background-color: var(--light-gray);
}

.divisions-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background-color: var(--light-gray);
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin: 0.5rem;
}

.tab-btn.active {
    background-color: var(--primary-red);
    color: var(--white);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

.division-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.division-image {
    height: 200px;
    overflow: hidden;
}

.division-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.division-info {
    padding: 1.5rem;
}

.division-info h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}


.team {
    padding: 5rem 5%;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image-container {
    position: relative;
    padding-top: 100%; /* Creates a square container */
    overflow: hidden;
}

.member-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Ensures heads are always visible */
    transition: transform 0.5s ease;
}

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

.member-info {
    padding: 1.8rem;
    text-align: center;
}

.member-info h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-info p {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 1.2rem;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(0,0,0,0.05);
    color: var(--black);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .member-info {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
}
.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    margin: 0 0.3rem;
    color: var(--black);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-red);
}

/* Video Section */
.video-section {
    padding: 5rem 5%;
    background-color: var(--light-gray);
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background-color: var(--white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.contact-info h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 1rem;
    color: var(--primary-red);
    width: 20px;
    text-align: center;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 5%;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-red);
}

.social-media {
    display: flex;
    margin-top: 1rem;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 1rem;
    color: var(--white);
    transition: background-color 0.3s;
}

.social-media a:hover {
    background-color: var(--primary-red);
}

.copyright {
    text-align: center;
    padding: 1.5rem 0;
    background-color: var(--dark-gray);
    color: var(--white);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-container {
        padding: 1rem 2rem;
    }
    
    .nav-item {
        margin-left: 1rem;
    }
    
    .slide h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .top-info-bar {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem;
    }
    
    .top-info-bar p {
        margin-bottom: 0.3rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        transition: left 0.3s;
        overflow-y: auto;
        flex-direction: column;
        padding: 2rem;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
        border-left: 2px solid var(--light-gray);
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-toggle::after {
        transition: transform 0.3s;
    }
    
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .mega-menu {
        width: 100%;
        position: static;
        transform: none;
        padding: 1rem;
        display: none;
    }
    
    .dropdown.active .mega-menu {
        display: grid;
    }
    
    .slide h1 {
        font-size: 2rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 1rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .slide h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        margin: 0.3rem 0;
    }
}



.full-width-banner {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin: 3rem 0;
}

.full-width-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Partners Section */
.partners {
    padding: 5rem 5%;
    background-color: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .full-width-banner {
        height: 200px;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .partner-logo {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .full-width-banner {
        height: 150px;
    }
    
    .banner-content h2 {
        font-size: 1.5rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}


.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #222; /* Changed to black */
    background-color: #f5f5f5;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: #222 !important; /* Ensure text remains black on hover */
}

.email-link:hover {
    background-color: #f0f0f0; /* Changed to light gray */
}

.phone-link:hover {
    background-color: #f0f0f0; /* Changed to light gray */
}

.contact-icon {
    font-size: 18px;
    width: 30px;
    text-align: center;
    margin-right: 12px;
    color: #222; /* Icons in black */
}

.contact-text {
    font-size: 15px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-link {
        padding: 8px 12px;
    }
    
    .contact-icon {
        font-size: 16px;
        width: 25px;
        margin-right: 10px;
    }
    
    .contact-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-links {
        gap: 8px;
    }
    
    .contact-link {
        padding: 6px 10px;
    }
}


.mega-menu-column {
    position: relative;
}

.mega-menu-image {
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 10px;
}

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

.mega-menu-column:hover .mega-menu-image img {
    transform: scale(1.05);
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .mega-menu-image {
        height: 100px;
    }
}

.mega-menu-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mega-menu-list li {
    margin-bottom: 2px; /* Tight spacing */
}

.dropdown-item {
    display: block;
    padding: 8px 12px; /* Consistent padding */
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 3px;
    line-height: 1.3; /* Tighter line spacing */
}

.dropdown-item:hover {
    background-color: rgba(200, 0, 0, 0.05); /* Light red tint */
    color: var(--primary-red);
    padding-left: 15px; /* Slight hover animation */
}

/* For the image */
.mega-menu-image {
    height: 120px;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 4px;
}

.mega-menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.about-video {
    flex: 1;
    min-width: 300px;
    margin-top: 2rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-video {
        width: 100%;
        margin-top: 1.5rem;
    }
}



/* Gallery Styles */
.gallery {
    padding: 5rem 5%;
    background-color: var(--light-gray);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    transition: bottom 0.3s ease;
}

.gallery-overlay h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
}


