﻿:root {
    --primary-color: #004aad;
    /* Richer Blue */
    --accent-color: #70A344;
    /* Match Figma Green exactly */
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --dark: #1a1a1a;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-pill: 50px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background: url('../images/body_bg.png') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1rem;
}

a {
    transition: all 0.3s ease;
    text-decoration: none !important;
}

/* Button Utilities */
.btn-custom {
    background: var(--accent-color);
    color: var(--white);
    border-radius: var(--radius-pill);
    padding: 12px 35px;
    font-weight: 500;
    text-transform: capitalize;
    /* Changed from uppercase to match design */
    border: none;
    box-shadow: 0 4px 15px rgba(112, 163, 68, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1.1rem;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-custom:hover::before {
    width: 100%;
}

.btn-custom:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(112, 163, 68, 0.5);
}

/* Navbar Styles */
.navbar {
    height: 100px;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0;
    /* justify-content: center; Removed to allow left alignment */
}

.navbar .nav-link {
    color: #333 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px !important;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.navbar .nav-link i {
    font-size: 0.7rem;
    margin-top: 2px;
    margin-left: 5px !important;
    color: #333;
}

.navbar .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar .nav-link:hover i {
    color: var(--accent-color);
}

.navbar-brand img {
    max-height: 60px;
}

/* Scrolled State (added by JS) */
/* The following rules are now redundant as the navbar is always white */
/*
.navbar.bg-white {
    background: #FFFFFF !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.navbar.bg-white .nav-link,
.navbar.bg-white .fas {
    color: #333 !important;
}

.navbar.bg-white .nav-link:hover,
.navbar.bg-white .nav-link:hover i {
    color: var(--accent-color) !important;
}

.navbar.bg-white .navbar-brand img {
    filter: none;
}
*/

/* Contact Info Box Refinements */
.contact-info-box {
    border-radius: 0;
    /* Full width strip */
}

/* Custom Colors for Icons */
.text-india-gold {
    color: #E88C30;
    /* Golden Orange */
}

.text-aus-blue {
    color: #4A90E2;
    /* Sydney Blue */
}

.text-dark-icon {
    color: #2c3e50;
    /* Dark Grey for small icons */
    font-size: 1.1rem;
}

.contact-address {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

@media (min-width: 768px) {
    .border-right-custom {
        border-right: none;
    }
}


/* Footer Styles */
.footer-new {
    background-color: #024376;
    position: relative;
    overflow: hidden;
    /* font-weight: 700; Removed global bold */
}

.footer-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/footer_sydney.png') no-repeat center bottom;
    /* background-size: contain; Removed */
    /* Adjusted to contain/cover as needed, usually cover for full width */
    background-size: cover;
    opacity: 0.15;
    /* Subtle overlay */
    z-index: 0;
    pointer-events: none;
}

/* Logo: Display original colors, no filter */
.footer-new .img-fluid {
    /* filter: brightness(0) invert(1); Removed filter */
    opacity: 1;
    /* Full opacity */
}

.footer-new .container {
    position: relative;
    z-index: 1;
}

.footer-new h5 {
    font-weight: 500;
    /* Headers bold */
    font-size: 1.1rem;
}

.text-light-gray {
    color: #e0e0e0;
    font-weight: 400;
    /* Regular text for links/paragraphs */
    font-size: 0.95rem;
}

/* Remove default dropdown toggle as we added custom icon */
.dropdown-toggle::after {
    display: none;
}

/* Glossy Social Icons */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #fff !important;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.social-btn i {
    z-index: 2;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

/* Facebook - Blue Sphere */
.facebook-glossy {
    background: radial-gradient(circle at 30% 30%, #4facfe, #00f2fe);
    background: radial-gradient(circle at 35% 35%, #58c8f5, #225c9e);
    border-radius: 50%;
}

/* Instagram - Gradient Rounded Square */
.instagram-glossy {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 12px;
}

/* LinkedIn - Blue Glossy Box */
.linkedin-glossy {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    background: linear-gradient(to bottom right, #4facfe, #0072b1);
    border-radius: 8px;
}

/* YouTube - Red Glossy Box */
.youtube-glossy {
    background: linear-gradient(135deg, #ff512f 0%, #dd2476 100%);
    background: linear-gradient(to bottom, #ff512f, #cf0000);
    border-radius: 10px;
    width: 55px;
    /* youtube often wider */
}

/* Glossy Shine Overlay */
.social-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: inherit;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
    pointer-events: none;
}

.btn-student-login {
    background: linear-gradient(180deg, #8CCB26 0%, #76C043 100%);
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(112, 163, 68, 0.3);
    border: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-student-login:hover {
    background-color: #5e8a39;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(112, 163, 68, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('../images/hero_bg_sydney.png');
    background-size: cover;
    background-position: center bottom;
    padding: 180px 0 100px;
    /* Keep padding for fixed nav */
    color: var(--white);
    min-height: 85vh;
    /* Slightly reduced height */
    display: flex;
    align-items: center;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 67, 118, 0.6);
    /* Blue overlay, tweaked opacity */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.hero-title {
    font-size: 72px;
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.03em;
    margin-bottom: 25px;
    color: #ffffff;
}

.hero-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.hero-bullets li {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0;
    position: relative;
    padding-left: 0;
    /* Icon handles spacing */
    opacity: 1;
    display: flex;
    align-items: flex-start;
}

.hero-bullet-icon {
    font-size: 0.4rem;
    /* Smaller bullet */
    margin-top: 10px;
    margin-right: 12px !important;
    opacity: 0.8;
}

/* Email CTA Box Design */
.email-cta-box {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: #FFFBFB;
    padding: 0 0 0 25px !important;
    border-radius: 50px;
    border: 1px solid var(--accent-color);
    max-width: 550px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.email-cta-input {
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    padding-left: 0 !important;
    height: 54px;
    background: transparent;
    border: none;
}

.email-cta-input::placeholder {
    color: var(--accent-color);
    opacity: 0.7;
    font-weight: 400;
}

.email-cta-container button {
    background: #8CCB26;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    height: 54px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(106, 159, 65, 0.3);
    transition: all 0.3s;
    margin: 0 -1px -1px 0;
    /* Slight overlap to ensure clean edge with container border */
}

.email-cta-container button:hover {
    background: #5e8a39;
    transform: translateY(-1px);
}

/* Mobile adjustments if needed */
@media (max-width: 768px) {
    .email-cta-box {
        flex-direction: column;
        border-radius: 20px !important;
        padding: 15px !important;
        background: rgba(255, 255, 255, 0.95);
    }

    .email-cta-input {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
        padding-left: 0 !important;
    }

    .email-cta-container button {
        width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
        /* Further reduced for better fit */
    }

    .hero-section {
        padding-top: 120px;
        /* Reduced from 180px */
        padding-bottom: 60px;
    }

    /* Add overlay for better text readability on mobile */
    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        /* Darken background slightly */
        z-index: 0;
    }

    .hero-section .container {
        z-index: 2;
        /* Ensure content is above overlay */
    }
}

/* Enhanced Mobile Responsive Fixes for screens up to 576px */
@media (max-width: 576px) {

    /* Navbar and Logo Fixes */
    .navbar {
        height: auto;
        padding: 10px 0;
    }

    .navbar-brand img {
        max-height: 45px !important;
        width: auto;
    }

    .navbar-toggler {
        padding: 5px 10px;
        font-size: 1.2rem;
    }

    /* Hero Section Mobile Fixes */
    .hero-section {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 20px;
        word-wrap: break-word;
    }

    .hero-bullets-list {
        margin-bottom: 30px !important;
    }

    .hero-bullets li {
        font-size: 14px !important;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .hero-bullet-icon {
        font-size: 0.35rem !important;
        margin-top: 6px;
    }

    /* Email CTA Mobile */
    .email-cta-box {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .email-cta-input {
        font-size: 0.9rem;
        height: 48px;
    }

    .email-cta-container button {
        height: 48px;
        font-size: 0.9rem;
        padding: 0 25px;
    }

    /* Hero Stats Mobile */
    .hero-section .stat-circle-v2 {
        width: 50px !important;
        height: 50px !important;
        margin-right: 10px !important;
    }

    .hero-section .stat-circle-v2 i {
        font-size: 20px !important;
    }

    .hero-section .stat-number-v2 {
        font-size: 22px !important;
    }

    .hero-section .stat-label-v2 {
        font-size: 12px !important;
    }

    /* About Section Mobile */
    .about-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    /* Fix "Leading Overseas Education Consultants" text overflow */
    #about-section h4.text-nowrap {
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .about-subtitle,
    .text-secondary-blue {
        font-size: 1rem !important;
    }

    .about-text {
        font-size: 14px !important;
        line-height: 1.7;
    }

    .about-main-img {
        height: 280px !important;
    }

    .about-overlay-btn-container {
        bottom: 20px;
        padding: 0 10px;
    }

    .btn-about-overlay {
        font-size: 14px;
        padding: 0 25px;
        height: 45px;
    }

    /* Certifications Mobile */
    .cert-bar-container {
        margin-top: 40px;
        padding: 20px 15px !important;
    }

    .cert-bar-container img {
        max-height: 45px !important;
    }

    .cert-bar-container p {
        font-size: 11px !important;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 1.75rem !important;
    }

    .reviews-section-title {
        font-size: 1.5rem !important;
    }

    .blog-section-title {
        font-size: 1.75rem !important;
    }

    .blog-section-subtitle {
        font-size: 14px !important;
        width: 100% !important;
    }

    .counselling-section-title {
        font-size: 1.75rem !important;
    }

    /* Timeline/Process Section Mobile */
    .timeline-new {
        padding-left: 15px;
    }

    .timeline-item {
        padding-left: 30px;
        margin-bottom: 40px;
    }

    .timeline-marker {
        width: 24px;
        height: 24px;
        left: -30px;
    }

    .timeline-content h4 {
        font-size: 1.1rem !important;
    }

    .form-input-premium {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .btn-pill-white {
        padding: 6px 20px;
        font-size: 0.85rem;
        min-width: auto;
    }

    .btn-submit-success {
        padding: 10px 35px;
        font-size: 1rem;
    }

    /* Service Cards Mobile */
    .service-card {
        margin-top: 20px;
        padding: 15px;
    }

    .icon-box {
        margin-top: -40px;
    }

    .service-card h5 {
        font-size: 1rem !important;
    }

    /* Course Cards Mobile */
    .course-card {
        padding: 20px;
    }

    .course-card h5 {
        font-size: 1rem !important;
    }

    .course-card .btn {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
    }

    /* Review Cards Mobile */
    .review-img {
        width: 120px !important;
        height: 120px !important;
    }

    .review-text {
        font-size: 0.85rem !important;
    }

    .review-author {
        font-size: 1rem !important;
    }

    /* Blog Cards Mobile */
    .blog-img {
        height: 180px !important;
    }

    /* Counselling Form Mobile */
    .counselling-img-large {
        max-width: 250px;
        margin: 0 auto;
    }

    .counselling-form-container {
        padding: 25px 20px !important;
    }

    .form-control-minimal {
        font-size: 0.9rem;
        padding: 12px 15px;
    }

    .btn-green-solid {
        font-size: 1rem !important;
        padding: 12px 30px !important;
    }

    /* General Mobile Spacing */
    .section-padding {
        padding: 30px 0 !important;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Fix text overflow */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Prevent horizontal scroll */
    body,
    html {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    /* Partner Logos Mobile */
    .partner-logo-item img {
        max-height: 60px !important;
        height: 60px !important;
    }

    .partner-logo-item img.partner-logo-lg {
        height: 80px !important;
        max-height: 80px !important;
    }

    /* Counselor Image Mobile */
    .counselor-img-container {
        padding: 10px;
    }

    .counselor-img-container img {
        max-height: 350px !important;
    }

    /* OTP Modal Mobile */
    .modal-dialog {
        margin: 10px;
    }

    .otp-input {
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }

    /* Button Adjustments */
    .btn-student-login {
        font-size: 0.85rem;
        padding: 8px 20px;
    }

    .btn-cta-green {
        font-size: 0.9rem !important;
    }
}

.email-cta-input::placeholder {
    color: #555;
    /* Darker placeholder for better visibility */
    opacity: 0.8;
}

.search-input::placeholder {
    color: #999;
    font-weight: 300;
}

/* Navbar Dropdown Enhancements */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    margin-top: 15px;
    padding: 10px;
    display: block;
    /* For animation purposes mostly handled by JS but here we prepare */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.2s;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f0f7ff;
    color: var(--primary-color);
    padding-left: 20px;
}



/* Hero Stats Cards */
.hero-stats-container {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon-box {
    width: 55px;
    height: 55px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-info h5 {
    margin: 0;
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
    font-weight: 500;
}

/* Restored Stats Section Design V2 (White Circles + Green Numbers) */
.hero-section .stat-circle-v2 {
    width: 70px !important;
    height: 70px !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    margin-right: 15px !important;
}

.hero-section .stat-circle-v2 i {
    color: #999999 !important;
    /* Grey icon inside white circle */
    font-size: 28px !important;
}

.hero-section .stat-number-v2 {
    color: #70A344 !important;
    /* Green numbers (accent color hex) */
    font-size: 32px !important;
    font-weight: 800 !important;
    display: block !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
}

.hero-section .stat-label-v2 {
    color: #ffffff !important;
    /* White labels */
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
}

/* Section Utilities */
.section-padding {
    padding: 40px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}


.section-title::after {
    display: none;
}


/* Mobile Navbar Enhancements */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        box-shadow: none;
        padding-left: 20px;
        background: #f8f9fa;
        margin-top: 5px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: none;
        /* Let bootstrap handle toggle */
    }

    .dropdown-menu.show {
        display: block;
    }

    /* Fix navbar container padding on mobile */
    .navbar .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Timeline Process Section */
.timeline {
    position: relative;
    padding-left: 30px;
    border-left: none;
    /* Removing default border to use a better line */
}

.timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #e9ecef;
}

.timeline li {
    position: relative;
    margin-bottom: 50px;
    padding-left: 15px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline li:hover::before {
    background: var(--accent-color);
    box-shadow: 0 0 0 5px rgba(118, 192, 67, 0.2);
    transform: scale(1.2);
}

.timeline h5 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.custom-radio-group .btn {
    border: 2px solid #e9ecef;
    color: #6c757d;
    background: #fff;
    border-radius: 12px;
    padding: 10px 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.custom-radio-group .btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.custom-radio-group .btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(118, 192, 67, 0.3);
}




.bg-light-blue-custom {
    background-color: #eaf3ff !important;
}

.bg-alice-blue-custom {
    background: url('../images/frame_bg.png') no-repeat center center;
    background-size: cover;
}

.form-container-premium {
    background-color: #f2f7ff !important;
    border: 1px solid #e1e8f5 !important;
    box-shadow: 0 10px 30px rgba(0, 34, 68, 0.05) !important;
}

.form-control-custom {
    background-color: #ffffff !important;
    border: 1px solid #e1e8f5 !important;
    padding: 25px 20px !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    color: #333 !important;
}

.form-control-custom:focus {
    border-color: #70A344 !important;
    box-shadow: 0 0 0 0.2rem rgba(112, 163, 68, 0.1) !important;
}


.text-accent {
    color: var(--accent-color);
    font-weight: 700;
}

.text-dark-blue {
    color: #002244;
}

/* =========================================================
   ABOUT SECTION â€“ FIGMA MATCHED (FINAL)
   ========================================================= */

#about-section {
    padding: 30px 0 50px 0;
    background: url('../images/frame_bg.png') no-repeat center center;
    background-size: cover;
}

/* Container */
#about-section .container {
    max-width: 1200px;
}

/* Row alignment */
#about-section .row {
    align-items: center;
}

/* ---------------------------------------------------------
   LEFT CONTENT
   --------------------------------------------------------- */

.about-content {
    max-width: 560px;
    /* critical for Figma look */
}

/* Top label */
.about-label,
#about-section h4 {

    letter-spacing: 0.3px;
    margin-bottom: 14px;
    padding-top: 25px;
}


/* Main heading */
.about-title {
    font-size: 2.2rem;
    color: #002244;
    line-height: 1.2;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

/* Subtitle */
.about-subtitle {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
    color: #444;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.text-secondary-blue {
    color: #4A6fa5;
    font-weight: 523;
}

/* Paragraph text */
.about-text {
    font-size: 15px;
    line-height: 1.8;
    color: #000000 !important;
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* ---------------------------------------------------------
   RIGHT IMAGE CARD
   --------------------------------------------------------- */

.about-image-wrapper {
    position: relative;
    border-radius: 41px;
    overflow: visible;
    /* Changed to visible to let shadow show well */
    background: transparent;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: none;
    transition: all 0.3s ease;
    /* Removed height: 100% to allow natural height */
}

/* Image */
.about-main-img {
    width: 100%;
    height: 420px;
    /* Fixed small height as requested */
    border-radius: 41px;
    display: block;
    object-fit: cover;
    object-position: top center;
}

/* ---------------------------------------------------------
   CTA BUTTON (OVER IMAGE)
   --------------------------------------------------------- */

.about-overlay-btn-container {
    position: absolute;
    bottom: 30px;
    /* Move inside the image as per Figma */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 5;
    padding: 0 15px;
    /* Add padding to prevent button touching edges */
}

@media (max-width: 576px) {
    .about-overlay-btn-container .btn {
        margin-right: 0 !important;
        /* Remove right margin on mobile */
    }
}

.btn-about-overlay {
    height: 52px;
    padding: 0 35px;
    border-radius: 50px;
    background: #70A344;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border: none;
    box-shadow: 0 8px 20px rgba(112, 163, 68, 0.3);
    transition: all 0.3s ease;
}

.about-cta:hover,
.btn-about-overlay:hover {
    background: #6AA836;
    transform: translateX(-50%) translateY(-2px);
}

/* ---------------------------------------------------------
   CERTIFICATION BAR
   --------------------------------------------------------- */

.cert-bar-container {
    margin-top: 80px;
    background: url('../images/cert_bg_frame.png') no-repeat center center;
    background-size: 100% 100%;
    border-radius: 25px;
    padding: 35px 30px;
    box-shadow: none;
}

.cert-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cert-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.cert-item img {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.cert-item p {
    font-size: 13px;
    font-weight: 600;
    color: #0A2540;
    line-height: 1.4;
    margin: 0;
    text-transform: none;
}

/* ---------------------------------------------------------
   RESPONSIVE (MOBILE & TABLET)
   --------------------------------------------------------- */

@media (max-width: 992px) {
    #about-section {
        padding: 80px 0;
    }

    .about-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .about-title {
        font-size: 34px;
    }

    .about-image-card img {
        height: 360px;
    }

    .cert-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 30px;
    }

    .about-subtitle {
        font-size: 16px;
    }

    .about-text {
        font-size: 15px;
    }

    .about-image-card img {
        height: 300px;
    }
}



/* Service Cards */
.service-card {
    background: #FAFAFA;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 20px;
    height: 100%;
    position: relative;
    z-index: 1;
    text-align: left;
    margin-top: 30px;
    overflow: visible;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(118, 192, 67, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: transparent;
    margin-top: -50px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.icon-box img {
    height: 60px !important;
    width: auto;
    object-fit: contain;
}

.service-card:hover .icon-box {
    background: transparent;
    transform: scale(1.1);
}

.text-dark-blue {
    color: #002244 !important;
}

/* Course Card Buttons */
.btn-connect-expert {
    background-color: #6a9f41;
    /* Adjust to match the solid olive green */
    border-color: #6a9f41;
    color: white;
}

.btn-connect-expert:hover {
    background-color: #5a8f31;
    border-color: #5a8f31;
    color: white;
}

.course-card .btn {
    white-space: nowrap;
    font-size: 0.8rem;
    /* Slightly reduce font size if needed to fit */
    padding-left: 10px;
    padding-right: 10px;
}

.btn-chat-gradient {
    background: linear-gradient(135deg, #024D64 0%, #0DCAD2 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-chat-gradient:hover {
    background: linear-gradient(135deg, #023e52 0%, #0abac0 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(2, 77, 100, 0.4);
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    font-size: 1.1rem;
}

/* Popular Course Cards - New Design */
.course-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.course-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.course-header {
    margin-bottom: 20px;
    position: relative;
}

.course-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 2px;
}

.course-subtitle {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.uni-logo-placeholder {
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 900;
    font-size: 1.5rem;
    color: #000;
    letter-spacing: -1px;
}

.course-details {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.detail-label {
    color: #888;
    margin-bottom: 2px;
    font-weight: 500;
}

.detail-value {
    color: #000;
    font-weight: 600;
    margin-bottom: 12px;
}

.intake-badge {
    display: inline-block;
    background: #ffc107;
    /* Yellowish orange from image */
    color: #000;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.btn-connect {
    background-color: #28a745;
    /* Green from image */
    color: #fff;
    border: none;
    border-radius: 50px;
    width: 100%;
    padding: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-connect:hover {
    background-color: #218838;
    color: #fff;
    transform: none;
    /* Reset distinct hover transform for this button style */
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.chat-btn-container {
    text-align: center;
    margin-top: 40px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #5cce65, #3db94a);
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(92, 206, 101, 0.4);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    border: 3px solid #fff;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(92, 206, 101, 0.5);
    color: #fff;
}

/* Testimonial Card */
.testimonial-card {
    transition: all 0.4s;
    border-left: 5px solid var(--accent-color);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}





.testimonial-card .fa-quote-left {
    opacity: 0.1;
    font-size: 4rem;
    position: absolute;
    top: 20px;
    right: 30px;
}

/* Legacy footer styles removed to avoid conflicts with .footer-new */

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        /* Reduce font size on mobile */
    }

    .search-box-pill {
        flex-direction: column;
        border-radius: 20px !important;
        /* Adjust border radius for stacked layout */
        height: auto !important;
        padding: 15px !important;
        background: #fff;
        /* Ensure visibility */
    }

    .search-box-pill .flex-grow-1 {
        width: 100%;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .search-box-pill button {
        width: 100%;
        margin: 0 !important;
    }

    .hero-stats-container {
        margin-top: 30px;
    }
}

/* New Process Timeline Styles - RE-APPLYING */
/* .bg-alice-blue-customre-definition removed/merged above */

.timeline-new {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #6A9F41;
    /* Thinner line */
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 60px;
}

.timeline-marker {
    position: absolute;
    left: -36px;
    /* Tweaking to -36px for visual perfection based on 2px border */
    top: 0px;
    width: 32px;
    height: 32px;
    background: #6A9F41;
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 0 5px #F0F8FF;
}

/* Counselor Image Styling */
.counselor-img-container {
    position: relative;
    display: inline-block;
    z-index: 1;
    padding: 20px;
}



.form-input-premium {
    background: #E8F0FE;
    /* Light Blue Input Background */
    border: 1px solid #d0e0f0;
    border-radius: 50px;
    /* Pill shape */
    padding: 12px 25px;
    height: auto;
    font-size: 1rem;
    color: #495057;
}

.form-input-premium:focus {
    background: #fff;
    border-color: #6A9F41;
    box-shadow: none;
}

.btn-pill-white {
    background: #E8F0FE;
    /* Light Blue Btn Background */
    border: 1px solid #dae5f5;
    border-radius: 50px;
    padding: 8px 30px;
    color: #555;
    font-weight: 500;
    transition: all 0.3s;
    min-width: 100px;
}

.btn-pill-white:hover,
.btn-pill-white.active {
    background: #6A9F41;
    color: #fff;
    border-color: #6A9F41;
}

.btn-submit-success {
    background: #6A9F41;
    color: #fff;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    padding: 12px 50px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(106, 159, 65, 0.3);
    transition: all 0.3s;
}

.btn-submit-success:hover {
    background: #588734;
    color: #fff;
    transform: translateY(-2px);
}

.timeline-content h4 {
    font-size: 1.5rem;
    color: #002244;
    /* Dark Navy */
    margin-bottom: 20px;
}

/* Partner Universities */
.partner-logo-item img {
    max-height: 80px;
    height: 80px;
    /* Force uniform height */
    width: auto;
    object-fit: contain;
    /* Prevent distortion */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-item img.partner-logo-lg {
    height: 110px;
    /* Increase size for specific logos */
    max-height: 110px;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo-placeholder {
    background: white;
    border: 1px solid #eee;
    padding: 15px 10px;
    border-radius: 8px;
    color: #555;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 100%;
}

/* New Course Card Styles */
.course-card-new {
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.course-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.university-logo-placeholder-sm {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #002244;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.badge-warning {
    background-color: #FFCC00;
    color: #212529;
}

.section-bg-white {
    background-color: #ffffff !important;
    position: relative;
    z-index: 1;
    /* Ensure it covers body bg */
}

/* Google Reviews */
.review-img-wrapper {
    display: inline-block;
    padding: 10px;
}

.review-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 5px solid #fff;
}

.review-content {
    background: transparent;
}

.reviews-section-title {
    font-size: 35px;
    font-weight: 500;
    color: #002244;
    font-family: 'Montserrat', sans-serif;
}

.blog-section-title {
    font-size: 50px;
    font-weight: 500;
    color: #002244;
    font-family: 'Montserrat', sans-serif;
}

.blog-section-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #002244;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
    margin-bottom: 30px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
}

/* Custom Indicators */
.custom-indicators li {
    width: 10px;
    height: 10px;
    background-color: #d1d5db;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
    border: none;
    opacity: 1;
}

.custom-indicators .active {
    background-color: #002244;
}

/* Blog Styles */
.blog-card {
    transition: all 0.3s ease;
    border: none;
    background: white;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.bg-success-gradient {
    background: linear-gradient(to top, #6A9F41, rgba(106, 159, 65, 0.7));
}

.section-title span.text-success {
    color: #6A9F41 !important;
}

.bg-light-gray {
    background-color: #e5e7eb;
}

.bg-dark-blue {
    background-color: #002244;
}

.counselling-section-title {
    font-size: 50px !important;
    font-weight: 500 !important;
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.2 !important;
}

.counselling-subtitle {
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #444 !important;
    margin-top: 10px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.counselling-form-container {
    background-color: #F5F5F4 !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 3rem 2rem 2rem 2rem !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
}

.form-corner-circle {
    display: none !important;
}

.circle-top-left {
    top: 15px !important;
    left: 15px !important;
}

.circle-top-right {
    top: 15px !important;
    right: 15px !important;
}

.circle-bottom-left {
    bottom: 15px !important;
    left: 15px !important;
}

.circle-bottom-right {
    bottom: 15px !important;
    right: 15px !important;
}

.form-control-minimal {
    background: white !important;
    border: 1px solid #dae1e7 !important;
    border-radius: 8px !important;
    height: 55px !important;
    font-size: 0.95rem !important;
    padding-left: 15px !important;
    transition: all 0.3s ease !important;
}

.form-control-minimal:focus {
    border-color: #39a9ff !important;
    box-shadow: 0 0 10px rgba(57, 169, 255, 0.2) !important;
    outline: none !important;
}

.form-control-minimal::placeholder {
    color: #999;
}

.textarea-minimal {
    height: auto !important;
    padding-top: 15px !important;
}

.btn-green-solid {
    background-color: #70A344 !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    padding: 12px 30px !important;
    font-size: 1rem !important;
    border: none !important;
    transition: all 0.3s !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-green-solid:hover {
    background-color: #5d8b36 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(112, 163, 68, 0.3) !important;
}

.counselling-img-large {
    border-radius: 41px !important;
    box-shadow: 0 15px 45px rgba(0, 34, 68, 0.15) !important;
}

.help-text-confidential {
    color: #666;
    font-size: 0.85rem;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Footer */
.footer-section {
    background-color: #002244;
    min-height: 400px;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/footer_sydney.png') no-repeat center bottom;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.z-index-1 {
    position: relative;
    z-index: 1;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    text-decoration: none !important;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: white;
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #166fe5 100%);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon.youtube {
    background: #ff0000;
}

/* Partner Logos Slider */
.partner-slider-container {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.partner-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.partner-logo-item img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.partner-logo-item img:hover {
    transform: scale(1.1);
}

/* Mobile Adjustments for Slider handled by Owl Carousel Responsive Config */

/* New Footer & Contact Info Box Styles */

.contact-info-box {
    position: relative;
    z-index: 20;
    width: 100%;
    margin: 0 auto;

    border-radius: 0;
    /* Sky blue top border like in design */
}

.pt-custom-150 {
    padding-top: 150px;
}

.text-dark-blue {
    color: #002244;
}

.text-light-gray {
    color: #b0b0b0;
    font-weight: 300;
}

.text-light-gray:hover {
    color: #fff;
    text-decoration: none;
}

.footer-contact-list li a:hover,
.footer-links li a:hover {
    color: #fff !important;
    padding-left: 5px;
    transition: all 0.3s;
}

.social-icons-footer {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

/* Consolidated Premium Footer Design */
.social-btn {
    width: 55px !important;
    height: 55px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
    font-size: 1.8rem !important;
    position: relative !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), inset 0 -4px 6px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
    margin-right: 0px !important;
}

.social-btn:hover {
    transform: translateY(-8px) scale(1.1) !important;
    color: #ffffff !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.3), inset 0 -4px 6px rgba(0, 0, 0, 0.2) !important;
}

.social-btn.facebook {
    background: linear-gradient(135deg, #42a5f5 0%, #1877F2 50%, #1056ad 100%) !important;
}

.social-btn.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #00a0dc 0%, #0077b5 50%, #004d76 100%) !important;
}

.social-btn.youtube {
    background: linear-gradient(135deg, #ff5252 0%, #FF0000 50%, #cc0000 100%) !important;
}

.social-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 5px !important;
    left: 20% !important;
    width: 60% !important;
    height: 40% !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)) !important;
    border-radius: 50% 50% 20% 20% !important;
    pointer-events: none !important;
}

.footer-new h5 {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: #ffffff !important;
    margin-bottom: 30px !important;
    letter-spacing: -0.2px !important;
}

.footer-new .follow-more-label {
    margin-bottom: 30px !important;
    display: block;
}

.footer-links a,
.footer-contact-list a {
    color: #ffffff !important;
    font-weight: 500 !important;
    transition: all 0.3s !important;
    font-size: 17px !important;
    line-height: 2.16 !important;
    letter-spacing: -0.03em !important;
    display: inline-block !important;
    opacity: 1 !important;
    text-decoration: none !important;
    margin-bottom: 0 !important;
}

.footer-links a:hover,
.footer-contact-list a:hover {
    opacity: 1 !important;
    transform: translateX(5px) !important;
}

.text-light-gray {
    color: #ffffff !important;
    font-weight: 500 !important;
    opacity: 1 !important;
    line-height: 1.6 !important;
}

.footer-new {
    background: linear-gradient(rgba(2, 67, 118, 0.95), rgba(2, 67, 118, 0.95)), url('../images/footer_sydney.png');
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 200px !important;
    padding-bottom: 100px !important;
}

@media (max-width: 768px) {
    .footer-new {
        padding-top: 100px !important;
        /* Reduced for mobile */
        padding-bottom: 50px !important;
    }

    .contact-info-box .row>div {
        margin-bottom: 30px;
        /* Add spacing between India and Aus sections */
    }

    .contact-info-box .row>div:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .course-card .d-flex.justify-content-between.align-items-center.mt-auto {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
    }

    .course-card .btn {
        width: 100%;
        margin-bottom: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Utility Overrides */
.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}

/* Ultra-Small Mobile Devices (iPhone SE, Galaxy Fold outer screen, etc.) */
@media (max-width: 360px) {
    .section-title {
        font-size: 2.2rem;
        /* Scale down from 2.8rem */
    }

    .about-title {
        font-size: 1.8rem;
        /* Scale down from 2.2rem */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-bullets li {
        font-size: 15px;
        /* Slightly smaller text */
    }

    .contact-info-box {
        padding: 30px 20px !important;
        /* Reduce padding */
    }

    /* Ensure certificates wrap nicely */
    .cert-item {
        min-width: 120px;
    }

    /* Fix partner slider overflow */
    .partner-logo-item {
        width: 140px !important;
        /* Scale down logo container */
        padding: 0 10px !important;
    }

    .partner-logo-item img {
        max-height: 40px !important;
        /* Scale down images */
    }

    /* Recalculate scroll animation for smaller items */
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-140px * 4));
        }
    }
}

/* =========================================================
   UPDATED RESPONSIVE STYLES
   ========================================================= */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* Counselling Section */
    .counselling-form-container {
        padding: 2rem 1.5rem !important;
        margin-top: 20px;
    }

    .counselling-img-large {
        max-width: 80%;
        margin: 0 auto 20px auto;
        display: block;
    }

    .counselling-section-title {
        font-size: 2.5rem !important;
    }

    .counselling-subtitle {
        font-size: 1.1rem !important;
    }

    .btn-green-solid {
        padding: 12px 20px !important;
        font-size: 1rem !important;
        width: 100%;
    }

    /* Process/Timeline Section */
    .timeline-new {
        padding-left: 10px;
        margin-top: 40px;
    }

    .timeline-item {
        padding-left: 30px;
        margin-bottom: 40px;
    }

    .timeline-marker {
        left: -31px;
        /* Align with thinner border */
        width: 24px;
        height: 24px;
        box-shadow: 0 0 0 3px #F0F8FF;
    }

    .counselor-img-container img {
        max-height: 350px !important;
    }

    .btn-pill-white {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    /* About Section */
    .about-main-img {
        height: 300px;
        border-radius: 25px;
    }

    .about-overlay-btn-container {
        width: 90%;
        bottom: 20px;
    }

    .btn-about-overlay {
        font-size: 0.9rem;
        padding: 0 20px;
        height: 44px;
    }

    .cert-bar-container {
        margin-top: 40px;
        padding: 20px;
        border-radius: 15px;
    }

    .about-title {
        font-size: 2rem;
    }

    /* Cards (Services, Courses, Blog) */
    .service-card,
    .course-card,
    .blog-card {
        margin-bottom: 30px;
    }

    .course-card .d-flex.justify-content-between.align-items-center.mt-auto {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .course-card .btn {
        width: 100%;
        margin: 0 !important;
    }

    /* Typography & General */
    .hero-title {
        font-size: 2.2rem;
        word-wrap: break-word;
        /* Prevent overflow */
    }

    .section-title {
        font-size: 2.2rem;
    }

    /* Footer Alignment */
    .footer-new {
        text-align: center;
    }

    .social-icons-footer {
        justify-content: center;
    }

    .contact-info-box .text-left {
        text-align: center !important;
        margin: 0 auto;
    }

    .contact-info-box .d-flex.align-items-center.mb-4 {
        justify-content: center;
    }

    .contact-icons-row {
        justify-content: center;
    }

    /* Ensure icon margins are reset for center align if needed, 
       but here the flex rules handle it well. 
    */

    /* Partner Slider on Mobile handled by previous media queries, 
       just ensuring container width is safe */
    .partner-slider-container {
        width: 100%;
    }
}

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {

    /* Navbar enhancements */
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-item {
        margin-bottom: 5px;
    }

    /* Better tablet spacing for cards */
    .col-md-6.col-lg-4,
    .col-lg-4 {
        margin-bottom: 30px;
    }
}

.cert-bar-container {
    margin-top: 40px;
    padding: 20px;
    border-radius: 15px;
}

.about-title {
    font-size: 2rem;
}

/* Course Search Suggestions */
#courseSuggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    background: #ffffff;
    border: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #f0f0f0;
}

#courseSuggestions::-webkit-scrollbar {
    width: 6px;
}

#courseSuggestions::-webkit-scrollbar-track {
    background: #f0f0f0;
}

#courseSuggestions::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 20px;
}

#courseSuggestions .list-group-item {
    border: none;
    padding: 12px 20px;
    font-size: 0.95rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-bottom: 1px solid #f4f7f6;
    position: relative;
    overflow: hidden;
}

#courseSuggestions .list-group-item:last-child {
    border-bottom: none;
    border-radius: 0 0 15px 15px;
}

#courseSuggestions .list-group-item:hover {
    background-color: #f8fcf5;
    color: var(--primary-color);
    padding-left: 28px;
    font-weight: 500;
}

/* Hover Accent Bar */
#courseSuggestions .list-group-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--accent-color);
    transition: width 0.2s ease;
}

#courseSuggestions .list-group-item:hover::before {
    width: 4px;
}

/* Selection Animation */
#courseSuggestions .list-group-item.suggestion-selected {
    background-color: var(--accent-color) !important;
    color: #ffffff !important;
    transition: all 0.1s ease;
    transform: scale(0.98);
    font-weight: 600;
}

#courseSuggestions .list-group-item.suggestion-selected::before {
    display: none;
}

/* Validation Errors */
label.error {
    color: #dc3545;
    /* Bootstrap Dangerous Red */
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
    display: block;
}

/* Restored OTP Modal Styles */
.otp-input {
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    text-align: center !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff;
    color: #333;
    font-weight: 600;
    transition: all 0.2s ease;
}

.otp-input:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(112, 163, 68, 0.15) !important;
    outline: none;
}

#otpContainer {
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 25px;
}

/* FIX: Verify OTP Button & Modal Layout */
#verifyOtpButton {
    background: #83bb40 !important;
    /* Fallback */
    background: linear-gradient(45deg, #83bb40, #70a344) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    border-radius: 30px !important;
    padding: 12px 20px !important;
    width: 100% !important;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(131, 187, 64, 0.4) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 25px;
    display: block !important;
}

#verifyOtpButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(131, 187, 64, 0.5) !important;
    background: linear-gradient(45deg, #70a344, #5e8a39) !important;
}

/* Modal Content Tweaks to match Old Design */
#otpModal .modal-content {
    border-radius: 15px !important;
    border: none !important;
    padding: 30px 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#otpModal .modal-title {
    font-size: 2rem !important;
    color: #2c3e50 !important;
    margin-bottom: 5px !important;
    font-weight: 700 !important;
}

#otpModal .close {
    opacity: 0.5;
    font-size: 2rem;
    font-weight: 300;
}

/* Mobile Adjustments for OTP */
@media (max-width: 576px) {
    .otp-input {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }

    #otpContainer {
        gap: 8px;
    }
}