/*
 * ===================================================================
 * TRIPLE DOTS MAIN STYLESHEET
 * Combined from all section stylesheets with intelligent enhancements
 * ===================================================================
*/

/* ===== GOOGLE FONTS IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Palanquin:wght@400;500;600;700&family=Palanquin+Dark:wght@400;500;600;700&family=Pacifico&family=Dancing+Script&display=swap');

/* ===== CSS CUSTOM PROPERTIES (VARIABLES) ===== */
:root {
    /* Colors */
    --primary-blue: #1e2451;
    --highlight-blue: #4BACDD;
    --text-light: #ffffff;
    --text-dark: #333333;
    --card-bg: rgba(217, 217, 217, 0.25);
    --footer-bg: #000000;
    --footer-copyright: #ffffff;
    --social-hover: #00a0d2;
    
    /* Typography */
    --font-primary: 'Palanquin', sans-serif;
    --font-heading: 'Palanquin Dark', sans-serif;
    --font-script: 'Pacifico', cursive;
    --font-footer: 'Dancing Script', cursive;
    
    /* Consistent Spacing & Layout */
    --section-padding: 4rem 2rem;
    --container-max-width: 1440px;
    --content-side-margin: 5%;
    --heading-margin: 0 0 3rem var(--content-side-margin);
    
    /* Responsive image heights */
    --about-image-max-height: 330px;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fade: opacity 0.5s ease-in-out;
}

/* ===== GLOBAL RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Scroll snap disabled for better content accessibility */
}

body {
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* This ensures footer sticks to bottom */
main {
    flex: 1;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--content-side-margin);
}

/* Universal section container for consistent spacing */
.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--content-side-margin);
}

/* Consistent heading styles across all sections */
.section-heading {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    text-align: left;
    margin: var(--heading-margin);
    text-shadow: 4px 5px 4px rgba(0, 0, 0, 0.3);
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

/* ===== SCROLL PROGRESS INDICATOR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--highlight-blue));
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 4px rgba(79, 172, 254, 0.3);
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for accessibility */
*:focus {
    outline: 1px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ===== HEADER & NAVIGATION STYLES ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(30, 37, 81, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    height: 151px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(30, 37, 81, 0.95);
    padding: 0.5rem 5%;
    height: 100px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.logo-img {
    width: 80px;
    height: 80px;
    margin-top: -6px;
    transition: var(--transition-smooth);
}

/* Desktop Navigation */
.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    font-size: 26px;
    padding-bottom: 5px;
    position: relative;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--highlight-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--highlight-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(30, 37, 81, 0.98) 0%, rgba(75, 172, 221, 0.95) 100%);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 30px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    display: block;
    padding: 15px 30px;
    border-radius: 10px;
}

.mobile-nav-link:hover {
    color: var(--highlight-blue);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

/* ===== HERO SECTION STYLES ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 1024px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    text-align: left;
    overflow: hidden;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        rgba(75, 172, 221, 0.3) 50%,
        var(--primary-blue) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background-image 1s ease-in-out;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 9, 0.76);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-max-width);
    margin-top: 80px;
    gap: 60px;
    flex: 1;
}

.hero-left {
    max-width: 660px;
    flex: 1;
}

.hero-left h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.tagline-container {
    position: relative;
    margin-bottom: 30px;
}

.hero-left .tagline {
    font-size: 32px;
    font-family: var(--font-script);
    font-weight: 400;
    color: var(--text-light);
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
}

.hero-left .tagline::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--highlight-blue);
    margin-left: 5px;
    animation: blink 1.5s infinite;
    vertical-align: text-bottom;
}

.tagline-underline {
    position: absolute;
    bottom: -15px;
    left: 80px;
    width: 450px;
    height: auto;
    transform: rotate(-2deg);
    z-index: -1;
    animation: drawUnderline 1.5s ease-out 0.8s both;
}

.hero-left p {
    font-size: 22px;
    line-height: 1.4;
    margin-top: 30px;
    max-width: 435px;
    color: var(--text-light);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 18px 40px;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 314px;
    height: 72px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background-color: var(--highlight-blue);
    color: var(--text-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    background-color: var(--text-light);
    color: var(--text-dark);
}

/* Modern Testimonials Section */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonials-container {
    width: 100%;
    max-width: 450px;
    background: var(--card-bg);
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInRight 1s ease-out 0.8s both;
}

.testimonials-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%
    );
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonials-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--highlight-blue);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.testimonials-controls {
    display: flex;
    gap: 0.5rem;
}

