:root {
    --primary-color: #0f4c81; /* Corporate Blue */
    --primary-hover: #ff9f1c; /* Vibrant Orange */
    --header-bg: #1c2236; /* Dark Navy Blue */
    --footer-bg: #1a1a1a; /* Dark Grey */
    --footer-bottom-bg: #111111; /* Almost Black */
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
    --text-dark: #333333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

ul {
    list-style: none;
}

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

/* Header Styles */
.header {
    background-color: rgba(28, 34, 54, 0.6);
    color: var(--text-light);
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform var(--transition-speed) ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 48px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.logo-text-1 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.logo-text-2 {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: var(--text-light);
    opacity: 0.9;
}

.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav > ul {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 32px;
}

.main-nav > ul > li {
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav > ul > li > a {
    font-size: 15px;
    font-weight: 600;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5px;
    color: rgba(255, 255, 255, 0.85);
}

.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active {
    color: var(--text-light);
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
    transform-origin: center;
}

.main-nav > ul > li > a.active::after, .main-nav > ul > li > a:hover::after {
    transform: scaleX(1);
}

.search-icon {
    margin-left: 35px;
    font-size: 16px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: all var(--transition-speed) ease;
}

.search-icon:hover {
    color: var(--text-light);
    background-color: var(--primary-color);
    transform: scale(1.05);
}

/* Dropdown Menu Styles */
.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition-speed) ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-radius: 4px;
}

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

.main-nav .dropdown-menu li {
    height: auto;
    width: 100%;
}

.main-nav .dropdown-menu a {
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    width: 100%;
}

.main-nav .dropdown-menu a::after {
    display: none;
}

.main-nav .dropdown-menu a:hover,
.main-nav .dropdown-menu a.active {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding-top: 135px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/about_hero.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
    padding-bottom: 100px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 46px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text-light);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 100px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-light);
}

.slider-dots {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--text-light);
    cursor: pointer;
    background: transparent;
    transition: background 0.3s;
}

.dot.active, .dot:hover {
    background: var(--text-light);
}

/* Features & Articles Section */
.features-articles-section {
    position: relative;
    z-index: 10;
    margin-top: -90px; /* Overlap hero */
    padding-bottom: 80px;
}

.features-articles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.fa-column {
    display: flex;
    flex-direction: column;
}

/* Red Feature Boxes */
.feature-box {
    display: flex;
    align-items: center;
    padding: 40px 35px;
    gap: 25px;
    color: var(--text-light);
    height: 140px;
}

.box-1 { background-color: #0f4c81; }
.box-2 { background-color: #ff9f1c; }
.box-3 { background-color: #1c2236; }

.box-icon {
    font-size: 42px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.box-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.box-text .learn-more-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.9;
}

.box-text .learn-more-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Article Images */
.article-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

.fa-column:hover .article-image img {
    transform: scale(1.05);
}

/* Article Content */
.article-content {
    padding: 45px 35px 55px 35px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-content p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.article-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.article-link i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

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

.article-link:hover i {
    transform: translateX(6px);
}

/* Top Bar */
.top-bar {
    background-color: #111522;
    color: #b3b3b3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 101;
    height: 45px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.top-bar-left a {
    margin-right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.top-bar-left a:hover, .top-bar-links a:hover {
    color: var(--text-light);
}

.top-bar-links {
    display: flex;
    align-items: center;
    height: 100%;
}

.top-bar-links a {
    margin-right: 25px;
    font-size: 13px;
    font-weight: 500;
}

.top-bar-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 25px;
    font-weight: 700;
    font-size: 13px;
    transition: background-color 0.3s;
}

.top-bar-btn:hover {
    background-color: var(--primary-hover);
    color: var(--text-light);
}

/* Inner Page Hero */
.inner-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    padding-top: 135px;
}

.inner-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/about_hero.png');
    background-size: cover;
    background-position: center 20%;
    z-index: -2;
}

.inner-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26,32,53,0.8) 0%, rgba(26,32,53,0.4) 50%, rgba(26,32,53,0.8) 100%);
    z-index: -1;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.inner-hero-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    display: block;
    margin-bottom: 5px;
}

.inner-hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f5f5f5;
    padding: 20px 0;
    font-size: 13px;
    color: #888;
}

.breadcrumbs a {
    color: #333;
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    font-size: 10px;
    margin: 0 10px;
    color: #ccc;
}

.breadcrumbs .current {
    color: var(--primary-color);
}

/* Page Layout */
.page-content {
    padding: 70px 20px;
}

.page-layout {
    display: flex;
    gap: 40px;
}

.page-main {
    flex: 2;
}

.page-sidebar {
    flex: 1;
}

