/* ============================================
   Adhi Techie - Brand Guidelines CSS
   Colors: Yellow #FFDE59, Black #000000, White #FFFFFF
   Fonts: Playfair Display (Titles), Lato (Subtitles), Source Sans Pro (Paragraphs)
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFDE59;
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --font-title: 'Playfair Display', serif;
    --font-subtitle: 'Lato', sans-serif;
    --font-body: 'Source Sans Pro', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: var(--font-body);
    color: var(--primary-black);
    line-height: 1.6;
    background-color: var(--primary-white);
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
}

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

/* Prevent horizontal overflow */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

/* Navbar */
.navbar {
    background-color: var(--primary-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    height: 50px;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-subtitle);
    font-size: 1rem;
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-yellow);
}

.btn-enroll {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    background-color: var(--primary-black);
    color: var(--primary-white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.75rem;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hamburger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger:active {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-black);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    display: block;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, rgba(255, 222, 89, 0.8) 100%);
    padding: 8rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-subtitle);
    font-size: 1.3rem;
    color: var(--primary-black);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-black);
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-black);
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-black);
    color: var(--primary-white);
}

/* Courses Preview Section */
.courses-preview {
    padding: 5rem 0;
    background-color: var(--primary-white);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-black);
}

.page-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.section-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-card {
    background-color: var(--primary-white);
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: #f5f5f5;
}

.course-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.course-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.course-price {
    font-family: var(--font-subtitle);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
}

.course-duration {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #666;
}

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

.loading {
    text-align: center;
    padding: 3rem;
    font-family: var(--font-body);
    color: #666;
    grid-column: 1 / -1;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: 3rem;
}

.about-text h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-black);
}

.about-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.vm-card {
    background-color: var(--primary-yellow);
    padding: 2rem;
    border-radius: 10px;
}

.vm-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.vm-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--primary-black);
}

.teaching-style {
    margin-top: 3rem;
}

.teaching-style h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-black);
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.style-item {
    text-align: center;
    padding: 2rem;
}

.style-item h4 {
    font-family: var(--font-subtitle);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.style-item p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Courses Section */
.courses-section {
    padding: 5rem 0;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--primary-black);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-yellow);
}

.contact-card.whatsapp-card:hover {
    border-color: #25D366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffd700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 222, 89, 0.3);
}

.contact-card.whatsapp-card .contact-card-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
    font-family: var(--font-subtitle);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-black);
}

.contact-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    margin: 0;
    word-break: break-word;
}

.contact-card-action {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--primary-yellow);
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.contact-card.whatsapp-card .contact-card-action {
    color: #25D366;
}

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

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-subtitle);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.form-group textarea {
    resize: vertical;
}

/* Enroll Section */
.enroll-section {
    padding: 5rem 0;
}

.enroll-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.enroll-form {
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 10px;
}

.course-details {
    background-color: var(--primary-yellow);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.course-info h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.course-info p {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

/* Success Section */
.success-section {
    padding: 8rem 0;
    text-align: center;
}

.success-content {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: var(--primary-black);
    font-weight: bold;
}

.success-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.success-message {
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.success-info {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* AI Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: var(--font-body);
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffd700 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 222, 89, 0.4);
    transition: all 0.3s ease;
    color: var(--primary-black);
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 222, 89, 0.6);
}

.chatbot-toggle:active {
    transform: scale(0.95);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 100px);
    background: var(--primary-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffd700 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-yellow);
    flex-shrink: 0;
}

.chatbot-header-text h3 {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0;
    line-height: 1.2;
}

.chatbot-status {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chatbot-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.chatbot-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary-black);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
}

.chatbot-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f9f9f9;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.chatbot-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-message.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--primary-black);
    color: var(--primary-yellow);
}

.message-content {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
}

.bot-message .message-content {
    background: var(--primary-white);
    color: var(--primary-black);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 4px;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffd700 100%);
    color: var(--primary-black);
    border-bottom-right-radius: 4px;
}