.testimonial-nav {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

.testimonial-nav:hover {
    background: var(--highlight-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.testimonial-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.testimonial-nav:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    box-shadow: none;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    gap: 1.25rem;
}

.testimonial-profile {
    position: relative;
}

.testimonial-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.testimonial-slide:hover .testimonial-profile img {
    transform: scale(1.05);
    border-color: var(--highlight-blue);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(79, 172, 254, 0.3);
}

.testimonial-profile::after {
    content: '"';
    position: absolute;
    top: -10px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: var(--highlight-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
    animation: quoteFloat 3s ease-in-out infinite;
}

@keyframes quoteFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

/* ===== ENTRANCE ANIMATIONS ===== */
.card,
.image-container,
.contact-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in .card,
.animate-in .image-container,
.animate-in .contact-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for cards */
.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }
.card:nth-child(5) { transition-delay: 0.5s; }
.card:nth-child(6) { transition-delay: 0.6s; }

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.testimonial-text {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 320px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--highlight-blue);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin: 0;
}

.author-track {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-light);
    opacity: 0.8;
    margin: 0;
}

.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background: var(--highlight-blue);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.testimonials-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonials-counter {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.8;
}

.testimonials-counter .current {
    font-weight: 600;
    color: var(--highlight-blue);
}

.play-pause-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.play-pause-btn:hover {
    background: var(--highlight-blue);
    color: white;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.3);
}

.play-pause-btn.paused {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.play-pause-btn.paused:hover {
    background: #ffc107;
    color: #000;
}

/* Loading state */
.testimonials-container.loading .testimonials-track {
    opacity: 0.6;
}

.testimonials-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid transparent;
    border-top: 2px solid var(--highlight-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(30, 36, 81, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--highlight-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

.hero-bottom-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max-width);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    margin-bottom: 2rem;
    padding: 0 20px;
}

.learning-types {
    text-align: center;
    font-size: 26px;
    font-family: var(--font-primary);
    font-weight: 400;
    letter-spacing: 16px;
    text-transform: none;
    color: var(--text-light);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 1s ease-out 1s both;
}

/* ===== ABOUT SECTION STYLES ===== */
#about {
    background: #ffffff;
    padding: var(--section-padding);
    min-height: 100vh;
    position: relative;
}

#about h1 {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    text-align: left;
    margin: var(--heading-margin);
    text-shadow: 4px 5px 4px rgba(0, 0, 0, 0.3);
}

#about-main {
    display: flex;
    flex-direction: column;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--content-side-margin);
    gap: 2rem;
}

#about p {
    font-size: 18px;
    line-height: 2.5;
    font-weight: 500;
    color: var(--text-dark);
    text-align: justify;
    margin: 0;
}

.img {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin: 2.5rem auto;
    width: 100%;
    max-width: var(--container-max-width);
    flex-wrap: nowrap;
}

.image-container {
    position: relative;
    padding: 25px;
    flex: 0 0 auto;
    width: auto;
    max-width: 700px;
    align-self: center;
    transition: var(--transition-smooth);
}

.image-container:hover {
    transform: translateY(-5px);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    border-top: 5px solid var(--primary-blue);
    border-left: 5px solid var(--primary-blue);
    z-index: 2;
    transition: var(--transition-smooth);
}

.image-container::after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    border-bottom: 5px solid var(--primary-blue);
    border-right: 5px solid var(--primary-blue);
    z-index: 2;
    transition: var(--transition-smooth);
}

.image-container:hover::before,
.image-container:hover::after {
    width: 80px;
    height: 80px;
}