/* Main Content Styles */
.content-main-img {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

.content-heading {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.page-main p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.highlight-text {
    font-size: 18px !important;
    font-weight: 500;
    color: var(--primary-color) !important;
    line-height: 1.6 !important;
    margin: 35px 0 !important;
}

.icon-list {
    margin-bottom: 40px;
}

.icon-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.icon-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary-color);
    font-size: 16px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.action-buttons .btn-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    font-size: 14px;
}

.btn-dark-red {
    background-color: #0f4c81;
}
.btn-dark-red:hover {
    background-color: #ff9f1c;
}

.sub-heading {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

/* Course Curriculum List */
.course-list {
    border-top: 1px solid #eee;
}

.course-list li {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-weight: 600;
}

.course-code {
    color: var(--primary-color);
    width: 80px;
    flex-shrink: 0;
}

.course-name {
    color: var(--primary-color);
    flex-grow: 1;
}

.course-arrow {
    color: var(--primary-color);
    font-size: 12px;
}

/* Sidebar Widgets */
.widget {
    margin-bottom: 40px;
}

.widget-menu {
    background-color: #f5f5f5;
}

.widget-menu .widget-title {
    background-color: #efefef;
    padding: 20px 25px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid var(--primary-color);
}

.widget-menu ul {
    padding: 10px 25px 25px 25px;
}

.widget-menu li {
    border-bottom: 1px solid #e5e5e5;
}

.widget-menu li:last-child {
    border-bottom: none;
}

.widget-menu li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.widget-menu li a:hover {
    color: var(--primary-color);
}

.widget-menu li a i {
    color: var(--primary-color);
    font-size: 12px;
}

.widget-contact {
    background-color: #1f2336;
    padding: 40px 35px;
    color: #b3b3b3;
}

.widget-title-white {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.widget-contact p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.widget-contact .contact-details {
    color: #fff;
    font-weight: 600;
}

.social-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    margin-top: 30px;
}

.widget-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.widget-socials a {
    color: var(--primary-color);
    font-size: 14px;
}

.widget-socials a:hover {
    color: #fff;
}

.btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 0;
}

.widget-event {
    border: 2px solid var(--primary-color);
    padding: 40px 30px;
    text-align: center;
}

.event-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.event-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a2035;
    margin-bottom: 20px;
}

