/* Custom Page Title Styles */
.custom-page-title-section {
    --primary-color: #daa233;
    --primary-dark: #b8860b;
    --primary-light: #f4d27e;
    --dark-color: #1a1f36;
    --light-color: #f8f9fa;
    --text-color: #ffffff;
    color: var(--dark-color);
    background-image: url('../img/news-events/uni-melbourne.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Dark overlay */
.custom-page-title-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.custom-page-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(218, 162, 51, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(218, 162, 51, 0.1) 0%, transparent 20%);
    z-index: 1;
}

.custom-page-title-heading {
    padding: 100px 0 80px;
    position: relative;
    z-index: 2;
}

.custom-page-title-heading h1 {
    font-size: 3.2 rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.custom-page-title-heading h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.custom-page-title-heading p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 2rem auto 0;
    line-height: 1.6;
    color: var(--text-color);
}

.custom-page-title-breadcrumbs {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(218, 162, 51, 0.2);
}

.custom-page-title-breadcrumbs a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.custom-page-title-breadcrumbs a:hover {
    color: var(--primary-color);
}

.custom-page-title-breadcrumbs a:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.custom-page-title-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.custom-page-title-breadcrumbs ol li+li {
    padding-left: 15px;
}

.custom-page-title-breadcrumbs ol li+li::before {
    content: "›";
    display: inline-block;
    padding-right: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.custom-page-title-breadcrumbs .current {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Decorative elements */
.custom-page-title-decoration {
    position: absolute;
    z-index: 1;
}

.custom-page-title-decoration-1 {
    top: 20%;
    right: 5%;
    font-size: 5rem;
    color: rgba(218, 162, 51, 0.1);
    transform: rotate(15deg);
}

.custom-page-title-decoration-2 {
    bottom: 20%;
    left: 5%;
    font-size: 4rem;
    color: rgba(218, 162, 51, 0.1);
    transform: rotate(-15deg);
}

.custom-page-title-decoration-3 {
    top: 40%;
    left: 10%;
    font-size: 3rem;
    color: rgba(218, 162, 51, 0.1);
}

/* Stats cards */
.custom-page-title-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.custom-page-title-stat {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    min-width: 150px;
    border-top: 3px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.custom-page-title-stat:hover {
    transform: translateY(-5px);
}

.custom-page-title-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.custom-page-title-stat-text {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* CTA Button */
.custom-page-title-cta {
    margin-top: 40px;
}

.custom-page-title-btn {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(218, 162, 51, 0.3);
}

.custom-page-title-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(218, 162, 51, 0.4);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-page-title-heading {
        padding: 80px 0 60px;
    }

    .custom-page-title-heading h1 {
        font-size: 2.5rem;
    }

    .custom-page-title-heading p {
        font-size: 1.1rem;
    }

    .custom-page-title-decoration {
        display: none;
    }

    .custom-page-title-stats {
        gap: 15px;
    }

    .custom-page-title-stat {
        min-width: 120px;
        padding: 15px;
    }

    .custom-page-title-stat-number {
        font-size: 1.5rem;
    }
}


/* Custom Trainer Member Image */
.custom-member img {
    width: 100%;
    /* Full container width */
    height: 350px;
    /* Fixed height for all images */
    object-fit: cover;
    /* Crop image to fit without stretching */
    border-radius: 10px;
    /* Optional: rounded corners */
}

/* Premium Card Hover Effect for Insights */
.courses .course-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    /* Remove default border for cleaner look */
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Soft initial shadow */
    overflow: hidden;
}

.courses .course-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.courses .course-content {
    padding: 25px;
}

.courses .course-item img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.courses .course-item:hover img {
    transform: scale(1.05);
}

.courses .trainer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
    margin-top: 15px;
}


/* Glassmorphism Header */
.header.sticky-top {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    z-index: 9999 !important;
}

.header.dark-background {
    /* If dark mode is active */
    background: rgba(30, 30, 30, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9999 !important;
}

/* Enhanced Nav Links */
.navmenu a {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.navmenu a:hover,
.navmenu .active {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

/* Dropdown Glass Effect */
.navmenu .dropdown ul {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.navmenu .dropdown ul li {
    transition: background 0.2s ease;
}

.navmenu .dropdown ul li:hover {
    background: rgba(218, 162, 51, 0.05);
}

/* Mobile Nav Glass - Full Screen Override */
.mobile-nav-active .navmenu {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(20, 20, 20, 0.98) !important;
    /* Non-transparent dark background */
    z-index: 10000 !important;
    overflow-y: auto !important;
    /* Allow scrolling content */
    padding-top: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: 100vh !important;
    /* Ensure full viewport height */
}

/* Fix Mobile Menu Text Color & Visibility */
@media (max-width: 1199px) {

    /* Reset List Container */
    .mobile-nav-active .navmenu>ul {
        display: block !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        margin-top: 60px !important;
        /* Clearance for header */
        padding: 20px !important;
        overflow: visible !important;
        transform: none !important;
    }

    /* List Items */
    .navmenu a,
    .navmenu a:focus {
        color: #ffffff !important;
        font-size: 1.1rem;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: flex-start;
        /* Left align */
    }

    .navmenu ul li:last-child a {
        border-bottom: none;
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--primary-color) !important;
        background: transparent !important;
        /* No hover bg, just text color */
        padding-left: 10px;
        /* Slight indent on hover */
    }

    /* Toggle Button */
    .mobile-nav-toggle {
        /* Default state: In header flow */
        color: #ffffff !important;
        position: static !important;
        margin-left: 15px;
        z-index: 10005 !important;
    }

    /* Active State Toggle (Close Button) */
    .mobile-nav-active .mobile-nav-toggle {
        position: fixed !important;
        top: 20px;
        right: 20px;
        z-index: 10005 !important;
    }

    /* Nested Dropdowns - Accordion Logic */
    .navmenu .dropdown ul {
        display: none;
        /* Hidden by default */
        position: relative !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 4px;
        padding: 0 10px 10px 10px !important;
        /* Remove top padding */
        margin: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Show dropdown only when active class is added by JS */
    .navmenu .dropdown ul.dropdown-active {
        display: block !important;
    }

    .navmenu .dropdown ul a {
        color: rgba(255, 255, 255, 0.7) !important;
        padding: 10px 10px 10px 30px !important;
        /* Indent children */
        border: none !important;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover {
        color: #fff !important;
        padding-left: 35px !important;
        /* Slight movement on hover */
        background: transparent !important;
    }
}

/* Global Responsive Fixes */
html,
body {
    overflow-x: hidden !important;
    width: 100%;
}

@media (max-width: 768px) {
    .custom-page-title-heading h1 {
        font-size: 2.2rem;
        /* Prevent large titles causing overflow */
    }
}

/* About Image - Auto Height */
.about-image {
    width: 100%;
    height: auto !important;
    /* Override card-image height */
    object-fit: cover;
}

/* Header Background - Force Black */
.header.dark-background {
    background: #000000 !important;
}

/* Navigation Focus - Remove Box Shape */
.navmenu a:focus,
.mobile-nav-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Ensure mobile toggle is visible without outline */

/* =========================================
   PREMIUM DESIGN UPGRADE - "BLAST" EFFECTS
   ========================================= */

/* 1. Global Polish & Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1f36;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

::selection {
    background: var(--primary-color);
    color: #000;
}

/* 2. Hero "Blast" Animation */
@keyframes textReveal {
    0% {
        transform: translateY(30px);
        opacity: 0;
        filter: blur(10px);
    }

    100% {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero h1 {
    animation: textReveal 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero .hero-gradient {
    /* Richer gradient */
    background: linear-gradient(90deg, #daa233, #f4d27e, #b8860b, #daa233);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 6s ease infinite;
}

.hero p {
    animation: textReveal 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
    opacity: 0;
    /* Initial state for animation */
}

/* 3. Glassmorphism & Card Glow */
.course-item,
.features-item,
.member,
.why-box,
.service-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy spring */
    z-index: 1;
}

/* Glow Effect Element */
.course-item::after,
.features-item::after,
.member::after,
.why-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.course-item:hover,
.features-item:hover,
.member:hover,
.why-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(218, 162, 51, 0.3) !important;
}

.course-item:hover::after,
.features-item:hover::after,
.member:hover::after,
.why-box:hover::after {
    transform: scaleX(1);
}

/* Icon Animation in Cards */
.features-item i,
.icon-box i {
    transition: transform 0.4s ease;
    display: inline-block;
}

.features-item:hover i,
.icon-box:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-dark) !important;
}

/* 4. Button "Shimmer" */
@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.btn-getstarted,
.btn,
.custom-page-title-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add shimmer overlay */
.btn-getstarted::before,
.btn::before,
.custom-page-title-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-25deg);
    transition: none;
}

/* Trigger shimmer on hover */
.btn-getstarted:hover::before,
.btn:hover::before,
.custom-page-title-btn:hover::before {
    animation: shimmer 1s;
}

.btn-getstarted:hover,
.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(218, 162, 51, 0.4);
}

/* 5. Mobile Nav Toggle Polish */
.mobile-nav-toggle {
    background: rgba(0, 0, 0, 0.5) !important;
    /* Semi-transparent backing */
    backdrop-filter: blur(4px);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-nav-toggle:active {
    transform: scale(0.9);
}

/* 6. Section Titles */
.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.section-title:hover h2::after {
    width: 80px;
}

/* =========================================
   UNIVERSITIES PAGE REDESIGN
   ========================================= */

.university-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
}

.university-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(218, 162, 51, 0.15);
    border-color: rgba(218, 162, 51, 0.3);
}

.university-img-box {
    position: relative;
    overflow: hidden;
    height: 240px;
    border-bottom: 3px solid var(--primary-color);
}

.university-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.university-card:hover .university-img-box img {
    transform: scale(1.1);
}

.university-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.7));
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.university-content {
    padding: 25px;
    text-align: center;
    position: relative;
}

.university-content h4 {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.university-location {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(218, 162, 51, 0.1);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.university-desc {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.university-social {
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.university-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.university-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(360deg);
}

/* Badge for "Top Rated" or similar if needed in future */
.university-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(218, 162, 51, 0.4);
}

/* =========================================
   INSIGHTS PAGE (Journal Style)
   ========================================= */

.insight-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: rgba(218, 162, 51, 0.2);
}

.insight-img-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    height: 220px;
}

.insight-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.insight-card:hover .insight-img-box img {
    transform: scale(1.05);
}

.insight-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.insight-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.insight-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.insight-content h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s;
}

