/* =========================================
   MATERIAL DESIGN VARIABLES & SYSTEM
   ========================================= */
:root {
    --md-primary: #1A237E; 
    --md-primary-light: #534BAE;
    --md-secondary: #FF8F00; 
    --md-whatsapp: #25D366;
    --md-surface: #FFFFFF;
    --md-bg: #F8F9FA;
    --md-text: #202124;
    --md-text-light: #5F6368;
    
    --md-shadow-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --md-shadow-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --md-shadow-3: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    
    --transition-standard: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; background-color: var(--md-bg); color: var(--md-text); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Comfortaa', cursive; line-height: 1.3; }
a { text-decoration: none; }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
    background-color: var(--md-primary); color: var(--md-surface); padding: 15px 5%;
    display: flex; justify-content: space-between; align-items: center; 
    position: sticky; top: 0; z-index: 1000; box-shadow: var(--md-shadow-2);
}
.logo-container { display: flex; flex-direction: column; line-height: 1.1; }
.logo-small { font-size: 13px; font-weight: 400; letter-spacing: 1px; color: #FFD54F; font-family: 'Roboto', sans-serif; }
.logo-main { font-size: 24px; font-weight: 700; letter-spacing: 0.5px; color: var(--md-surface); font-family: 'Comfortaa', cursive; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a { color: var(--md-surface); font-weight: 500; font-size: 16px; transition: color var(--transition-standard); position: relative; }
nav ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--md-secondary); transition: width var(--transition-standard); }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

/* =========================================
   HERO / PAGE HEADER SECTION
   ========================================= */
