/*
Theme Name: SAX-FORT
Theme URI: https://www.sax-fort.edu.pl
Description: SAX-FORT theme based on Astra
Author: Kiryll Kuzniecow
Author URI: https://www.sax-fort.edu.pl
Template: astra
Version: 1.0.0
Text Domain: sax-fort
*/

/* Import Plus Jakarta Sans font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* Apply Plus Jakarta Sans to all text elements */
* {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Specific font applications for common elements */
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, ul, ol,
input, textarea, select, button,
.ast-container, .container,
.site-title, .site-description,
.widget-title, .entry-title,
.entry-content, .page-content,
.post-content, .comment-content {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Site title in header */
.site-title {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    max-width: 220px !important;
}

.site-title a {
    color: #2c3e50 !important;
    -webkit-text-fill-color: #2c3e50 !important;
    text-decoration: none !important;
    display: block !important;
}

.site-title .sax-fort-gradient {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.4rem;
    display: block;
    letter-spacing: 1.5px;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 0.95rem !important;
    }
}

/* --- Basic section styles --- */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-top: 0; /* Remove default padding, let hero handle spacing */
}

/* Ensure header content stays centered */
.site-header .ast-container,
#masthead .ast-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Header bar styling — fixed + shrink on scroll */
.site-header,
#masthead {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    transition: all 0.35s ease !important;
}

.main-header-bar {
    border-bottom: none !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.35s ease !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Shrunk header state when scrolled */
.site-header.scrolled .main-header-bar {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12) !important;
}

/* Logo shrink on scroll */
.site-header .custom-logo,
.site-header .ast-site-identity img {
    transition: all 0.35s ease !important;
    max-height: 80px !important;
    width: auto !important;
}

.site-header.scrolled .custom-logo,
.site-header.scrolled .ast-site-identity img {
    max-height: 40px !important;
    width: auto !important;
    transform: scale(0.7);
    transform-origin: left center;
}

/* Site title shrink on scroll */
.site-header.scrolled .site-title {
    font-size: 0.65rem !important;
    line-height: 1.1 !important;
    max-width: 180px !important;
}

.site-header.scrolled .site-title .sax-fort-gradient {
    font-size: 1rem;
}

/* Nav links shrink on scroll */
.site-header.scrolled .main-navigation a,
.site-header.scrolled .ast-desktop-navigation a,
.site-header.scrolled .nav-menu a,
.site-header.scrolled .ast-main-header-nav a {
    font-size: 12px !important;
    padding: 6px 12px !important;
}

/* Remove dotted focus outline globally */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.main-navigation a:focus,
.ast-desktop-navigation a:focus,
.nav-menu a:focus,
.ast-main-header-nav a:focus,
.site-header a:focus,
.cta-button-enhanced:focus,
.map-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* --- Unified Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.section-header .section-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.section-header .section-title .highlight {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.section-header .section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }

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

    .section-header .section-subtitle {
        font-size: 1rem;
    }
}

/* --- Plus Jakarta Sans Navigation Menu Font --- */
/* Main Navigation Menu Items */
.main-navigation a,
.main-navigation .menu a,
.ast-desktop-navigation a,
.ast-desktop-navigation .menu a,
.nav-menu a,
.ast-main-header-nav a,
.ast-header-navigation a,
.site-header .main-navigation a,
.site-header .ast-desktop-navigation a {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    color: #2c3e50 !important;
    position: relative !important;
    padding: 8px 16px !important;
}

/* Underline animation on hover */
.main-navigation a::after,
.ast-desktop-navigation a::after,
.nav-menu a::after,
.ast-main-header-nav a::after,
.site-header .main-navigation a::after,
.site-header .ast-desktop-navigation a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%) !important;
    transition: width 0.3s ease !important;
    border-radius: 2px !important;
}