.image-container img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: var(--about-image-max-height);
    object-fit: contain;
    transition: var(--transition-smooth);
}

/* ===== COURSES SECTION STYLES ===== */
#courses {
    margin: 0;
    font-family: "Palanquin", sans-serif;
    padding: var(--section-padding);
    background: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    line-height: 1.6;
    /* Extra inner space at bottom to allow adding elements */
    padding-bottom: 6rem;
}

#a{
    left: 260px;
    bottom: 60px;
}

#b{
    right: 40px;
}

#c{
    left: 350px;
    top: 100px;
}

#d{
    right: 50px;
    top: 50px;
}

#e{
    right: 60px;
    top: 190px;
}

#courses h1{
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    text-align: left;
    margin: var(--heading-margin);
    text-shadow: 4px 5px 4px rgba(0, 0, 0, 0.3);
}

#main{
    display: grid;
    grid-template-columns: 1fr minmax(400px,500px) 1fr;
    align-items: flex-start;
    gap: 4rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    margin-top: 2rem;
    padding: 0 var(--content-side-margin);
    position: relative;
}

.left, .right { 
    display:flex; 
    flex-direction:column; 
    gap:70px; 
}

.center-img { 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    position:sticky; 
    top:70px; 
    height:100%; 
    padding:0; 
}

.centre-image { 
    width:900px; 
    height:auto; 
    filter:drop-shadow(0 18px 40px rgba(0,0,0,.18)); 
    transition:transform .5s cubic-bezier(.25,.8,.25,1), filter .5s; 
}

/* .centre-image:hover { 
    transform:translateY(-10px) scale(1.05); 
    filter:drop-shadow(0 30px 55px rgba(0,0,0,.28)); 
} */

#courses img{
    display: block;
    margin: 0;
    line-height: 0;
    height: auto; /* global images */
}

/* Course cards layout */
#courses .card { 
    width:100%; 
    max-width:420px; 
    /* background:#ffffff;  */
    padding:0 0 24px 0; 
    position:relative; 
    margin:0; 
    display:flex; 
    flex-direction:column; 
    gap:14px; 
    z-index: 99;
}

#courses .head { 
    color:#0c162c; 
    font-family:"Palanquin Dark", sans-serif; 
    font-size:26px; 
    font-weight:600; 
    text-transform:none; 
    margin:0 0 6px 0; 
    line-height:1.25; 
    letter-spacing:.3px; 
    padding-left:70px; 
    position:relative; 
}

#courses .head i { 
    position:absolute; 
    left:0; 
    top:50%; 
    transform:translateY(-50%); 
    width:48px; 
    height:48px; 
    background:#f8f9fa; 
    border-radius:50%; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    font-size:20px; 
    color:#0c162c; 
    box-shadow:0 4px 12px rgba(0,0,0,.2); 
}

#courses .write { 
    color:#1a2436; 
    font-family:"Palanquin", sans-serif; 
    font-size:18px; 
    font-weight:500; 
    margin:0 0 4px 70px; 
    line-height:1.6; 
    max-width:350px; 
    text-shadow: 4px 5px 4px rgb(209, 207, 207);
}

.learn-btn { 
    margin-left:70px; 
    align-self:flex-start; 
    background:#ffffff; 
    border:1.5px solid #0c162c; 
    color:#0c162c; 
    font-family:"Palanquin", sans-serif; 
    font-size:16px; 
    font-weight:500; 
    padding:12px 24px; 
    border-radius:24px; 
    cursor:pointer; 
    display:inline-flex; 
    gap:6px; 
    align-items:center; 
    transition:background .3s ease, color .3s ease, transform .35s; 
}

.learn-btn:hover { 
    background:#0c162c; 
    color:#ffffff; 
    transform:translateY(-3px); 
}

.learn-btn .arrow { 
    transition:transform .4s cubic-bezier(.25,.8,.25,1); 
}

.learn-btn:hover .arrow { 
    transform:translateX(4px); 
}

/* ===== SERVICES SECTION STYLES ===== */
#services {
    background: #ffffff;
    padding: var(--section-padding);
    min-height: 100vh;
    position: relative;
}