.widget-event p {
    font-size: 13px;
    color: #666;
    margin-bottom: 25px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

/* Contact Page Styles */
.text-center {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.contact-hero {
    height: 450px;
    align-items: center;
    padding-bottom: 0;
}

.contact-hero-bg {
    background-image: url('img/hero.png');
}

.contact-hero-bg::after {
    background: linear-gradient(to right, rgba(204, 41, 43, 0.85) 0%, rgba(204, 41, 43, 0.85) 100%);
}

.contact-hero .inner-hero-title {
    margin-bottom: 10px;
    text-transform: capitalize;
}

.contact-hero .inner-hero-subtitle {
    font-size: 20px;
    font-family: var(--font-body);
    font-weight: 400;
}

.contact-info-section {
    background-color: #1a1a1a;
    padding: 80px 0;
}

.contact-info-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.c-info-box {
    color: #fff;
}

.c-info-icon {
    font-size: 28px;
    color: #fff;
    margin-bottom: 25px;
}

.c-info-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.c-info-desc {
    color: #999;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.c-info-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

.c-info-link:hover {
    color: #fff;
}

.contact-form-section {
    background-color: #f5f5f5;
    padding: 100px 0;
}

.form-header {
    margin-bottom: 50px;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form-header p {
    color: #777;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    border: none;
    background-color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    color: #555;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    box-shadow: 0 0 0 2px rgba(204,41,43,0.3);
}

.btn-submit {
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 20px;
    width: 100%;
    margin-top: 10px;
}

/* About Page Styles */
.about-hero {
    height: 450px;
    align-items: center;
    padding-bottom: 0;
}

.about-hero-bg {
    background-image: url('img/play_stations/playground.jpeg');
    background-position: center 30%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-1 {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    flex: 1;
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 4px;
}

.stat-num {
    display: block;
    font-size: 42px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
}

.mt-4 { margin-top: 30px; }

/* Call to Action Section */
.cta-section {
    position: relative;
    background-color: #1a2035;
    background-image: linear-gradient(to right, rgba(26, 32, 53, 0.1) 0%, rgba(26, 32, 53, 0.95) 50%, rgba(26, 32, 53, 1) 60%), url('img/sports_courts/IMG-20260430-WA0016.jpg.jpeg');
    background-size: cover;
    background-position: center left;
    padding: 120px 0;
}

.cta-container {
    display: flex;
}

.cta-empty-half {
    flex: 1;
}

.cta-content {
    flex: 1;
    color: var(--text-light);
    padding-left: 50px;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.cta-content h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-content p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 520px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 35px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 3px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .features-articles-container {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 60px;
    }
    .features-articles-section {
        margin-top: 0;
    }
    .cta-section {
        background-image: linear-gradient(to bottom, rgba(26, 32, 53, 0.3) 0%, rgba(26, 32, 53, 0.9) 40%, rgba(26, 32, 53, 1) 100%), url('img/sports_courts/IMG-20260430-WA0016.jpg.jpeg');
        padding: 300px 0 80px 0;
    }
    .cta-container {
        flex-direction: column;
    }
    .cta-empty-half {
        display: none;
    }
    .cta-content {
        padding-left: 0;
        text-align: center;
    }
    .cta-content p {
        margin: 0 auto 40px auto;
    }
    .page-layout {
        flex-direction: column;
    }
    .contact-info-container {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    color: var(--text-muted);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 80px 20px 60px;
}

.footer-logo {
    margin-bottom: 35px;
}

.contact-info {
    font-size: 15px;
    line-height: 1.8;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info .phone {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-info .email {
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    cursor: pointer;
}

.contact-info .email::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.contact-info .email:hover::after {
    width: 100%;
}

.footer-heading {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.links-col ul li {
    margin-bottom: 14px;
}

.links-col ul li a {
    font-size: 15px;
    display: inline-block;
    color: var(--text-muted);
}

.links-col ul li a:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

.footer-bottom {
    background-color: var(--footer-bottom-bg);
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: transparent;
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(204, 41, 43, 0.4);
}

.copyright-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.legal-links {
    display: flex;
    gap: 15px;
}

.legal-links a {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.legal-links a:hover {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-nav ul {
        gap: 20px;
    }
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
    .links-col:last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 768px) {
    .header-container {
    position: relative;
        height: auto;
        padding: 20px 0;
        flex-wrap: wrap;
    }
    .main-nav {
        width: 100%;
        margin-top: 20px;
        justify-content: center;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .main-nav a {
        padding: 5px 0;
    }
    .search-icon {
        margin-left: 15px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .links-col:last-child {
        grid-column: auto;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .copyright-section {
        flex-direction: column;
        gap: 10px;
    }
}

/* Dropdown Menu Styles */
.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-radius: 4px;
}

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

.main-nav .dropdown-menu li {
    display: block;
    height: auto;
}

.main-nav .dropdown-menu a {
    color: var(--text-dark);
    padding: 10px 20px;
    display: block;
    height: auto;
    font-weight: 500;
    font-size: 14px;
}

.main-nav .dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: #f8f9fa;
}

.main-nav .dropdown-menu a::after {
    display: none;
}


/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .header-container {
    position: relative;
        justify-content: space-between;
    }
    .main-nav {
        display: none;
        height: auto !important;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 99;
        padding: 20px;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    .main-nav a {
        display: block;
        padding: 15px 0;
    }
    .main-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
    }
    .main-nav .dropdown:hover .dropdown-menu {
        display: block;
    }
}






/* --- COMPLETE MOBILE HEADER FIX --- */
@media (max-width: 991px) {
    /* 1. Top Bar Fix */
    .top-bar {
        display: flex !important;
        flex-direction: column;
        height: auto !important;
        position: relative !important;
        padding: 15px 10px;
        text-align: center;
    }
    .top-bar-container {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    .top-bar-left, .top-bar-right, .top-bar-links {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        gap: 10px;
    }
    .top-bar-left a, .top-bar-links a {
        margin: 5px 0 !important;
        display: block;
    }
    .top-bar-btn {
        margin-top: 10px;
        height: 40px;
        display: inline-flex;
    }

    /* 2. Header Positioning & Overflow Fix */
    .header {
        position: relative !important;
        top: 0 !important;
        width: 100%;
        z-index: 999 !important;
        background-color: #1c2236 !important; /* Solid background so it's readable */
    }
    .header-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 20px !important;
        height: auto !important;
    }
    
    .logo {
        max-width: 70%;
    }

    /* 3. Burger Menu Override */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 10px;
    }

    /* 4. Menu Opening with Content Fix */
    .main-nav {
        display: none;
        height: auto !important; /* Inherit logic from JS */
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #ffffff !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 0 !important;
    }
    .main-nav.active {
        display: block !important;
    }
    .main-nav ul {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .main-nav ul li {
        width: 100% !important;
        margin: 0 !important;
        display: block !important;
    }
    .main-nav ul li a {
        color: #333333 !important;
        padding: 15px 20px !important;
        display: block !important;
        border-bottom: 1px solid #eeeeee;
        font-weight: 600;
    }
    .main-nav ul li a:hover {
        background-color: #f9f9f9;
        color: var(--primary-color) !important;
    }
    .dropdown-menu {
        position: static !important;
        display: none;
        background: #f9f9f9 !important;
        box-shadow: none !important;
        padding-left: 20px !important;
    }
    .dropdown:hover .dropdown-menu {
        display: block !important;
    }
    .dropdown-menu a {
        border-bottom: none !important;
        font-size: 14px !important;
    }
}