.message-content p {
    margin: 0;
    word-wrap: break-word;
}

.message-content a {
    color: var(--primary-yellow);
    text-decoration: underline;
    font-weight: 600;
}

.typing-indicator {
    opacity: 0.7;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 0.5rem 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-black);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chatbot-input-container {
    padding: 1rem 1.5rem;
    background: var(--primary-white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 222, 89, 0.1);
}

.chatbot-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffd700 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 222, 89, 0.4);
}

.chatbot-send:active {
    transform: scale(0.95);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Chatbot */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 15px;
        right: 15px;
    }

    .chatbot-toggle {
        width: 56px;
        height: 56px;
    }

    .chatbot-window {
        width: calc(100vw - 30px);
        height: calc(100vh - 80px);
        max-height: 500px;
        bottom: 75px;
        right: 0;
        border-radius: 16px;
    }

    .chatbot-header {
        padding: 1rem 1.25rem;
    }

    .chatbot-avatar {
        width: 36px;
        height: 36px;
    }

    .chatbot-header-text h3 {
        font-size: 1rem;
    }

    .chatbot-messages {
        padding: 1.25rem;
    }

    .message-content {
        max-width: 80%;
        font-size: 0.85rem;
        padding: 0.65rem 0.9rem;
    }

    .chatbot-input-container {
        padding: 0.875rem 1.25rem;
    }

    .chatbot-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .chatbot-send {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .chatbot-container {
        bottom: 10px;
        right: 10px;
    }

    .chatbot-toggle {
        width: 52px;
        height: 52px;
    }

    .chatbot-window {
        width: calc(100vw - 20px);
        height: calc(100vh - 70px);
        max-height: 450px;
        bottom: 70px;
        border-radius: 14px;
    }

    .chatbot-header {
        padding: 0.875rem 1rem;
    }

    .chatbot-messages {
        padding: 1rem;
        gap: 0.75rem;
    }

    .message-content {
        max-width: 85%;
        font-size: 0.8rem;
    }

    .chatbot-input-container {
        padding: 0.75rem 1rem;
    }
}

