* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-full {
    width: 100%;
    padding: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-brand h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Branch Section */
.hero-branch {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero-branch-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.branch-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-branch h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-large {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.3rem;
}

.whatsapp-button-wrapper {
    margin-top: 25px;
    text-align: center;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Packages Section */
.packages {
    background: var(--white);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.package-card.featured {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.package-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.package-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.package-subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.package-body {
    padding: 30px;
}

.package-feature {
    margin-bottom: 25px;
}

.package-feature:last-child {
    margin-bottom: 0;
}

.package-feature h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.package-feature ul {
    list-style: none;
}

.package-feature ul li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.package-footer {
    padding: 0 30px 30px;
}

/* Facilities Section */
.facilities {
    background: var(--bg-light);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.facility-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.facility-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.facility-card h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.facility-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Master Teachers Section */
.master-teachers {
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.master-teachers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23f9fafb" d="M0,50 Q360,0 720,50 T1440,50 L1440,0 L0,0 Z"></path></svg>') no-repeat top;
    background-size: cover;
}

.master-teachers .section-header h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.teachers-grid-master {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
    align-items: stretch;
}

.teacher-card-master {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.teacher-card-master:hover {
    transform: translateY(-8px);
}

.teacher-photo {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 320px;
    overflow: hidden;
}

.teacher-photo img {
    width: 38%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.teacher-photo-circle {
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 5px solid var(--white);
}

.teacher-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: var(--white);
    padding: 25px 20px;
    text-align: center;
}

.teacher-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.teacher-title {
    font-size: 0.95rem;
    opacity: 0.95;
}

.teacher-achievements {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: var(--white);
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.teacher-achievements h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

.teacher-achievements ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.teacher-achievements ul li {
    font-size: 0.88rem;
    line-height: 1.5;
    padding-left: 5px;
}

.teachers-cta {
    text-align: center;
}

.teachers-cta-text {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 50%, #ff8e8e 100%);
    padding: 80px 0;
}

.testimonials-box {
    background: var(--white);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.testimonials-section .section-header h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.testimonial-card-new {
    background: var(--white);
    padding: 0;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card-new:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9a56 0%, #ff8e8e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.avatar-initial {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.alumni-badge {
    background: #fff4e6;
    color: #ff9a56;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.testimonial-name {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.testimonial-university {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.university-logo {
    font-size: 2rem;
    flex-shrink: 0;
}

.university-info {
    text-align: left;
}

.university-status {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.university-name {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: left;
    padding: 0 15px;
}

.testimonials-cta {
    text-align: center;
    margin-top: 40px;
}

.testimonials-empty {
    text-align: center;
    padding: 60px 20px;
}

.testimonials-empty .empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonials-empty h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.testimonials-empty p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* Why Choose Us Section */
.why-choose-section {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23ffffff" d="M0,50 Q360,0 720,50 T1440,50 L1440,0 L0,0 Z"></path></svg>') no-repeat top;
    background-size: cover;
}

.why-choose-section .section-header h2 {
    color: var(--white);
    font-size: 2.3rem;
    margin-bottom: 50px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.why-card-grid {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.why-card-grid:hover {
    transform: translateY(-5px);
}

.why-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.why-image-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.why-image-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
    z-index: 0;
}

.ruangguru-bg {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
}

.why-profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.why-emoji {
    font-size: 6rem;
    position: relative;
    z-index: 1;
}

.why-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.why-student-name {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.why-student-location {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.why-student-info {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-style: italic;
}

.why-student-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.85rem;
    flex: 1;
}

.why-cta {
    text-align: center;
}

.why-cta-text {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f3f4f6;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.4;
}

.gallery-placeholder {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gallery-placeholder span {
    font-size: 3rem;
}

.gallery-placeholder p {
    color: var(--text-light);
    font-weight: 500;
}

/* Gallery Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.pagination-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.pagination-btn span {
    font-size: 1.2rem;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.pagination-number:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.pagination-dots {
    color: var(--text-light);
    padding: 0 5px;
}

.gallery-info {
    text-align: center;
    margin-top: 20px;
}

.gallery-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.gallery-empty {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.gallery-empty h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.gallery-empty p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Branch Location Section - Simple */
.branches-simple {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    padding: 80px 0;
}

.branch-location-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.branch-info-card {
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.branch-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.branch-info-card h3 {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.branch-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.branch-detail-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.branch-detail-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.branch-detail-item strong {
    color: var(--accent-color);
}

.branch-info-card .btn {
    margin-top: auto;
}

.branch-map-card {
    position: relative;
    min-height: 450px;
}

.branch-map-card iframe {
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info-box,
.contact-form-box {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-info-box h3,
.contact-form-box h3 {
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.social-link:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-branch-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-branch h1 {
        font-size: 2.8rem;
    }

    .hero-logo-large {
        max-width: 250px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teachers-grid-master {
        grid-template-columns: 1fr;
    }

    .teacher-photo {
        height: 280px;
    }

    .teacher-header h3 {
        font-size: 1.2rem;
    }

    .teacher-achievements {
        padding: 20px;
    }

    .teacher-achievements ul li {
        font-size: 0.85rem;
    }

    .branch-location-wrapper {
        grid-template-columns: 1fr;
    }

    .branch-map-card {
        min-height: 350px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-branch {
        padding: 100px 0 60px;
    }

    .hero-branch h1 {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-box {
        padding: 40px 25px;
    }

    .teachers-grid-master {
        grid-template-columns: 1fr;
    }

    .teacher-photo {
        padding: 35px 25px 18px;
    }

    .teacher-photo-circle {
        width: 130px;
        height: 130px;
        border: 4px solid var(--white);
    }

    .teacher-header {
        padding: 22px 18px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card-image {
        height: 200px;
    }

    .why-emoji {
        font-size: 4.5rem;
    }

    .why-card-content {
        padding: 18px;
    }

    .why-cta-text {
        font-size: 1.1rem;
    }

    .branch-info-card {
        padding: 25px;
    }

    .branch-map-card {
        min-height: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .gallery-pagination {
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .nav-logo {
        height: 38px;
    }
}

@media (max-width: 480px) {
    .hero-branch h1 {
        font-size: 1.8rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-numbers {
        order: 1;
    }
    
    .pagination-prev {
        order: 0;
    }
    
    .pagination-next {
        order: 2;
    }
    
    .pagination-btn {
        width: 100%;
        justify-content: center;
    }

    .nav-logo {
        height: 32px;
    }

    .footer-logo {
        width: 70px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