#services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

#services h1 {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    text-align: left;
    margin: var(--heading-margin);
    text-shadow: 4px 5px 4px rgba(0, 0, 0, 0.3);
}

#services-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--content-side-margin);
}

.section-1, .section-2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out both;
}

.section-2 {
    animation-delay: 0.2s;
}

.bootcamp, .student {
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    position: static;
}

.bootcamp::after, .student::after {
    display: none !important;
}

.block-1, .block-2 {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
}

.pic-1, .pic-2 {
    width: 80%;
    height: 80%;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.pic-1 img, .pic-2 img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.text-1, .text-2 {
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 400;
    line-height: 2;
    flex: 2;
    text-align: justify;
    min-width: 500px;
    display: flex;
    align-items: center;
}

.text-1 {
    margin: 0;
}

.text-2 {
    margin: 0;
}

/* ===== CONTACT SECTION STYLES ===== */
#contact {
    background: #ffffff;
    padding: var(--section-padding);
    /* max-width: var(--container-max-width); */
    min-height: 100vh;
    margin: 0 auto;
}

#contact h1 {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    text-align: left;
    margin:var(--heading-margin);
    text-shadow: 4px 5px 4px rgba(0, 0, 0, 0.3);
}

.middle-section {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 0 auto 3.75rem auto;
    min-height: 400px;
    max-width: var(--container-max-width);
    padding: 0 var(--content-side-margin);
}

.desc-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desc-section p {
    font-size: 30px;
    line-height: 1.8;
    font-weight: 400;
    color: var(--text-dark);
    text-align: left;
    margin: 0;
    max-width: 475px;
}

.map-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-section iframe {
    width: 100%;
    max-width: 400px;
    height: 250px;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.map-section iframe:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.contact-info-section {
    background: #E8F4F8;
    border-radius: 25px;
    padding: 55px 30px;
    margin: 0 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-blue);
    min-width: 20px;
    text-align: center;
}

.contact-item p {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 400;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-item a:hover {
    color: var(--highlight-blue);
    text-decoration: underline;
}

/* ===== FOOTER STYLES ===== */
footer {
    width: 100%;
    color: white;
}

.footer-main {
    background-color: #000000;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 50px 20px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    padding: 0 20px;
}

/* Column 1: Logo and Tagline */
.footer-logo-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 50px;
}

.logo-placeholder {
    color: #00a0d2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.logo-placeholder img {
    width: 70px;
    height: auto;
}

.tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    color: #ffffff;
    text-align: center;
    margin: 10px 0 0 0;
}

/* Column 2: Navigation Links */
.footer-column nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column nav li {
    margin-bottom: 12px;
}

.footer-column nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: var(--transition-smooth);
}

.footer-column nav a::before {
    content: '> ';
    color: #00a0d2;
    margin-right: 8px;
    transition: var(--transition-smooth);
}

.footer-column nav a:hover {
    color: #00a0d2;
    transform: translateX(5px);
}

/* Column 3: Social Media */
.follow-us {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
    color: white;
}

.social-icons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 2px solid white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: white;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

/* Specific hover colors for each platform */
.social-icon:hover .fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-icon:hover .fa-twitter {
    color: #1da1f2;
}

.social-icon:hover .fa-linkedin {
    color: #0077b5;
}

/* Copyright Bar */
.footer-copyright {
    background-color: #ffffff;
    color: #00a0d2;
    text-align: center;
    padding: 15px 10px;
    font-size: 0.9rem;
}