.main-navigation a:hover::after,
.ast-desktop-navigation a:hover::after,
.nav-menu a:hover::after,
.ast-main-header-nav a:hover::after,
.site-header .main-navigation a:hover::after,
.site-header .ast-desktop-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.ast-desktop-navigation .current-menu-item > a::after,
.nav-menu .current-menu-item > a::after {
    width: 80% !important;
}

/* Menu item hover effects */
.main-navigation a:hover,
.main-navigation .menu a:hover,
.ast-desktop-navigation a:hover,
.ast-desktop-navigation .menu a:hover,
.nav-menu a:hover,
.ast-main-header-nav a:hover,
.ast-header-navigation a:hover,
.site-header .main-navigation a:hover,
.site-header .ast-desktop-navigation a:hover {
    color: #c0392b !important;
    transform: translateY(-1px) !important;
}

/* Active/current page styling */
.main-navigation .current-menu-item > a,
.ast-desktop-navigation .current-menu-item > a,
.nav-menu .current-menu-item > a,
.ast-main-header-nav .current-menu-item > a,
.site-header .main-navigation .current-menu-item > a,
.site-header .ast-desktop-navigation .current-menu-item > a {
    color: #c0392b !important;
    font-weight: 700 !important;
}

/* Dropdown/Submenu styling */
.main-navigation .sub-menu,
.ast-desktop-navigation .sub-menu {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 8px 0 !important;
    overflow: hidden !important;
}

.main-navigation .sub-menu a,
.ast-desktop-navigation .sub-menu a,
.main-navigation .children a,
.ast-desktop-navigation .children a {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    letter-spacing: 0.3px !important;
    text-transform: none !important;
    color: #555 !important;
    padding: 10px 20px !important;
}

.main-navigation .sub-menu a::after,
.ast-desktop-navigation .sub-menu a::after {
    display: none !important;
}

.main-navigation .sub-menu a:hover,
.ast-desktop-navigation .sub-menu a:hover {
    background: rgba(192, 57, 43, 0.05) !important;
    color: #c0392b !important;
}

/* Mobile menu styling */
.ast-mobile-header .main-navigation a,
.ast-mobile-header .ast-desktop-navigation a,
.ast-mobile-menu a {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    color: #2c3e50 !important;
}

/* Mobile menu adjustments */
.ast-mobile-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.35s ease;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.custom-home-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
}

/* Make all sections full-width */
.custom-home-wrapper section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    box-sizing: border-box;
}

.custom-home-wrapper section.hero {
    margin-top: 0;
}

html {
    scroll-behavior: smooth;
}

.custom-home-wrapper .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* -------------------- */
/* --- Hero Section --- */
/* -------------------- */
.hero {
    background: #ffffff;
    color: #2c3e50;
    padding: 250px 0 80px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

/* Rotating adjectives */
.hero-rotating-words {
    height: 6.2rem;
    overflow: hidden;
    margin-bottom: 8px;
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
}

.rotating-word {
    display: block;
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    width: 100%;
    left: 0;
}

.rotating-word.active {
    opacity: 1;
    transform: translateY(0);
}

.rotating-word.exit {
    opacity: 0;
    transform: translateY(100%);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #2c3e50;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 .highlight {
    color: #c0392b;
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    border-radius: 2px;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 24px;
    animation: fadeInUp 0.9s ease forwards;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #444;
    animation: fadeInUp 1s ease forwards;
    max-width: 520px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.hero .btn {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.3);
    animation: fadeInUp 1.2s ease;
    white-space: nowrap;
    width: auto;
    max-width: fit-content;
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(192, 57, 43, 0.4);
    color: white;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    animation: fadeInUp 1.4s ease forwards;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stat-text {
    display: flex;
    flex-direction: column;
}

.hero-stat-avatars {
    display: flex;
}

.hero-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: -10px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-avatar:last-child {
    margin-right: 0;
}

.hero-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0392b;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: #888;
    margin-top: 4px;
}

/* Right Image Section - Blob Shape */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease forwards;
    min-height: 600px;
    padding: 20px;
}