.insight-content h3 a:hover {
    color: var(--primary-color);
}

.insight-content .description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.insight-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.insight-more i {
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.insight-more:hover i {
    margin-left: 10px;
}


/* =========================================
   NEWS PAGE (Broadcast Style)
   ========================================= */

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
}

.news-img-box {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-box img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}

.news-content {
    padding: 22px;
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
}

.news-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content .description {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 2px;
    transition: all 0.3s;
}


/* =========================================
   MOBILE FOOTER UPGRADE
   ========================================= */

@media (max-width: 768px) {
    .footer .footer-top {
        text-align: center !important;
        padding-top: 40px;
    }

    .footer .footer-about,
    .footer .footer-contact,
    .footer .social-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer .logo {
        margin-bottom: 20px;
        justify-content: center;
        /* Center logo image */
    }

    .footer .social-links {
        flex-direction: row;
        /* Keep social icons horizontal */
        margin-top: 25px;
        margin-bottom: 30px;
        gap: 15px;
    }

    .footer h4 {
        margin-top: 30px;
        text-transform: uppercase;
        font-size: 1rem;
        letter-spacing: 1px;
        border-bottom: 1px solid var(--primary-color);
        display: inline-block;
        padding-bottom: 10px;
        margin-bottom: 20px;
        color: var(--primary-color);
    }

    .footer ul {
        padding: 0;
        margin: 0;
    }

    .footer ul li {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        /* Subtle dividers */
    }

    .footer ul li:first-child {
        padding-top: 0;
    }

    .footer ul li:last-child {
        border-bottom: none;
    }

    .footer .newsletter-form {
        margin: 0 auto;
        /* Center the form */
        max-width: 100%;
    }

    .copyright {
        text-align: center !important;
        margin-top: 40px !important;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .credits {
        margin-top: 10px;
    }
}