.footer-copyright p {
    margin: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes drawUnderline {
    from {
        opacity: 0;
        transform: scale(0) rotate(-2deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(-2deg);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large screens and desktops */
@media (max-width: 1200px) {
    /* Disable desktop-only circular offsets on smaller screens */
    #a, #b, #c, #d, #e {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }
    /* Hero adjustments */
    .hero-content {
        gap: 3.125rem;
        padding: 0 var(--content-side-margin);
    }
    
    .testimonial-card {
        width: 350px;
        min-height: 380px;
    }
    
    .hero-left h1 {
        font-size: 48px;
    }
    
    .hero-left p {
        font-size: 21px;
    }
    
    .hero-left .tagline {
        font-size: 28px;
    }
    
    .tagline-underline {
        width: 350px;
        left: 60px;
    }

    /* About adjustments */
    #about h1 {
        font-size: 56px;
        margin: 0 0 40px 20px;
    }
    
    #about p {
        font-size: 17px;
        margin: 0 20px 35px 20px;
    }
    
    .img {
        gap: 30px;
        margin: 35px auto;
        justify-content: center;
        align-items: center;
    }
    
    .image-container {
        min-width: 280px;
        max-width: 450px;
        width: auto;
        align-self: center;
    }

    /* Courses adjustments */
    #courses h1 {
        margin: 0 0 40px 20px;
    }
    
    #main { 
        gap: 30px; 
    }
    
    #courses .card { 
        max-width:480px; 
    }
    
    #courses .head { 
        font-size:24px; 
    }
    
    #courses .write { 
        font-size:16px; 
    }
    
    .centre-image { 
        max-width:100%; 
    }

    /* Tablet testimonials styling */
    .testimonials-container {
        max-width: 50%;
        padding: 1.25rem;
        border-width: 2px;
        margin-top: -2rem;
        margin-bottom: 0.5rem;
    }
    
    .testimonials-header {
        margin-bottom: 1.25rem;
    }
    
    .testimonials-title {
        font-size: 1rem;
    }
    
    .testimonials-controls {
        gap: 0.5rem;
    }
    
    .testimonial-nav {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .testimonial-slide {
        padding: 1.25rem 0.75rem;
        gap: 1rem;
    }
    
    .testimonial-profile img {
        width: 85px;
        height: 85px;
    }
    
    .testimonial-profile::after {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
        max-width: 280px;
        line-height: 1.5;
    }
    
    .testimonial-dot {
        width: 7px;
        height: 7px;
    }
    
    .testimonials-counter {
        font-size: 0.8rem;
    }
    
    .play-pause-btn {
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
    }
    
    /* Tablet hero layout adjustments */
    .hero-content {
        gap: 40px;
    }
    
    .hero-bottom-content {
        margin-bottom: 1.5rem;
    }

    /* Services adjustments */
    .bootcamp, .student {
        font-size: 28px;
        margin-left: 20px;
    }
    
    .block-1, .block-2 {
        margin: 0 20px;
        gap: 20px;
        align-items: flex-start;
    }
    
    .pic-1, .pic-2 {
        width: 350px;
        height: auto;
        flex-shrink: 0;
    }
    
    .pic-1 img, .pic-2 img {
        width: 100%;
        height: auto;
    }
    
    .text-1, .text-2 {
        font-size: 16px;
        flex: 1;
        min-width: 300px;
        margin-top: 0;
    }
    
    .text-1 {
        margin-top: 5%;
    }
    
    .text-2 {
        margin-top: 7%;
    }
}

/* Tablets and small laptops */
@media (max-width: 992px) {
    /* Header adjustments */
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .main-header {
        height: 100px;
        padding: 0.8rem 5%;
    }
    
    .main-header.scrolled {
        height: 80px;
        padding: 0.5rem 5%;
    }

    .btn{
        width: 35vw;
        height: 9vw;
        font-size: 15px;
    }

    /* Hero adjustments */
    .hero-section {
        margin-top: 100px; /* Account for fixed header */
        /* min-height: calc(100vh - 100px); */
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding-top: 40px;
    }
    
    .hero-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-left p {
        max-width: 80%;
    }
    
    .hero-left h1 {
        font-size: 40px;
    }
    
    .tagline-underline {
        left: 20px;
        width: 280px;
    }
    
    .hero-right {
        margin-top: 2rem;
    }
    
    .learning-types {
        order: 1;
        font-size: 15px;
        letter-spacing: 10px;
    }

    /* About adjustments */
    .img {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .image-container {
        min-width: 260px;
        max-width: 45%;
        width: 45%;
        align-self: center;
    }

    /* Courses adjustments for tablets */
    #main {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 900px;
    }
    
    .left, .right {
        gap: 3rem;
    }
    
    .center-img {
        order: 2;
        margin: 2rem 0;
    }
    
    .left {
        order: 1;
    }
    
    .right {
        order: 3;
    }
    
    #courses .card {
        max-width: 420px;
        margin: 0 auto;
    }
    
    #courses .head {
        font-size: 1.6rem;
    }
    
    #courses .write {
        font-size: 1rem;
    }
}

