:root {
    --primary: #4a7729;
    --primary-dark: #3a5f20;
    --secondary: #d4af37;
    --accent: #8b0000;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --success: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 80%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    bottom: -10px;
    left: 0;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 119, 41, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 119, 41, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: #c9a227;
    border-color: #c9a227;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    height: 80px;
    transition: all 0.4s ease;
}

.header.scrolled .logo img {
    height: 60px;
}

.header-center-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 0;
}

.header-center-image img {
    height: 80px;
    transition: all 0.4s ease;
    display: block;
}

.header.scrolled .header-center-image img {
    height: 60px;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
}

.navbar .nav-links li {
    margin-left: 30px;
    position: relative;
}

.navbar .nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    font-size: 1rem;
}

.navbar .nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.navbar .nav-links a:hover:after,
.navbar .nav-links a.active:after {
    width: 100%;
}

.navbar .nav-links a:hover {
    color: var(--primary);
}

.navbar .nav-links a.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary);
}

.page-banner {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('images/IMA_POP_June_4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    animation: fadeInUp 1s ease 0.2s both;
}

.breadcrumb li {
    margin: 0 10px;
    position: relative;
}

.breadcrumb li:after {
    content: '/';
    position: absolute;
    right: -15px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li:last-child:after {
    display: none;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .current {
    color: white;
    font-weight: 600;
}

.about-section {
    position: relative;
    overflow: hidden;
}

.about-header {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 20px;
}

.about-title {
    flex: 1;
    margin-top: 0;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary);
    height: 550px;
    min-width: 300px;
    max-width: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.about-content {
    margin-top: 0;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-section h2 span {
    color: var(--secondary);
}

.about-section p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    background: rgba(74, 119, 41, 0.05);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    transition: all 0.4s ease;
    cursor: pointer;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.08);
    background: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(74, 119, 41, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 5px 15px rgba(74, 119, 41, 0.3);
}

.feature-item:hover .feature-icon i {
    color: white;
    transform: scale(1.1);
}

.feature-icon i {
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.feature-text h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--primary);
}

.mission-vision {
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.mission-vision:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/concrete-wall.png');
    opacity: 0.03;
    z-index: 0;
}

.mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mv-card {
    background: white;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.mv-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.mv-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.4s ease;
    display: inline-block;
}

.mv-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary);
}

.mv-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.mv-card:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.mv-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary);
}

.team {
    position: relative;
    overflow: hidden;
}

.team-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.centered-row {
    justify-content: center;
}

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    width: calc(33.333% - 20px);
    min-width: 300px;
    border: 1px solid rgba(0,0,0,0.1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-img {
    height: 250px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px 20px;
}

.member-info h3 {
    margin-bottom: 5px;
    color: var(--primary);
}

.member-info p {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-info p.position {
    color: var(--gray);
    font-weight: 500;
}

.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    will-change: transform, opacity;
    transition: all 0.4s ease;
}

.info-item:hover {
    transform: translateY(-5px) !important;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    will-change: transform, background;
}

.info-item:hover .info-icon {
    background: var(--secondary);
    transform: rotate(15deg) scale(1.1);
}

.info-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-text a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--primary);
}

.course-collapse {
    margin-bottom: 20px;
    flex: 1;
    min-height: 0;
}

.collapse-toggle {
    width: 100%;
    padding: 12px 15px;
    background: rgba(74, 119, 41, 0.1);
    border: none;
    border-radius: 4px;
    color: var(--primary);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.collapse-toggle:hover {
    background: rgba(74, 119, 41, 0.2);
}

.collapse-toggle i {
    transition: transform 0.3s ease;
}

.collapse-toggle.active i {
    transform: rotate(180deg);
}

.collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(74, 119, 41, 0.05);
    border-radius: 4px;
}

.collapse-content.active {
    max-height: 1000px;
    padding: 15px;
    overflow-y: auto;
}

.courses {
    position: relative;
    overflow: hidden;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    align-items: flex-start;
}