/* Footer */
/* Footer Section */
.footer {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    color: var(--primary-white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-about {
    max-width: 100%;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-title {
    font-family: var(--font-subtitle);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-white);
    margin: 0 0 1rem 0;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 2px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-yellow);
}

.footer-menu a:hover {
    color: var(--primary-yellow);
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-menu a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-contact-list .contact-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.footer-contact-list .contact-link:hover {
    color: var(--primary-yellow);
    transform: translateX(5px);
}

.footer-contact-list .contact-link.whatsapp-link:hover {
    color: #25D366;
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-yellow);
    transition: transform 0.3s ease;
}

.footer-contact-list .contact-link svg {
    color: var(--primary-yellow);
}

.footer-contact-list .whatsapp-link svg {
    color: #25D366;
}

.footer-contact-list li:hover svg,
.footer-contact-list .contact-link:hover svg {
    transform: scale(1.1);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--primary-yellow);
    color: var(--primary-black);
    transform: translateY(-3px);
    border-color: var(--primary-yellow);
    box-shadow: 0 5px 15px rgba(255, 222, 89, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-credit {
    font-size: 0.85rem;
}

.footer-credit a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-credit a:hover {
    color: var(--primary-white);
    text-decoration: underline;
}

/* Responsive Design */

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .about-intro {
        padding: 8rem 0;
    }

    .about-intro-wrapper {
        gap: 6rem;
        grid-template-columns: 1.2fr 1fr;
    }

    .about-intro-title {
        font-size: 3.5rem;
    }

    .about-intro-lead {
        font-size: 1.4rem;
    }

    .feature-item {
        padding: 3rem;
        gap: 1.5rem;
    }

    .feature-icon-wrapper {
        width: 90px;
        height: 90px;
    }

    .feature-icon {
        font-size: 3rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-content p {
        font-size: 1.1rem;
    }
}

/* Desktop (1024px to 1439px) - Default styles apply */
@media (min-width: 1024px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-intro {
        padding: 6rem 0;
    }

    .about-intro-wrapper {
        gap: 4.5rem;
    }

    .about-intro-title {
        font-size: 3rem;
    }
}

/* Tablet Landscape (900px to 1023px) */
@media (max-width: 1023px) and (min-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .about-intro {
        padding: 5rem 0;
    }

    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-intro-main {
        grid-column: 1 / -1;
        width: 100%;
    }

    .about-intro-features {
        grid-column: 1 / -1;
        width: 100%;
    }

    .about-intro-title {
        font-size: 2.5rem;
    }

    .about-intro-lead {
        font-size: 1.2rem;
    }

    .feature-item {
        padding: 2rem;
    }

    .feature-icon-wrapper {
        width: 75px;
        height: 75px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet Portrait (768px to 899px) */
@media (max-width: 899px) and (min-width: 769px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-intro {
        padding: 4.5rem 0;
    }

    .about-intro-wrapper {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-intro-left {
        order: 1;
        text-align: center;
    }

    .about-intro-badge {
        margin: 0 auto;
    }

    .about-intro-title {
        font-size: 2.5rem;
    }

    .about-intro-lead {
        font-size: 1.15rem;
    }

    .about-intro-text {
        gap: 1.25rem;
    }

    .intro-paragraph {
        font-size: 1.05rem;
    }

    .about-intro-actions {
        justify-content: center;
    }

    .about-intro-right {
        order: 2;
    }

    .about-intro-text .btn-primary {
        align-self: stretch;
        text-align: center;
    }

    .feature-item {
        padding: 2rem;
        gap: 1.25rem;
        flex-direction: column;
    }

    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .feature-icon {
        font-size: 2.25rem;
    }

    .feature-content h3 {
        font-size: 1.25rem;
    }

    .feature-content p {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .hero-buttons a {
        flex: 1;
        max-width: none;
    }
}

/* Mobile Landscape and Small Tablets (481px to 768px) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-white);
        width: 100%;
        text-align: center;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        padding: 1.5rem 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        list-style: none;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.25rem 1.5rem;
        width: 100%;
        min-height: 56px;
        font-size: 1.15rem;
        font-weight: 500;
        color: var(--primary-black);
        text-decoration: none;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        -webkit-tap-highlight-color: rgba(255, 222, 89, 0.3);
        touch-action: manipulation;
        position: relative;
    }

    .nav-menu a:active {
        background-color: rgba(255, 222, 89, 0.15);
        transform: scale(0.98);
    }

    .nav-menu a.active {
        background-color: rgba(255, 222, 89, 0.2);
        color: var(--primary-black);
        font-weight: 600;
    }

    .nav-menu a.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background-color: var(--primary-yellow);
    }

    .btn-enroll {
        margin: 1.5rem 1.5rem 0;
        width: calc(100% - 3rem);
        text-align: center;
        padding: 1.25rem 1.5rem;
        min-height: 56px;
        font-size: 1.15rem;
        font-weight: 600;
        border-radius: 10px;
        -webkit-tap-highlight-color: rgba(255, 222, 89, 0.3);
        touch-action: manipulation;
        transition: all 0.3s ease;
    }

    .btn-enroll:active {
        transform: scale(0.97);
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .section-description {
        padding: 0 1rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .courses-preview,
    .why-choose-us,
    .testimonials,
    .about-intro,
    .certificate-section,
    .cta-section {
        padding: 3rem 0;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section {
        width: 100%;
        grid-column: 1 / -1;
    }

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

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        font-size: 1.15rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .certificate-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        width: 100%;
    }

    .certificate-content {
        order: 1;
        text-align: center;
        width: 100%;
        grid-column: 1 / -1;
    }

    .certificate-badge {
        margin: 0 auto;
    }

    .certificate-image-wrapper {
        order: 2;
        width: 100%;
        grid-column: 1 / -1;
    }

    .certificate-features {
        align-items: flex-start;
        text-align: left;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }

    .style-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-form,
    .enroll-form {
        padding: 2rem 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: block;
        box-sizing: border-box;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .success-actions a {
        width: 100%;
        max-width: 300px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 100%;
        display: block;
    }

    .about-intro {
        padding: 4rem 0;
    }

    .about-intro-header {
        margin-bottom: 3rem;
    }

    .about-intro-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1.25rem;
        margin-bottom: 1.25rem;
    }

    .about-intro-title {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
    }

    .about-intro-lead {
        font-size: 1.1rem;
    }

    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-intro-main {
        grid-column: 1 / -1;
        width: 100%;
    }

    .about-intro-features {
        grid-column: 1 / -1;
        width: 100%;
        gap: 1.5rem;
    }

    .about-intro-text {
        gap: 1.25rem;
    }

    .intro-paragraph {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-intro-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .about-intro-actions .btn-primary,
    .about-intro-actions .btn-outline {
        width: 100%;
        text-align: center;
    }

    .feature-item {
        padding: 1.75rem;
        gap: 1.5rem;
    }

    .feature-icon-wrapper {
        width: 65px;
        height: 65px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }

    .feature-content p {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-card-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .statistics {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-quote {
        font-size: 3rem;
    }

    .testimonial-content p {
        font-size: 0.95rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-content {
        padding: 0 1rem;
    }

    .cta-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cta-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 100%;
        display: block;
    }

    .course-card {
        padding: 0;
        margin: 0;
    }

    .course-content {
        padding: 1.5rem;
    }

    .course-image {
        height: 180px;
        width: 100%;
    }

    .course-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .course-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .course-meta {
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .course-price {
        font-size: 1.3rem;
    }

    .logo-img {
        height: 45px;
        max-width: 180px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .hamburger {
        min-width: 48px;
        min-height: 48px;
    }

    .nav-wrapper {
        padding: 0;
    }

    /* Ensure proper spacing for all sections */
    .courses-preview,
    .why-choose-us,
    .testimonials,
    .about-intro,
    .cta-section {
        padding: 3rem 0;
    }

    /* Improve form responsiveness */
    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .contact-card {
        padding: 1.75rem 1.25rem;
    }

    .contact-card-icon {
        width: 60px;
        height: 60px;
    }

    .contact-card h3 {
        font-size: 1.15rem;
    }

    .contact-card p {
        font-size: 0.95rem;
    }

    .contact-wrapper,
    .enroll-wrapper {
        padding: 0 1rem;
    }

    .contact-form,
    .enroll-form {
        padding: 2rem 1.5rem;
        margin: 0;
    }

    /* Better text alignment on mobile */
    .about-intro-text,
    .section-description {
        text-align: center;
    }
}

/* Mobile Portrait (320px to 480px) */
@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .statistics {
        padding: 2.5rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.25rem 0.5rem;
    }

    .stat-number {
        font-size: 2rem;
        line-height: 1;
    }

    .stat-label {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .about-intro {
        padding: 2.5rem 0;
    }

    .about-intro-wrapper {
        gap: 2.5rem;
    }

    .about-intro-left {
        text-align: center;
    }

    .about-intro-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .about-intro-title {
        font-size: 1.9rem;
    }

    .about-intro-lead {
        font-size: 1rem;
    }

    .about-intro-header {
        margin-bottom: 2.5rem;
    }

    .about-intro-badge {
        font-size: 0.8rem;
        padding: 0.45rem 1.1rem;
        margin-bottom: 1rem;
    }

    .about-intro-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-intro-lead {
        font-size: 1rem;
    }

    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-intro-main {
        grid-column: 1 / -1;
        width: 100%;
    }

    .about-intro-features {
        grid-column: 1 / -1;
        width: 100%;
        gap: 1.25rem;
    }

    .about-intro-text {
        gap: 1rem;
    }

    .intro-paragraph {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .about-intro-actions {
        flex-direction: column;
        gap: 0.9rem;
    }

    .about-intro-actions .btn-primary,
    .about-intro-actions .btn-outline {
        width: 100%;
    }

    .about-intro-features {
        gap: 1.25rem;
    }

    .feature-item {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .feature-icon {
        font-size: 1.75rem;
    }

    .feature-content h3 {
        font-size: 1.1rem;
    }

    .feature-content p {
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 2.5rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        gap: 0.75rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-card-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-quote {
        font-size: 2.5rem;
    }

    .testimonial-content p {
        font-size: 0.9rem;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.85rem;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .contact-card-icon {
        width: 55px;
        height: 55px;
    }

    .contact-card-icon svg {
        width: 28px;
        height: 28px;
    }

    .contact-card h3 {
        font-size: 1.05rem;
    }

    .contact-card p {
        font-size: 0.9rem;
    }

    .contact-card-action {
        font-size: 0.85rem;
    }

    .contact-form,
    .enroll-form {
        padding: 1.5rem 1rem;
    }

    .course-details {
        padding: 1.25rem;
    }

    .course-info h3 {
        font-size: 1.2rem;
    }

    .course-content {
        padding: 1.25rem;
    }

    .course-image {
        height: 160px;
        width: 100%;
        object-fit: cover;
    }

    .course-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .course-card p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .course-price {
        font-size: 1.2rem;
    }

    .course-duration {
        font-size: 0.85rem;
    }

    .logo-img {
        height: 40px;
        max-width: 160px;
    }

    .hamburger {
        min-width: 48px;
        min-height: 48px;
        padding: 0.6rem;
    }

    .hamburger span {
        width: 26px;
    }

    .nav-menu {
        top: 60px;
    }

    .courses-preview,
    .why-choose-us,
    .testimonials,
    .certificate-section {
        padding: 2.5rem 0;
    }

    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        width: 100%;
        grid-column: 1 / -1;
    }

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

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .certificate-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    .certificate-content {
        width: 100%;
        grid-column: 1 / -1;
    }

    .certificate-image-wrapper {
        width: 100%;
        grid-column: 1 / -1;
    }

    .certificate-features {
        gap: 0.9rem;
        max-width: 100%;
        width: 100%;
    }

    .certificate-feature-icon {
        width: 26px;
        height: 26px;
        font-size: 0.95rem;
    }

    .certificate-feature p {
        font-size: 0.9rem;
    }

    /* Improve feature cards on mobile */
    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-card-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Better testimonial cards */
    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-quote {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .testimonial-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .author-info h4 {
        font-size: 0.95rem;
    }

    .author-info p {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .logo-img {
        height: 35px;
        max-width: 140px;
    }

    .hamburger {
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
    }

    .hamburger span {
        width: 24px;
    }

    .nav-menu a {
        min-height: 52px;
        font-size: 1.1rem;
        padding: 1.15rem 1.25rem;
    }

    .btn-enroll {
        min-height: 52px;
        font-size: 1.1rem;
        padding: 1.15rem 1.25rem;
    }

    .course-content {
        padding: 1rem;
    }

    .course-image {
        height: 140px;
    }

    .feature-card,
    .testimonial-card {
        padding: 1.25rem 0.75rem;
    }

    .about-intro {
        padding: 2rem 0;
    }

    .about-intro-wrapper {
        gap: 2rem;
    }

    .about-intro-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }

    .about-intro-title {
        font-size: 1.7rem;
    }

    .about-intro-lead {
        font-size: 0.95rem;
    }

    .about-intro-text {
        gap: 0.75rem;
    }

    .intro-paragraph {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .about-intro-header {
        margin-bottom: 2rem;
    }

    .about-intro-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 0.9rem;
    }

    .about-intro-title {
        font-size: 1.9rem;
        margin-bottom: 0.9rem;
    }

    .about-intro-lead {
        font-size: 0.95rem;
    }

    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-intro-main {
        grid-column: 1 / -1;
        width: 100%;
    }

    .about-intro-features {
        grid-column: 1 / -1;
        width: 100%;
        gap: 1.15rem;
    }

    .about-intro-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .about-intro-actions .btn-primary,
    .about-intro-actions .btn-outline {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .feature-item {
        padding: 1.25rem;
        gap: 1rem;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
    }

    .feature-icon-wrapper {
        width: 55px;
        height: 55px;
        border-radius: 12px;
    }

    .feature-icon {
        font-size: 1.5rem;
    }

    .feature-content {
        width: 100%;
    }

    .feature-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .nav-menu {
        top: 60px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .courses-preview,
    .why-choose-us,
    .testimonials,
    .about-intro,
    .certificate-section {
        padding: 1.5rem 0;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        width: 100%;
        grid-column: 1 / -1;
    }

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

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-logo-img {
        height: 40px;
        max-width: 160px;
    }

    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer-title {
        font-size: 1.05rem;
    }

    .footer-menu a,
    .footer-contact-list li {
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .certificate-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .certificate-content {
        width: 100%;
        grid-column: 1 / -1;
    }

    .certificate-image-wrapper {
        width: 100%;
        grid-column: 1 / -1;
    }

    .certificate-badge {
        font-size: 0.8rem;
        padding: 0.45rem 1.1rem;
    }

    .certificate-features {
        gap: 0.85rem;
        max-width: 100%;
        width: 100%;
    }

    .certificate-feature-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }

    .certificate-feature p {
        font-size: 0.85rem;
    }

    .about-intro-header {
        margin-bottom: 1.5rem;
    }

    .about-intro-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.8rem;
        margin-bottom: 0.75rem;
    }

    .about-intro-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .about-intro-lead {
        font-size: 0.9rem;
    }

    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-intro-main {
        grid-column: 1 / -1;
        width: 100%;
    }

    .about-intro-features {
        grid-column: 1 / -1;
        width: 100%;
    }

    .about-intro-text {
        gap: 0.75rem;
    }

    .intro-paragraph {
        font-size: 0.85rem;
    }

    .about-intro-actions {
        flex-direction: column;
        gap: 0.7rem;
    }

    .about-intro-actions .btn-primary,
    .about-intro-actions .btn-outline {
        width: 100%;
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
    }

    .feature-item {
        padding: 1rem;
        gap: 0.75rem;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
    }

    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .feature-icon {
        font-size: 1.4rem;
    }

    .feature-content {
        width: 100%;
    }

    .feature-content h3 {
        font-size: 0.95rem;
    }

    .feature-content p {
        font-size: 0.8rem;
    }

    .cta-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

/* Medium screens optimization (600px to 768px) */
@media (min-width: 600px) and (max-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .hero-buttons a {
        flex: 1;
        max-width: none;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .cta-buttons a {
        flex: 1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-intro {
        padding: 3rem 0;
    }

    .about-intro-header {
        margin-bottom: 2.5rem;
    }

    .about-intro-badge {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
        margin-bottom: 1rem;
    }

    .about-intro-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-intro-lead {
        font-size: 1rem;
    }

    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-intro-main {
        grid-column: 1 / -1;
        width: 100%;
    }

    .about-intro-features {
        grid-column: 1 / -1;
        width: 100%;
        gap: 1.25rem;
    }

    .feature-item {
        padding: 1.75rem;
        gap: 1.25rem;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
    }

    .feature-icon-wrapper {
        width: 65px;
        height: 65px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-content {
        width: 100%;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }

    .feature-content p {
        font-size: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-secondary,
    .btn-enroll {
        min-height: 44px; /* Minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .course-card {
        cursor: pointer;
    }

    .course-card:active {
        transform: scale(0.98);
    }

    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.95);
    }

    .feature-item {
        min-height: 44px;
    }

    .feature-icon-wrapper {
        min-width: 44px;
        min-height: 44px;
    }

    .feature-item:active {
        transform: scale(0.98);
    }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn-primary,
    .btn-secondary,
    .hamburger {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section-title,
    .page-title {
        page-break-after: avoid;
    }

    .course-card,
    .testimonial-card,
    .feature-card {
        page-break-inside: avoid;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card {
    animation: fadeIn 0.5s ease-out;
}

/* About Intro Section */
.about-intro {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 222, 89, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 222, 89, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.about-intro-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.about-intro-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, rgba(255, 222, 89, 0.95) 100%);
    border-radius: 50px;
    font-family: var(--font-subtitle);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(255, 222, 89, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-intro-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 222, 89, 0.4);
}

.about-intro-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.about-intro-lead {
    font-family: var(--font-subtitle);
    font-size: 1.25rem;
    font-weight: 400;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-intro-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-intro-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intro-paragraph {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

.about-intro-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
    border-radius: 8px;
    font-family: var(--font-subtitle);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary-black);
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-intro-features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 2.25rem;
    background: var(--primary-white);
    border-radius: 20px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08), 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 222, 89, 0.15);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-yellow) 0%, rgba(255, 222, 89, 0.85) 100%);
    border-radius: 20px 0 0 20px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 222, 89, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(255, 222, 89, 0.2);
    border-color: var(--primary-yellow);
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-item:hover::after {
    opacity: 1;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, rgba(255, 222, 89, 0.9) 100%);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 18px rgba(255, 222, 89, 0.3), 0 2px 6px rgba(255, 222, 89, 0.2);
    position: relative;
    z-index: 1;
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 222, 89, 0.45), 0 3px 10px rgba(255, 222, 89, 0.3);
}

.feature-icon {
    font-size: 2.25rem;
    line-height: 1;
}

.feature-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.feature-content h3 {
    font-family: var(--font-subtitle);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-content h3 {
    color: var(--primary-black);
}

.feature-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-content p {
    color: #555;
}

.intro-paragraph {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 5rem 0;
    background-color: var(--primary-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    background-color: var(--primary-yellow);
    border-color: var(--primary-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Statistics Section */
/* Certificate Section */
.certificate-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.certificate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 222, 89, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 222, 89, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.certificate-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.certificate-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.certificate-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, rgba(255, 222, 89, 0.95) 100%);
    border-radius: 50px;
    font-family: var(--font-subtitle);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-black);
    width: fit-content;
    box-shadow: 0 4px 20px rgba(255, 222, 89, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 222, 89, 0.4);
}

.certificate-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.certificate-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.certificate-feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, rgba(255, 222, 89, 0.9) 100%);
    border-radius: 50%;
    color: var(--primary-black);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(255, 222, 89, 0.3);
}

.certificate-feature p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

.certificate-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.certificate-image-container {
    position: relative;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.certificate-image-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2), 0 12px 35px rgba(255, 222, 89, 0.15);
}

.certificate-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.certificate-image-container:hover .certificate-image {
    transform: scale(1.05);
}

.certificate-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 222, 89, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 50%;
}

.certificate-image-container:hover .certificate-glow {
    opacity: 1;
}

.statistics {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    color: var(--primary-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    color: var(--primary-white);
    font-weight: 400;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--primary-white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote {
    font-family: var(--font-title);
    font-size: 4rem;
    color: var(--primary-yellow);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-yellow);
    color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-subtitle);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-family: var(--font-subtitle);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, rgba(255, 222, 89, 0.9) 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
}

.cta-description {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--primary-black);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