/* Photo placeholder/container */
.hero-image .photo-container {
    width: 100%;
    height: 550px;
    background: #f8f9fa;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-image .photo-container:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.hero-image .photo-placeholder {
    text-align: center;
    color: #999;
    font-size: 1.1rem;
}

.hero-image .photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ccc;
    display: block;
}

.hero-image img {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 30% 58% 51% 42% / 30% 45% 58% 52%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, border-radius 0.5s ease;
}

.hero-image img:hover {
    transform: scale(1.03);
    border-radius: 28% 55% 53% 44% / 28% 48% 55% 50%;
}

/* Hero Image Slider */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.hero-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 3s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dot.active {
    background: #c0392b;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: #d35400;
}

/* Hero Call to Action Banner */
.hero-cta-banner {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.08) 0%, rgba(243, 156, 18, 0.08) 100%);
    padding: 20px 40px;
    border-radius: 8px;
    margin-top: 50px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease forwards;
    backdrop-filter: blur(4px);
}

.hero-cta-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-cta-text {
    color: #2c3e50;
    font-size: 1.35rem;
    letter-spacing: 0.2px;
}

.hero-cta-text strong {
    color: #c0392b;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Hero Rating Box */
a.hero-rating-box {
    position: absolute;
    bottom: 40px;
    left: 20px;
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

a.hero-rating-box:focus,
a.hero-rating-box:active {
    outline: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

a.hero-rating-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(243, 156, 18, 0.3);
}

.hero-rating-stars {
    display: flex;
    gap: 4px;
}

.hero-rating-stars i {
    color: #f39c12;
    font-size: 1.3rem;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

a.hero-rating-box:hover .hero-rating-stars i {
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.6);
    animation: starPop 0.4s ease forwards;
}

a.hero-rating-box:hover .hero-rating-stars i:nth-child(1) { animation-delay: 0s; }
a.hero-rating-box:hover .hero-rating-stars i:nth-child(2) { animation-delay: 0.07s; }
a.hero-rating-box:hover .hero-rating-stars i:nth-child(3) { animation-delay: 0.14s; }
a.hero-rating-box:hover .hero-rating-stars i:nth-child(4) { animation-delay: 0.21s; }
a.hero-rating-box:hover .hero-rating-stars i:nth-child(5) { animation-delay: 0.28s; }

@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35) rotate(15deg); }
    100% { transform: scale(1.15); }
}

.hero-rating-text {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    transition: color 0.3s ease;
}

a.hero-rating-box:hover .hero-rating-text {
    color: #f39c12;
}