.course-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    transform: translateY(0);
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: auto;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }
.course-card:nth-child(4) { animation-delay: 0.4s; }

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-img {
    height: 200px;
    overflow: hidden;
    width: 100%;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.course-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.5rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.course-duration, .course-mode {
    display: flex;
    align-items: center;
}

.course-duration i, .course-mode i {
    margin-right: 5px;
    color: var(--primary);
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.features-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex: 1;
}

.features-column {
    flex: 1;
}

.course-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.course-features li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(74, 119, 41, 0.2);
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.course-features li:hover {
    transform: translateX(5px);
}

.course-features i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 0.9rem;
}

.course-actions {
    margin-top: auto;
    flex-shrink: 0;
}

.contact-cards {
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.contact-cards:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/concrete-wall.png');
    opacity: 0.03;
    z-index: 0;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    will-change: transform;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover i {
    color: var(--secondary);
    transform: scale(1.1);
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.contact-card p {
    margin-bottom: 20px;
    color: var(--gray);
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.map-section {
    padding: 0;
    height: 500px;
}

.map-container {
    height: 100%;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.course-details {
    position: relative;
    overflow: hidden;
    background: var(--light);
}

.course-details:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/concrete-wall.png');
    opacity: 0.03;
    z-index: 0;
}

.details-container {
    display: flex;
    gap: 50px;
}

.details-content {
    flex: 2;
}

.details-sidebar {
    flex: 1;
}

.details-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.details-tab {
    padding: 12px 25px;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    color: var(--gray);
}

.details-tab.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.details-tab:hover:not(.active) {
    color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.sidebar-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
}

.course-info {
    list-style: none;
    margin-bottom: 30px;
}

.course-info li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.course-info li span:first-child {
    font-weight: 600;
    color: var(--dark);
}

.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-about {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.7rem;
    color: var(--secondary);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 15px;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }

    .details-container {
        flex-direction: column;
    }

    .about-image {
        height: auto;
        aspect-ratio: 677/1020;
        width: 100%;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }

    .about-header {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        height: 400px;
        margin-top: 30px;
    }

    .team-member {
        width: calc(50% - 20px);
    }

    .centered-row .team-member {
        width: calc(50% - 20px);
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        margin-bottom: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-center-image {
        display: none;
    }

    /* Updated hamburger menu */
    .navbar .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .navbar .nav-links li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
    }

    .hamburger {
        display: block;
        order: 1;
    }

    .logo {
        order: 2;
        margin-left: auto;
        margin-right: auto;
    }

    .header .container {
        justify-content: space-between;
    }

    /* Updated CTA buttons */
    .cta .btn-container, 
    .cta-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta .btn {
        width: 100%;
        max-width: 250px;
        margin: 5px 0;
    }

    .page-banner {
        height: 350px;
        background-attachment: scroll;
        padding-top: 120px;
    }

    .page-banner h1 {
        font-size: 2rem;
        margin-top: 0;
        padding-top: 80px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .features-container {
        flex-direction: column;
    }

    .details-tabs {
        flex-wrap: wrap;
    }

    .team-member {
        width: 100%;
    }

    .centered-row .team-member {
        width: 100%;
    }
    
    .testimonial-grid {
        flex-direction: column;
    }

    .testimonial-image {
        flex: 0 0 auto;
        width: 150px;
        height: 150px;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 75%;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .header .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .navbar {
        width: 100%;
    }
    
    .page-banner {
        height: 250px;
        padding-top: 80px;
    }
    
    .page-banner h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .breadcrumb li {
        margin: 5px 10px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .about-header {
        flex-direction: column;
    }
    
    .about-image {
        height: 300px;
        margin-top: 20px;
    }
    
    .team-member {
        min-width: 100%;
    }
    
    .course-card {
        min-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-col {
        margin-bottom: 20px;
    }
    
    .testimonial-item {
        padding: 20px;
        margin: 10px 0;
    }
    
    .testimonial-image {
        width: 120px;
        height: 120px;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 70%;
    }
    
    .page-banner {
        height: 200px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .breadcrumb li {
        font-size: 0.9rem;
    }
    
    .about-image {
        height: 250px;
    }
    
    .team-member {
        min-width: 100%;
    }
    
    .course-card {
        min-width: 100%;
    }
    
    .footer-col h3 {
        font-size: 1.2rem;
    }
    
    .testimonial-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author {
        justify-content: center;
    }
}