/* Mobile tablets */
@media (max-width: 768px) {
    :root {
        --section-padding: 2rem 1rem;
    }

    /* Header adjustments */
    .main-header {
        padding: 0.5rem 5%;
        height: 80px;
    }
    
    .main-header.scrolled {
        height: 70px;
        padding: 0.3rem 5%;
    }
    
    .logo-img {
        width: 60px;
        height: 60px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo span {
        display: none; /* Hide text on very small screens */
    }

    /* Hero adjustments */
    .hero-section {
        margin-top: 80px; /* Account for smaller header */
        padding: 0 3%;
        /* min-height: calc(100vh - 80px); Match the margin-top */
    }
    
    .hero-left h1 {
        font-size: 32px;
    }
    
    .hero-left .tagline {
        font-size: 24px;
    }
    
    .hero-left p {
        font-size: 20px;
    }
    
    .learning-types {
        font-size: 14px;
        letter-spacing: 4px;
        margin-top: 20px;
    }

    /* About adjustments */
    #about h1 {
        font-size: 48px;
        text-align: center;
        margin: 0 0 30px 0;
        text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.3);
    }
    
    #about p {
        font-size: 15px;
        margin: 0 10px 0 10px;
        text-align: left;
    }
    
    .img {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        margin: 30px auto;
        width: 100%;
    }
    
    .image-container {
        min-width: 250px;
        max-width: 400px;
        width: 100%;
        align-self: center;
    }
    
    .image-container::before,
    .image-container::after {
        width: 50px;
        height: 50px;
    }

    #courses {
    padding: 2rem 1rem 5rem 1rem; /* extra bottom space */
    }
    
    #courses h1 {
        font-size: 48px;
        text-align: center;
        margin: 0 0 30px 0;
        text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.7);
    }
    
    #main { 
        display:flex; 
        flex-direction:column; 
        gap:50px; 
    }
    
    .left, .right { 
        width:100%; 
        gap:45px; 
    }
    
    .center-img { 
        order:-1; 
        position:static; 
    }
    
    .centre-image { 
        max-width:350px; 
    }
    
    #courses .card { 
        max-width:440px; 
    }
    
    #courses .head { 
        padding-left:60px; 
        font-size:22px; 
    }
    
    #courses .head i { 
        width:38px; 
        height:38px; 
        font-size:16px; 
    }
    
    #courses .write, .learn-btn { 
        margin-left:60px; 
    }
    
    #courses .write { 
        font-size:15px; 
    }
    
    .learn-btn { 
        font-size:14px; 
    }

    /* Services adjustments */
    .bootcamp, .student {
        font-size: 24px;
        margin-left: 30px;
        text-align: left;
    }
    
    .block-1, .block-2 {
        flex-direction: column;
        align-items: center;
        margin: 0 10px;
        gap: 20px;
    }
    
    .pic-1, .pic-2 {
        width: 100%;
        max-width: 350px;
        height: auto;
    }
    
    .pic-1 img, .pic-2 img {
        width: 100%;
        height: auto;
    }
    
    .text-1, .text-2 {
        font-size: 15px;
        text-align: left;
        margin-top: 0;
        margin-left: 6%;
        min-width: auto;
        width: 100%;
    }

    /* Contact adjustments */
    .middle-section {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .desc-section p {
        font-size: 20px;
        text-align: justify;
        max-width: 100%;
    }
    
    .map-section iframe {
        max-width: 100%;
        height: 280px;
    }
    
    .contact-info-section {
        padding: 30px 25px;
        margin: 0;
    }
    
    .contact-item p {
        font-size: 15px;
    }
    
    .contact-item i {
        font-size: 18px;
    }

    /* Footer adjustments */
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 20px;
        gap: 40px;
    }

    .footer-column {
        min-width: 100%;
        padding: 0 10px;
    }

    .social-icons {
        justify-content: center;
        gap: 25px;
    }
    
    .tagline {
        margin: 10px 0 0 0;
        text-align: center;
    }

    .footer-logo-column {
        margin-left: 0;
        align-items: center;
    }
}