.hero-decoration {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero-decoration:nth-child(2) {
    top: 60%;
    left: 5%;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    width: 80px;
    height: 80px;
    animation-delay: -2s;
}

/* Hero Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 160px 0 60px 0;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-rotating-words {
        height: 3.6rem;
        margin-bottom: 5px;
    }

    .rotating-word {
        font-size: 2.8rem;
        line-height: 3.6rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

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

    .hero p {
        font-size: 0.95rem;
    }

    .hero-stats {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        gap: 10px;
        width: 100%;
    }

    .hero-stat {
        flex: 1;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .hero-stat-text {
        align-items: center;
    }

    .hero-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hero-cta-content {
        flex-direction: column;
        align-items: center;
    }

    a.hero-rating-box {
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 140px 0 40px 0;
    }

    .hero-rotating-words {
        height: 3rem;
    }

    .rotating-word {
        font-size: 2.2rem;
        line-height: 3rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-stats {
        gap: 5px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

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

/* --- Courses Section --- */
.courses {
    background: #f9f9f9;
    text-align: center;
    padding: 80px 0;
    min-height: 100vh;
}

.courses .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.courses h2 {
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.course-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 250px;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* --- Teachers Section --- */
.teachers {
    padding: 80px 0;
    text-align: center;
    min-height: 100vh;
}

.teachers .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.teachers h2 {
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.teacher-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.teacher-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 220px;
    transition: transform 0.3s ease;
}

.teacher-card:hover {
    transform: scale(1.05);
}

/* --- Modern Testimonials Section - Techub Style --- */
.testimonials {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 1;
}

.testimonials .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* testimonials-header now uses .section-header (see unified styles above) */

/* Modern rating badge */
.modern-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: white;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8ecef;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
}

.rating-stars {
    display: flex;
    gap: 3px;
}

.rating-stars .star {
    color: #ffc107;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.rating-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #2c3e50;
}

.rating-score {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
}

.rating-source {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    margin-top: -5px;
}

.rating-count {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 2px;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
    gap: 30px;
    margin-bottom: 60px;
    justify-content: center;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    color: #2c3e50;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e8ecef;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.testimonial-card:hover::before {
    transform: scaleX(1);
}

/* Google Review Card */
.google-review {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.review-stars .star-icon {
    width: 20px;
    height: 20px;
    color: #fbbf24;
    fill: currentColor;
}

.review-content p {
    margin: 0 0 20px 0;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    flex-grow: 1;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.reviewer-avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-initial {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.reviewer-info {
    flex: 1;
}

.reviewer-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.review-date {
    font-size: 0.9rem;
    color: #666;
}

/* QR Review Card - Horizontal Layout Spanning Full Width */
.qr-review-card {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1; /* Spans all columns in the grid */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    text-align: left;
    min-height: 200px;
}

.qr-review-card::before {
    background: rgba(255, 255, 255, 0.1);
    height: 100%;
}

.qr-header {
    flex: 1;
    margin-bottom: 0;
    margin-right: 40px;
    position: relative;
    z-index: 2;
}

.qr-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 15px 0;
    font-size: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.qr-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.4;
}

.qr-code-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.qr-code {
    background: white;
    padding: 15px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.qr-instructions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 200px;
}

.instruction-step {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: left;
    font-size: 0.85rem;
}

.step-number {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.qr-alternative {
    flex: 1;
    text-align: center;
    margin-left: 30px;
    position: relative;
    z-index: 2;
}

.qr-alternative p {
    margin: 0 0 15px 0;
    opacity: 0.9;
}

.review-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.review-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

/* Google Business Info - Techub Style */
.review-button-outline {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    color: white !important;
    margin-top: 12px;
}

.review-button-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: white !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
    }
    

    
    .google-rating {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* QR Card Mobile - Stack Vertically */
    .qr-review-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        min-height: auto;
    }
    
    .qr-header {
        margin-right: 0;
        margin-bottom: 20px;
        flex: none;
    }
    
    .qr-code-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .qr-instructions {
        max-width: 100%;
    }
    
    .qr-alternative {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .qr-code-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 20px;
    }
    
    .google-rating {
        padding: 15px;
    }
}

/* --- Contact Section --- */
.contact {
    padding: 80px 0;
    text-align: center;
    background: url('images/bkg_nuty.jpg') center/cover no-repeat;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-phone {
    margin-top: 20px;
}

.contact-phone a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #c0392b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-phone a:hover {
    transform: translateY(-2px);
    color: #d35400;
}

.contact-phone a i {
    width: 40px;
    height: 40px;
    background: rgba(192, 57, 43, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}



/* --- Modern Locations Section --- */
.locations {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.locations .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.locations-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative;
}

.locations-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    border-radius: 2px;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Location Cards */
.location-cards {
    display: grid;
    gap: 20px;
}

.location-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.location-card:hover::before,
.location-card.active::before {
    transform: scaleX(1);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(192, 57, 43, 0.3);
}

.location-card.active {
    border-color: rgba(192, 57, 43, 0.5);
    box-shadow: 0 15px 35px rgba(192, 57, 43, 0.2);
}

.location-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.location-info {
    flex: 1;
}

.location-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 600;
}

.location-info .address {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.location-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-badge:not(.new):not(.online) {
    background: rgba(192, 57, 43, 0.1);
    color: #c0392b;
}

.location-badge.new {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.location-badge.online {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555;
    font-size: 0.9rem;
}

.detail-item i {
    width: 18px;
    color: #c0392b;
    font-size: 16px;
}

/* Map Container */
.map-container {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.map-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
}

.map-header h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.map-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.map-btn {
    padding: 8px 16px;
    border: none;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.map-btn:hover,
.map-btn.active {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

.map-wrapper {
    position: relative;
    height: 300px;
}

.map-wrapper iframe {
    border-radius: 0;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.location-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

.marker-pin {
    width: 40px;
    height: 40px;
    background: #e74c3c;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.marker-pin:hover {
    transform: rotate(-45deg) scale(1.1);
}

.marker-pin i {
    transform: rotate(45deg);
}

.marker-popup {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.marker-pin:hover + .marker-popup,
.location-marker:hover .marker-popup {
    opacity: 1;
    pointer-events: auto;
}

.marker-popup strong {
    display: block;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.marker-popup p {
    margin: 0;
    color: #666;
    font-size: 0.8rem;
}

.map-info {
    padding: 20px 25px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.85rem;
}

.info-item i {
    color: #c0392b;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .locations-section {
        margin: 40px 0;
    }
    
    .locations-section h3 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .location-card {
        padding: 20px;
    }
    
    .location-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .location-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .map-controls {
        justify-content: center;
    }
    
    .map-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .map-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .location-header {
        flex-direction: row;
        align-items: center;
    }
    
    .location-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .detail-item {
        font-size: 0.85rem;
    }
    
    .map-wrapper {
        height: 250px;
    }
}



/* Form messages */
.form-message {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* WPForms Styling */
.wpforms-container {
    max-width: 600px;
    margin: 0 auto;
}

.wpforms-field {
    margin-bottom: 20px;
}

.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color 0.3s ease;
}

/* Fix for dropdown overflow */
.wpforms-field select {
    height: auto;
    min-height: 50px;
    overflow: visible;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
    outline: none;
    border-color: #6C63FF;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.1);
}

.wpforms-submit {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%) !important;
    color: #fff !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    border: none !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.wpforms-submit:hover {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%) !important;
    transform: scale(1.05) !important;
}

/* Fallback form styling */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.contact form input,
.contact form textarea,
.contact form select,
.contact form button {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Fix for fallback form dropdown */
.contact form select {
    height: auto;
    min-height: 50px;
    overflow: visible;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
}

/* Style for dropdown options */
.contact form select option,
.wpforms-field select option {
    padding: 10px;
    background: #fff;
    color: #333;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Ensure dropdown expands properly */
.contact form select:focus,
.wpforms-field select:focus {
    position: relative;
    z-index: 10;
}

/* Fix for mobile devices */
@media (max-width: 768px) {
    .contact form select,
    .wpforms-field select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .contact form select option,
    .wpforms-field select option {
        font-size: 16px;
        padding: 12px 10px;
    }
}

.contact form input:focus,
.contact form textarea:focus,
.contact form select:focus {
    outline: none;
    border-color: #6C63FF;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.1);
}

/* Required field styling */
.contact form input[required],
.contact form textarea[required],
.contact form select[required],
.wpforms-field input[required],
.wpforms-field textarea[required],
.wpforms-field select[required] {
    position: relative;
}

/* Show validation errors only after form submission attempt */
.contact form.was-validated input[required]:invalid,
.contact form.was-validated textarea[required]:invalid,
.contact form.was-validated select[required]:invalid {
    border-color: #ff6b6b;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.contact form.was-validated input[required]:valid,
.contact form.was-validated textarea[required]:valid,
.contact form.was-validated select[required]:valid {
    border-color: #51cf66;
    box-shadow: 0 0 5px rgba(81, 207, 102, 0.3);
}

.contact form button {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.3);
}

.contact form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(192, 57, 43, 0.4);
    color: white;
}

/* Contact form labels */
.contact label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

/* Form validation styles */
.wpforms-field.wpforms-has-error input,
.wpforms-field.wpforms-has-error textarea,
.wpforms-field.wpforms-has-error select {
    border-color: #dc3545;
}

.wpforms-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    

    
    .contact form input,
    .contact form textarea,
    .contact form select,
    .contact form button,
    .wpforms-field input,
    .wpforms-field textarea,
    .wpforms-field select,
    .wpforms-submit {
        padding: 12px;
    }
    
    .wpforms-submit,
    .contact form button {
        padding: 12px 25px !important;
    }
}

.contact form button:hover {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);;
    transform: scale(1.05);
}

/* --- Animations --- */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsiveness --- */
@media (max-width: 768px) {

    .course-list,
    .teacher-list {
        flex-direction: column;
        align-items: center;
    }

    /* New Hero Mobile Styles */
    .hero {
        padding: 80px 0 60px 0;
        min-height: 70vh;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-rating-box {
        bottom: 10px;
        right: 50%;
        left: auto;
        transform: translateX(50%);
        padding: 14px 22px;
    }

    .hero-rating-box:hover {
        transform: translateX(50%) translateY(-3px);
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-rotating-words {
        height: 3.2rem;
    }

    .rotating-word {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .hero .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        gap: 4px;
    }

    .hero-decoration {
        display: none; /* Hide decorative elements on mobile */
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
        margin-top: 30px;
    }

    .hero-stat {
        align-items: center;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 40px 0;
        min-height: 60vh;
    }

    .hero .container {
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-rotating-words {
        height: 2.5rem;
    }

    .rotating-word {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        gap: 3px;
    }

    .hero-stats {
        gap: 20px;
        margin-top: 25px;
    }

    .hero-stat-number {
        font-size: 1.4rem;
    }

    .hero-stat-label {
        font-size: 0.8rem;
    }

    .hero-rating-box {
        padding: 12px 18px;
    }

    .hero-rating-stars i {
        font-size: 1rem;
    }

    .hero-rating-text {
        font-size: 0.85rem;
    }
}

.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-section.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- About Section --- */
.about {
    padding: 80px 0;
    background: #fff;
}

.about .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About two-column layout */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content + .about-content {
    margin-top: 80px;
}



.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, border-radius 0.5s ease;
}

/* First blob shape */
.about-content:not(.about-content-reversed) .about-image img {
    border-radius: 42% 58% 35% 65% / 45% 32% 68% 55%;
}

.about-content:not(.about-content-reversed) .about-image img:hover {
    transform: scale(1.03);
    border-radius: 40% 55% 38% 62% / 43% 35% 65% 53%;
}

/* Second blob shape (different) */
.about-content-reversed .about-image img {
    border-radius: 58% 42% 65% 35% / 55% 68% 32% 45%;
}

.about-content-reversed .about-image img:hover {
    transform: scale(1.03);
    border-radius: 55% 40% 62% 38% / 53% 65% 35% 43%;
}

/* About features */
.about-features-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.about-features-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.about-feature:last-child {
    margin-bottom: 0;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #c0392b;
}

.about-feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 6px 0;
}

.about-feature-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content + .about-content {
        margin-top: 60px;
    }



    .about-image img {
        max-width: 350px;
    }

    .about-features-title {
        font-size: 1.5rem;
    }
}

/* --- Offer Section --- */
/* --- Offer Section --- */
.offer {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.offer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.offer-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.offer-card:hover::before {
    opacity: 1;
}

/* --- Icon Container --- */
.offer-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(192, 57, 43, 0.1) 0%,
        rgba(243, 156, 18, 0.1) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.offer-card:hover .offer-card-icon {
    background: linear-gradient(
        135deg,
        #c0392b 0%,
        #d35400 50%,
        #f39c12 100%
    );
    transform: scale(1.08);
}

/* --- Sprite-based Instrument Icons --- */
.offer-icon {
    display: block;
    width:  92px;
    height: 92px;

    transition: filter 0.3s ease;
}

.offer-card:hover .offer-icon {
    filter: brightness(0) invert(1);
}

/* --- Text --- */
.offer-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.offer-card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 1024px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .offer {
        padding: 60px 0;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .offer-card {
        padding: 25px 20px;
    }
}

/* --- FAQ Section --- */
.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    box-shadow: 0 6px 24px rgba(192, 57, 43, 0.12);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.faq-question:hover,
.faq-question:focus,
.faq-question:active {
    color: #2c3e50;
    background: none;
    outline: none;
    box-shadow: none;
}

.faq-item.active .faq-question {
    color: #2c3e50;
}

.faq-icon {
    font-size: 0.85rem;
    color: #999;
    transition: transform 0.3s ease, color 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #c0392b;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 22px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 20px 18px;
        font-size: 0.95rem;
    }
}

/* --- Announcements Section --- */
.announcements {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.announcements .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}



.announcements-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Main announcement */
.announcement-main {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.announcement-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: rgba(192, 57, 43, 0.1);
    color: #c0392b;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.announcement-badge.urgent {
    background: rgba(192, 57, 43, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.announcement-main h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.announcement-main > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.announcement-details p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.contact-info i {
    color: #c0392b;
    font-size: 1.2rem;
}

.btn-announcement {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.3);
}

.btn-announcement:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(192, 57, 43, 0.4);
    color: white;
}

/* Locations section */
.announcement-locations {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.announcement-locations h4 {
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement-locations h4 i {
    color: #c0392b;
}

.location-item {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.location-item:hover {
    border-color: #c0392b;
    background: rgba(192, 57, 43, 0.03);
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.location-badge.new {
    background: rgba(192, 57, 43, 0.1);
    color: #c0392b;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
}

.room-info {
    background: rgba(192, 57, 43, 0.1);
    color: #c0392b;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
}

.location-item p {
    margin: 5px 0;
    color: #555;
}

.location-item small {
    color: #777;
    font-style: italic;
}

/* Additional announcements */
.additional-announcements {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.announcement-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.announcement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.announcement-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #c0392b;
    flex-shrink: 0;
}

.announcement-item:nth-child(1) .announcement-icon,
.announcement-item:nth-child(2) .announcement-icon,
.announcement-item:nth-child(3) .announcement-icon {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.1) 0%, rgba(243, 156, 18, 0.1) 100%);
    color: #c0392b;
}

.announcement-content h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
}

.announcement-content p {
    margin: 0 0 10px 0;
    color: #666;
    line-height: 1.4;
}

.announcement-date {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .announcement-main {
        padding: 25px;
    }
    
    .announcement-main h3 {
        font-size: 1.5rem;
    }
    
    .additional-announcements {
        grid-template-columns: 1fr;
    }
    
    .announcement-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
}

/* --- Footer Social Media --- */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.social-media-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    margin-right: 5px;
}

.social-media-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-media-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-media-links a[href*="facebook"]:hover {
    background: #1877f2;
}

.social-media-links a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-media-links a[href*="youtube"]:hover {
    background: #FF0000;
}

.footer-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile responsiveness for footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .social-media-links {
        order: -1;
    }
}

/* --- Gallery Section --- */
.gallery {
    padding: 120px 0 80px 0;
    background: #f8f9fa;
    overflow: hidden;
    min-height: 100vh;
}

.gallery .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 80px;
}



/* Gallery social links */
.gallery-social {
    text-align: center;
    padding: 40px 20px 0;
}

.gallery-social p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 20px;
}

.gallery-social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.gallery-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 25px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.gallery-social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    color: white;
}

.gallery-social-links a[href*="facebook"]:hover {
    background: #1877f2;
}

.gallery-social-links a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.gallery-social-links a[href*="youtube"]:hover {
    background: #FF0000;
}

@media (max-width: 768px) {
    .gallery-social-links a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Gallery strips */
.gallery-strip {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.gallery-strip::before,
.gallery-strip::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.gallery-strip::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.gallery-strip::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

.gallery-strip-track {
    display: flex;
    width: fit-content;
    gap: 30px;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.gallery-strip-left .gallery-strip-track {
    animation-name: scrollLeft;
}

.gallery-strip-right .gallery-strip-track {
    animation-name: scrollRight;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.gallery-strip-item {
    flex-shrink: 0;
    width: 500px;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-strip-item:hover {
    transform: scale(1.05);
}

.gallery-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-strip-item:hover img {
    transform: scale(1.1);
}

/* Pause animation on hover */
.gallery-strip:hover .gallery-strip-track {
    animation-play-state: paused;
}

/* Add subtle overlay */
.gallery-strip-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(255, 111, 97, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-strip-item:hover::after {
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .gallery {
        padding: 60px 0 20px 0;
    }
    

    
    .gallery-strip {
        height: 100px;
        margin-bottom: 15px;
    }
    
    .gallery-strip-item {
        width: 150px;
        height: 100px;
    }
    
    .gallery-strip::before,
    .gallery-strip::after {
        width: 50px;
    }
    
    .gallery-strip-track {
        gap: 15px;
        animation-duration: 40s;
    }
}

/* Special styling for CTA button - Compact Height */
.main-navigation a[href="#contact"],
.main-navigation a[href*="contact"],
.ast-desktop-navigation a[href="#contact"],
.ast-desktop-navigation a[href*="contact"],
.nav-menu a[href="#contact"],
.nav-menu a[href*="contact"],
.cta-button-enhanced {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    position: relative !important;
    margin-left: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    height: auto !important;
    min-height: unset !important;
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.3) !important;
}

/* Remove underline from CTA button */
.main-navigation a[href="#contact"]::after,
.main-navigation a[href*="contact"]::after,
.ast-desktop-navigation a[href="#contact"]::after,
.ast-desktop-navigation a[href*="contact"]::after,
.nav-menu a[href="#contact"]::after,
.nav-menu a[href*="contact"]::after,
.cta-button-enhanced::after {
    display: none !important;
}

/* Hover effect for CTA button */
.main-navigation a[href="#contact"]:hover,
.main-navigation a[href*="contact"]:hover,
.ast-desktop-navigation a[href="#contact"]:hover,
.ast-desktop-navigation a[href*="contact"]:hover,
.nav-menu a[href="#contact"]:hover,
.nav-menu a[href*="contact"]:hover,
.cta-button-enhanced:hover {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(192, 57, 43, 0.4) !important;
    color: #fff !important;
}

/* Mobile responsive for CTA button */
@media (max-width: 768px) {
    .main-navigation a[href="#contact"],
    .main-navigation a[href*="contact"],
    .ast-desktop-navigation a[href="#contact"],
    .ast-desktop-navigation a[href*="contact"],
    .nav-menu a[href="#contact"],
    .nav-menu a[href*="contact"],
    .cta-button-enhanced {
        padding: 5px 12px !important;
        font-size: 12px !important;
        margin: 3px 0 !important;
        margin-left: 8px !important;
        letter-spacing: 0.2px !important;
        clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 0 100%) !important;
    }
}

/* Scroll to top button */
#ast-scroll-top {
    background: linear-gradient(135deg, #c0392b 0%, #d35400 50%, #f39c12 100%) !important;
    color: white !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

#ast-scroll-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4) !important;
}