/* 
   H Oneness Edu-Skills - Premium Stylesheet
   Design System, Custom Layouts, and Animations
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Consistency */
:root {
    --primary: #1a365d;
    --primary-light: #2b528a;
    --primary-rgb: 26, 54, 93;
    --accent: #ff6b35;
    --accent-hover: #fa5a20;
    --accent-rgb: 255, 107, 53;
    --secondary: #4ea8de;
    --secondary-rgb: 78, 168, 222;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.2);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Common Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header .subtitle {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 6px;
}

.section-header .subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(26, 54, 93, 0.2); }
    50% { box-shadow: 0 0 25px rgba(26, 54, 93, 0.4); }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 20px 0;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
}

header.scrolled .logo-img {
    height: 42px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 8px 4px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
    padding: 4px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(78, 168, 222, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 40%);
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(78, 168, 222, 0.12);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(78, 168, 222, 0.2);
}

.hero-tag i {
    color: var(--accent);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--accent);
    position: relative;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    border: 8px solid var(--bg-white);
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.shape-1 {
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 107, 53, 0.2);
}

.shape-2 {
    bottom: -30px;
    left: -20px;
    width: 250px;
    height: 250px;
    background-color: rgba(78, 168, 222, 0.25);
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--bg-white);
}

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

.why-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px 24px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(78, 168, 222, 0.3);
}

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

.why-card:nth-child(even)::before {
    background-color: var(--accent);
}

.why-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.why-card:nth-child(4n+1) .why-icon { background-color: rgba(26, 54, 93, 0.08); color: var(--primary); }
.why-card:nth-child(4n+2) .why-icon { background-color: rgba(255, 107, 53, 0.08); color: var(--accent); }
.why-card:nth-child(4n+3) .why-icon { background-color: rgba(78, 168, 222, 0.12); color: var(--secondary); }
.why-card:nth-child(4n+4) .why-icon { background-color: rgba(16, 185, 129, 0.08); color: var(--success); }

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    flex-grow: 1;
    line-height: 1.5;
}

/* About Us Section */
.about {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--accent);
    color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 4px solid var(--bg-white);
}

.experience-badge .years {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.about-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-keypoints {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-keypoints li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.about-keypoints li i {
    color: var(--success);
    font-size: 1.1rem;
}

.founder-signature {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 24px;
}

.signature-details h4 {
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.signature-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Programs Section */
.programs {
    background-color: var(--bg-white);
}

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

.program-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-white);
    border-color: rgba(78, 168, 222, 0.3);
    box-shadow: var(--shadow-lg);
}

.program-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(26, 54, 93, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

.program-card:hover .program-icon {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.2);
}

.program-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.program-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 24px;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-link i {
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.program-card:hover .program-link {
    color: var(--accent);
}

.program-card:hover .program-link i {
    transform: translateX(4px);
}

/* Benefits of Abacus Section */
.benefits {
    background-color: var(--bg-light);
    overflow: hidden;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(78, 168, 222, 0.2);
}

.benefit-num {
    background-color: rgba(78, 168, 222, 0.12);
    color: var(--primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.benefit-card:nth-child(even) .benefit-num {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--accent);
}

.benefit-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.benefit-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Franchise Section */
.franchise {
    background-color: var(--bg-white);
    padding-bottom: 120px;
}

.franchise-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: flex-start;
}

.franchise-benefits-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.franchise-benefit-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.franchise-benefit-item i {
    color: var(--accent);
    font-size: 1.25rem;
    background-color: rgba(255, 107, 53, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.franchise-benefit-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.franchise-benefit-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-box h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-box > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-group .error-message {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-group.has-error .form-control {
    border-color: var(--error);
}

.form-group.has-error .error-message {
    display: block;
}

.form-group.has-success .form-control {
    border-color: var(--success);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

.form-success-alert {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fade-in 0.3s ease-out;
    display: none;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Student Journey Section */
.journey {
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    width: 100%;
    margin-bottom: 40px;
    position: relative;
}

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

.timeline-dot {
    width: 24px;
    height: 24px;
    background-color: var(--bg-white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(even) .timeline-dot {
    border-color: var(--accent);
}

.timeline-content {
    width: 45%;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .timeline-content {
    float: left;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 22px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent var(--border-color);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    border-width: 8px 10px 8px 0;
    border-color: transparent var(--border-color) transparent transparent;
}

.timeline-step {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: inline-block;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Gallery Section */
.gallery {
    background-color: var(--bg-white);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-tab {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-tab:hover, .gallery-tab.active {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 280px;
    transition: var(--transition-normal);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.9), rgba(78, 168, 222, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.gallery-overlay h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-light);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.testimonial-slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 48px;
    box-shadow: var(--shadow-md);
    position: relative;
    text-align: center;
}

.testimonial-quote {
    font-size: 2.5rem;
    color: rgba(255, 107, 53, 0.15);
    position: absolute;
    top: 24px;
    left: 36px;
    line-height: 1;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: #fbbf24;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.author-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.author-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    z-index: 10;
}

.slider-btn:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.slider-btn-prev {
    left: -10px;
}

.slider-btn-next {
    right: -10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--accent);
    width: 24px;
    border-radius: 10px;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    cursor: pointer;
    user-select: none;
}

.faq-question i {
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active {
    background-color: var(--bg-white);
    border-color: rgba(78, 168, 222, 0.3);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

/* Call to Action Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 107, 53, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(78, 168, 222, 0.2) 0%, transparent 40%);
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.cta h2 {
    color: var(--bg-white);
    font-size: 2.8rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(26, 54, 93, 0.06);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-text p, .contact-text a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-text a:hover {
    color: var(--accent);
}

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 250px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer styling */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-widget h3 {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-widget p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 6px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    transform: translateY(-2px);
}

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

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--bg-white);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Responsiveness (Breakpoints) */
@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 40px;
        gap: 30px;
        box-shadow: -10px 0 20px rgba(0,0,0,0.05);
        transition: right 0.4s cubic-bezier(0.1, 0.8, 0.3, 1);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .header-actions .btn {
        display: none; /* Hide top CTA on small mobile */
    }
    
    .hero-grid, .about-grid, .franchise-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* Place image on top on mobile */
    }
    
    .about-visual {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .experience-badge {
        padding: 16px;
        bottom: -10px;
        right: -10px;
    }
    
    .experience-badge .years {
        font-size: 1.8rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        float: right !important;
    }
    
    .timeline-content::before {
        left: -10px;
        border-width: 8px 10px 8px 0 !important;
        border-color: transparent var(--border-color) transparent transparent !important;
    }
    
    .form-box {
        padding: 24px;
    }
    
    .contact-info {
        order: 1;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .why-grid, .programs-grid, .benefits-grid, .gallery-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-keypoints {
        grid-template-columns: 1fr;
    }
    
    .franchise-benefits-list {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .testimonial-container {
        padding: 0 10px;
    }
    
    .slider-btn {
        display: none; /* Hide navigation buttons on mobile, rely on dots/swipe */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}