/* Small tablets and large phones */
@media (max-width: 600px) {
    .testimonials-container {
        max-width: 50%;
        padding: 1rem;
    }
    
    .testimonials-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .testimonials-title {
        font-size: 0.95rem;
    }
    
    .testimonials-controls {
        justify-content: center;
    }
    
    .testimonial-slide {
        padding: 1rem 0.5rem;
    }
    
    .testimonial-profile img {
        width: 75px;
        height: 75px;
    }
    
    .testimonial-text {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .learning-types {
        font-size: 12px;
        letter-spacing: 3px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    /* Global adjustments */
    :root {
        --section-padding: 1.5rem 0.5rem;
    }

    /* Hero adjustments for mobile */
    .hero-section {
        margin-top: 70px; /* Account for even smaller header */
        padding: 0 4%;
        /* min-height: calc(100vh - 370px); Match the margin-top */
    }
    
    /* Mobile layout reorganization */
    .hero-content {
        flex-direction: column;
        position: relative;
    }
    
    .hero-left {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-right {
        order: 2;
        position: static;
        margin: 15px 0;
        align-self: center;
    }
    
    .hero-buttons {
        order: 3;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 20px 0 25px 0;
        flex-wrap: wrap;
    }
    
    /* Reorder elements within hero-left for mobile */
    .hero-left h1 { order: 1; }
    .hero-left .tagline-container { order: 2; }
    .hero-left p { order: 3; }
    .hero-buttons { order: 5; } /* Buttons come after testimonial */
    
    .hero-left h1 {
        font-size: 24px;
        line-height: 1.1;
        margin-bottom: -2px;
    }
    
    .hero-left .tagline {
        font-size: 14px;
        line-height: 1.1;
        margin: 10px 10px 10px 20px;
        text-align: left;
    }
    
    .tagline-container {
        text-align: left;
        margin-bottom: 16px;
        width: 100%;
    }
    
    .tagline-underline {
        width: 70%;
        height: 40%;
        margin-left: 3px;
    }
    
    .hero-left p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 25px;
        max-width: 95%;
        text-align: center;
        order: 3;
    }
    
    /* Mobile testimonial styling */
    .testimonial-card {
        width: 100%;
        max-width: 260px;
        min-height: auto;
        padding: 12px;
        margin: 15px auto;
        background: rgba(255, 255, 255, 0.099);
        border-radius: 12px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
        order: 4; /* Position testimonial after description */
    }
    
    .testimonial-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }
    
    .testimonial-text {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 0;
        color: var(--text-light);
    }
    
    .btn {
        font-size: 11px;
        width: 130px;
        height: 40px;
        padding: 10px 18px;
        border-radius: 20px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-bottom: 25px;
        flex-wrap: wrap;
    }
    
    .learning-types {
        font-size: 12px;
        letter-spacing: 3px;
        margin-top: 15px;
    }

    /* About adjustments */
    #about h1 {
        font-size: 36px;
        margin: 0 0 25px 0;
    }
    
    #about p {
        font-size: 15px;
        margin: 0 5px 0 5px;
    }
    
    .img {
        gap: 20px;
        margin: 25px auto;
        justify-content: center;
        align-items: center;
    }
    
    .image-container {
        min-width: 200px;
        max-width: 320px;
        padding: 20px;
        align-self: center;
    }
    
    .image-container::before,
    .image-container::after {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }

    /* Courses adjustments */
    #courses {
    padding: 1.5rem 0.5rem 4rem 0.5rem; /* extra bottom space */
    }
    
    #courses h1 {
        font-size: 36px;
        text-align: center;
        margin: 0 0 25px 0;
        text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
    }
    
    #courses .card { 
        max-width:320px; 
    }
    
    .centre-image { 
        max-width:350px; 
    }
    
    #courses .head { 
        font-size:20px; 
    }
    
    #courses .write { 
        font-size:14px; 
        line-height:1.45; 
    }
    
    .learn-btn { 
        font-size:13px; 
        padding:8px 16px; 
    }

    /* Services adjustments */
    #services h1 {
        font-size: 36px;
        text-align: center;
        margin: 0 0 25px 0;
    }
    
    .bootcamp, .student {
        font-size: 20px;
        margin-left: 10%;
        margin-bottom: -18px;
    }
    
    .block-1, .block-2 {
        margin: 0 5px;
        gap: 15px;
    }
    
    .pic-1, .pic-2 {
        width: 100%;
        max-width: 280px;
    }
    
    .text-1, .text-2 {
        font-size: 14px;
        line-height: 1.8;
        margin-top: 1%;
        width: 84%;
    }

    /* Contact adjustments */

    #contact h1{
        font-size: 36px;
        text-align: center;
        margin: 0 0 25px 0;
    }
    .desc-section p {
        font-size: 18px;
        margin: 16px;
    }
    
    .map-section iframe {
        height: 250px;
    }
    
    .contact-info-section {
        padding: 25px 20px;
    }
    
    .contact-item p {
        font-size: 14px;
    }
    
    .contact-item i {
        font-size: 16px;
    }

    /* Footer adjustments */
    .footer-main {
        padding: 30px 15px;
        gap: 30px;
    }

    .footer-column {
        padding: 0 5px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .social-icons {
        gap: 15px;
    }

    .footer-column nav a {
        font-size: 0.95rem;
    }

    .follow-us {
        font-size: 1rem;
    }
    
    .footer-logo-column {
        margin-left: 0;
    }
    
    /* Mobile testimonials styling */
    .testimonials-container {
        width: 50%;
        max-width: 100%;
        margin: 1rem auto;
        padding: 0.75rem;
        order: 4; /* Position testimonials after description */
        border-width: 2px;
    }
    
    .testimonials-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .testimonials-title {
        font-size: 0.9rem;
        margin: 0;
    }
    
    .testimonials-controls {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .testimonial-nav {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .testimonial-slide {
        padding: 0.75rem 0.25rem;
        gap: 0.75rem;
    }
    
    .testimonial-profile img {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }
    
    .testimonial-profile::after {
        width: 20px;
        height: 20px;
        font-size: 0.9rem;
        top: -6px;
        right: -2px;
    }
    
    .testimonial-text {
        font-size: 0.8rem;
        max-width: 100%;
        line-height: 1.4;
        text-align: center;
    }
    
    .author-name {
        font-size: 0.85rem;
    }
    
    .author-track {
        font-size: 0.7rem;
    }
    
    .testimonials-indicators {
        margin-bottom: 0.5rem;
        gap: 0.25rem;
    }
    
    .testimonial-dot {
        width: 6px;
        height: 6px;
    }
    
    .testimonials-meta {
        padding-top: 0.25rem;
        margin-bottom: 0;
    }
    
    .testimonials-counter {
        font-size: 0.7rem;
    }
    
    .play-pause-btn {
        width: 22px;
        height: 22px;
        font-size: 0.55rem;
    }
    
    /* Ensure proper mobile hero layout */
    .hero-section {
        min-height: auto;
        height: auto;
        padding: 1rem 4%;
    }
    
    .hero-content {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .hero-bottom-content {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .learning-types {
        font-size: 10px;
        letter-spacing: 2px;
        margin-top: 0;
    }
}

/* Extra small mobile phones */
@media (max-width: 360px) {
    .footer-main {
        padding: 25px 10px;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .main-header,
    .hero-section,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1 {
        font-size: 18pt;
    }
}