.page-header {
    background: linear-gradient(rgba(26, 35, 126, 0.85), rgba(26, 35, 126, 0.85)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1350&q=80');
    background-size: cover; background-position: center; color: var(--md-surface);
    padding: 100px 5% 120px; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}
.page-header h1 { font-size: 3.5rem; margin-bottom: 20px; }
.page-header p { font-size: 1.2rem; max-width: 700px; margin: 0 auto; opacity: 0.9; line-height: 1.8; }

/* =========================================
   BUTTONS & RIPPLE EFFECT
   ========================================= */
.cta-container { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.btn { padding: 15px 35px; border-radius: 50px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; transition: transform var(--transition-standard), box-shadow var(--transition-standard); position: relative; overflow: hidden; cursor: pointer; border: none; }
.btn-call { background-color: var(--md-secondary); color: var(--md-surface); box-shadow: var(--md-shadow-2); }
.btn-whatsapp { background-color: var(--md-whatsapp); color: var(--md-surface); box-shadow: var(--md-shadow-2); }
.btn:hover { box-shadow: var(--md-shadow-3); transform: translateY(-3px); }
.ripple-effect { position: absolute; border-radius: 50%; transform: scale(0); animation: ripple 600ms linear; background-color: rgba(255, 255, 255, 0.4); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* =========================================
   LAYOUT & CARDS
   ========================================= */
.section-padding { padding: 80px 5%; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--md-primary); }
.section-title div { width: 80px; height: 4px; background: var(--md-secondary); margin: 15px auto; border-radius: 2px; }

.card { background: var(--md-surface); padding: 40px; border-radius: 15px; box-shadow: var(--md-shadow-2); margin-top: -50px; position: relative; z-index: 10; max-width: 1000px; margin-left: auto; margin-right: auto; text-align: center; }
.card h2 { color: var(--md-primary); margin-bottom: 15px; }
.card p { color: var(--md-text-light); font-size: 1.1rem; }

/* =========================================
   FOOTER
   ========================================= */
footer { background: #111827; color: var(--md-surface); padding: 80px 5% 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-col h4 { font-size: 1.5rem; margin-bottom: 30px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; width: 50px; height: 3px; background: var(--md-secondary); bottom: -10px; left: 0; border-radius: 2px; }
.footer-col p, .footer-col ul li a { color: #9CA3AF; text-decoration: none; display: block; margin-bottom: 15px; font-size: 1rem; transition: color var(--transition-standard); }
.footer-col ul { list-style: none; }
.footer-col ul li a:hover { color: var(--md-surface); }
.social-links { display: flex; gap: 15px; margin-top: 25px; }
.social-links a { background: rgba(255,255,255,0.1); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: var(--transition-standard); color: var(--md-surface); }
.social-links a:hover { background: var(--md-secondary); transform: translateY(-5px); color: var(--md-surface); }
.footer-map iframe { width: 100%; height: 200px; border-radius: 10px; border: none; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; font-size: 0.9rem; color: #9CA3AF; }

/* =========================================
   RESPONSIVE DESIGN (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; padding: 15px; text-align: center; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    nav ul li { margin-left: 0; }
    .page-header h1 { font-size: 2.2rem; }
    .page-header { padding: 60px 5% 80px; }
}

/* =========================================
   HOMEPAGE SECTIONS (FEATURES, COURSES, GALLERY, TESTIMONIALS, FAQ, CONTACT)
   ========================================= */

/* Common Section Styling */
.section-subtitle { text-align: center; color: var(--md-text-light); margin-bottom: 40px; font-size: 1.1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.center-btn { text-align: center; margin-top: 40px; }
.btn-outline { background: transparent; border: 2px solid var(--md-primary); color: var(--md-primary); }
.btn-outline:hover { background: var(--md-primary); color: var(--md-surface); }

/* Features (Why Choose Us) */
.feature-card { background: var(--md-surface); padding: 40px 20px; border-radius: 15px; box-shadow: var(--md-shadow-1); text-align: center; transition: var(--transition-standard); }
.feature-card:hover { box-shadow: var(--md-shadow-2); transform: translateY(-5px); }
.feature-icon { font-size: 3rem; color: var(--md-primary-light); margin-bottom: 20px; }
.feature-card h3 { color: var(--md-primary); margin-bottom: 15px; font-size: 1.4rem; }

/* Courses */
.course-card { background: var(--md-surface); border-radius: 15px; box-shadow: var(--md-shadow-1); overflow: hidden; transition: var(--transition-standard); }
.course-card:hover { box-shadow: var(--md-shadow-2); }
.course-header { background: var(--md-primary); color: var(--md-surface); padding: 30px; text-align: center; }
.course-header h3 { font-size: 1.8rem; margin-bottom: 5px; }
.course-header.secondary { background: var(--md-primary-light); }
.course-body { padding: 30px; }
.course-list { list-style: none; }
.course-list li { margin-bottom: 20px; display: flex; gap: 15px; align-items: flex-start; }
.course-list i { color: var(--md-whatsapp); font-size: 1.2rem; margin-top: 3px; }
.course-list strong { display: block; color: var(--md-text); margin-bottom: 5px; }
.course-list p { color: var(--md-text-light); font-size: 0.95rem; margin: 0; }

/* Gallery */
.gallery-img { width: 100%; height: 250px; object-fit: cover; border-radius: 15px; box-shadow: var(--md-shadow-1); transition: var(--transition-standard); cursor: pointer; }
.gallery-img:hover { transform: scale(1.02); box-shadow: var(--md-shadow-2); }

/* Testimonials */
.testimonial-card { background: var(--md-surface); padding: 40px; border-radius: 15px; box-shadow: var(--md-shadow-1); position: relative; }
.testimonial-text { font-style: italic; color: var(--md-text-light); margin-bottom: 20px; font-size: 1.05rem; }
.quote-icon { position: absolute; top: 30px; right: 30px; font-size: 3rem; color: rgba(255, 143, 0, 0.2); }
.client-info { display: flex; align-items: center; gap: 15px; }
.client-avatar { width: 50px; height: 50px; background: var(--md-primary-light); color: white; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; font-size: 1.2rem; }
.client-details h4 { color: var(--md-primary); margin: 0 0 5px 0; }
.client-details p { margin: 0; font-size: 0.85rem; color: var(--md-text-light); }

/* FAQ Accordion */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--md-surface); margin-bottom: 15px; border-radius: 10px; box-shadow: var(--md-shadow-1); overflow: hidden; }
.faq-question { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: bold; color: var(--md-primary); transition: background 0.3s; }
.faq-question:hover { background: #f0f2f5; }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: var(--md-text-light); }
.faq-answer.active { padding: 20px 25px; max-height: 200px; border-top: 1px solid #eee; }

/* Contact Form Grid */
.contact-section { background: var(--md-surface); margin: 50px 5%; border-radius: 15px; box-shadow: var(--md-shadow-2); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; }
.contact-info { background: var(--md-primary); color: white; padding: 50px; }
/* --- Background Utility Class --- */
.bg-sky-blue { background-color: #E3F2FD !important; } /* Light Sky Blue */

/* --- Fixed Contact Info Alignment --- */
.info-item { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 30px; 
    align-items: flex-start; /* ટેક્સ્ટ અને આઇકોનને ઉપરથી સમાન લેવલમાં રાખવા */
}
.info-item i { 
    font-size: 1.5rem; 
    background: rgba(255,255,255,0.1); 
    width: 50px; 
    height: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    flex-shrink: 0; /* આનાથી આઇકોન ક્યારેય દબાશે નહિ, ગોળ જ રહેશે */
}
.info-item div {
    flex: 1; /* ટેક્સ્ટને બાકીની બધી જગ્યા લેવા દેશે */
}
.info-item h4 { 
    margin: 0 0 5px 0; 
    font-size: 1.2rem;
}
.info-item p { 
    margin: 0; 
    font-size: 0.95rem; 
    line-height: 1.5; 
    color: rgba(255,255,255,0.8);
}
.contact-form-container { padding: 50px; }
.form-group { margin-bottom: 25px; }
.form-control { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 1rem; transition: 0.3s; }
.form-control:focus { border-color: var(--md-primary); outline: none; box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1); }
textarea.form-control { resize: vertical; height: 120px; }

@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }


/* About Page: Icon & Layout Fixes */
.about-hero { padding: 60px 5% !important; } /* CTA section nanu karva */
.about-hero h2 { font-size: 2.2rem; }

/* Icon Size & Alignment */
.feature-card i { font-size: 2.5rem; color: var(--md-primary); margin-bottom: 15px; display: block; }
.feature-card h3 { font-size: 1.6rem; margin-bottom: 10px; }


/* About Page: Director & Values Styling */
.director-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 50px; }
.director-img img { width: 100%; border-radius: 15px; box-shadow: var(--md-shadow-2); }
.director-content h3 { color: var(--md-primary); margin-bottom: 5px; }
.director-content h4 { color: var(--md-secondary); margin-bottom: 15px; }
.quote { border-left: 4px solid var(--md-secondary); padding: 15px; background: #f0f4ff; font-style: italic; margin-top: 20px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.mv-card { background: white; padding: 30px; border-radius: 15px; text-align: center; box-shadow: var(--md-shadow-1); }
.mv-card i { font-size: 2.5rem; color: var(--md-primary); margin-bottom: 15px; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.value-card { background: white; padding: 25px; border-radius: 15px; text-align: center; box-shadow: var(--md-shadow-1); transition: 0.3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--md-shadow-2); }
.value-icon { font-size: 2rem; color: var(--md-primary); margin-bottom: 10px; }

.cta-section { background: var(--md-primary); color: white; padding: 60px 5%; text-align: center; }
@media (max-width: 768px) { .director-section { grid-template-columns: 1fr; } }