/* ============================================
   COMMERCE FUTURE POINT - Premium Coaching Institute Website
   CSS Stylesheet
   Color Palette:
   Primary: #1a237e (Deep Blue)
   Secondary: #ffd700 (Gold)
   Accent: #e3f2fd (Light Blue)
   Text: #333333 (Dark), #666666 (Medium), #ffffff (White)
   ============================================ */

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background-color: #1a237e;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #283593;
    color: #ffd700;
}

.btn-secondary {
    background-color: #ffd700;
    color: #1a237e;
}

.btn-secondary:hover {
    background-color: #ffc400;
    color: #0d1b6b;
}

.btn-gold {
    background-color: #ffd700;
    color: #1a237e;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
}

.btn-gold:hover {
    background-color: #ffc400;
    color: #0d1b6b;
    transform: translateY(-3px) scale(1.05);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #1a237e;
    color: #1a237e;
}

.btn-outline:hover {
    background-color: #1a237e;
    color: #ffffff;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn i {
    margin-left: 8px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
}

.logo-primary {
    color: #1a237e;
}

.logo-secondary {
    color: #ffd700;
}

.tagline {
    font-size: 12px;
    color: #666666;
    margin-top: -5px;
    font-style: italic;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-weight: 500;
    color: #333333;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: #1a237e;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffd700;
    border-radius: 2px;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #1a237e;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ffffff;
}

.hero-title span {
    color: #ffd700;
}

.hero-subtitle {
    font-size: 20px;
    color: #e3f2fd;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e3f2fd;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.image-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    color: #ffd700;
}

.image-placeholder p {
    font-size: 18px;
    color: #e3f2fd;
}

/* ===== ADMISSION BANNER ===== */
.admission-banner {
    padding: 40px 0;
    background-color: #ffd700;
    color: #1a237e;
}

.admission-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.admission-title {
    font-size: 28px;
    margin-bottom: 5px;
    color: #1a237e;
}

.admission-subtitle {
    font-size: 18px;
    color: #1a237e;
    opacity: 0.9;
}

/* ===== SECTION COMMON STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    color: #1a237e;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffd700;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
}

.bg-light {
    background-color: #e3f2fd;
    padding: 80px 0;
}

/* ===== CLASSES SECTION ===== */
.classes-section {
    padding: 80px 0;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.class-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #1a237e;
    position: relative;
    overflow: hidden;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ffd700;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.class-card:hover::before {
    transform: scaleX(1);
}

.class-icon {
    font-size: 40px;
    color: #1a237e;
    margin-bottom: 20px;
}

.class-title {
    font-size: 24px;
    color: #1a237e;
    margin-bottom: 10px;
}

.class-subjects {
    color: #666666;
    margin-bottom: 20px;
    font-weight: 500;
}

.class-features {
    list-style: none;
    margin-bottom: 25px;
}

.class-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.class-features i {
    color: #ffd700;
    margin-right: 10px;
    font-size: 14px;
}

.class-link {
    color: #1a237e;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.class-link:hover {
    color: #ffd700;
}

.class-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.class-link:hover i {
    transform: translateX(5px);
}

/* ===== SMART CLASS SECTION ===== */
.smart-class-section {
    padding: 80px 0;
    background-color: #e3f2fd;
}

.smart-class-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.smart-class-image {
    flex: 1;
}

.smart-class-text {
    flex: 1;
}

.smart-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.feature {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature i {
    font-size: 36px;
    color: #1a237e;
    margin-bottom: 15px;
}

.feature h4 {
    color: #1a237e;
    margin-bottom: 10px;
}

/* ===== RESULTS SECTION ===== */
.results-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #ffffff;
}

.results-section .section-title,
.results-section .section-subtitle {
    color: #ffffff;
}

.results-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.result-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.result-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.result-rank {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #ffd700;
}

.result-rank i {
    font-size: 24px;
    margin-right: 10px;
}

.result-rank span {
    font-weight: 600;
    font-size: 18px;
}

.student-name {
    font-size: 22px;
    margin-bottom: 5px;
}

.student-class, .student-marks {
    color: #e3f2fd;
    margin-bottom: 5px;
}

.student-quote {
    font-style: italic;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #ffffff;
    text-align: center;
}

.page-title {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 20px;
    color: #e3f2fd;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== HISTORY SECTION ===== */
.history-section {
    padding: 80px 0;
}

.history-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.history-text {
    flex: 1;
}

.history-text p {
    margin-bottom: 20px;
    font-size: 18px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat {
    background-color: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #ffd700;
}

.stat h3 {
    font-size: 36px;
    color: #1a237e;
    margin-bottom: 5px;
}

.stat p {
    color: #666666;
    font-size: 14px;
    margin-bottom: 0;
}

.history-image {
    flex: 1;
}

/* ===== TEACHERS SECTION ===== */
.teachers-section {
    padding: 80px 0;
    background-color: #e3f2fd;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.teacher-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    transition: all 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.teacher-image {
    flex: 0 0 200px;
    background-color: #1a237e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-image .image-placeholder {
    background: transparent;
    border: none;
    height: auto;
}

.teacher-image i {
    color: #ffd700;
    font-size: 80px;
}

.teacher-info {
    flex: 1;
    padding: 30px;
}

.teacher-name {
    font-size: 28px;
    color: #1a237e;
    margin-bottom: 5px;
}

.teacher-qualification {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 5px;
}

.teacher-experience {
    color: #666666;
    margin-bottom: 20px;
    font-weight: 500;
}

.teacher-expertise h4 {
    color: #1a237e;
    margin-bottom: 10px;
}

.teacher-expertise ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.teacher-expertise li {
    background-color: #e3f2fd;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #1a237e;
}

.teacher-bio {
    font-style: italic;
    color: #666666;
}

/* ===== MISSION SECTION ===== */
.mission-section {
    padding: 80px 0;
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #ffd700;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.mission-icon {
    font-size: 50px;
    color: #1a237e;
    margin-bottom: 20px;
}

.mission-title {
    font-size: 24px;
    color: #1a237e;
    margin-bottom: 15px;
}

/* ===== APPROACH SECTION ===== */
.approach-section {
    padding: 80px 0;
    background-color: #e3f2fd;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.approach-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.approach-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.approach-icon {
    font-size: 40px;
    color: #1a237e;
    margin-bottom: 20px;
}

.approach-item h3 {
    color: #1a237e;
    margin-bottom: 15px;
}

/* ===== SUBJECTS SECTION ===== */
.subjects-section {
    padding: 80px 0;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.subject-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #1a237e;
    transition: all 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-left-color: #ffd700;
}

.subject-icon {
    font-size: 40px;
    color: #1a237e;
    margin-bottom: 20px;
}

.subject-title {
    font-size: 22px;
    color: #1a237e;
    margin-bottom: 15px;
}

.subject-description {
    color: #666666;
    margin-bottom: 20px;
}

.subject-topics h4 {
    color: #1a237e;
    margin-bottom: 10px;
}

.subject-topics ul {
    list-style: none;
}

.subject-topics li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.subject-topics li::before {
    content: '•';
    color: #ffd700;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* ===== TABS ===== */
.subjects-tabs {
    margin-top: 30px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #e3f2fd;
}

.tab-btn {
    padding: 12px 30px;
    background-color: transparent;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #666666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #1a237e;
}

.tab-btn.active {
    color: #1a237e;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ffd700;
    border-radius: 2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: #ffffff;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 18px;
    color: #e3f2fd;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== FEES SECTION ===== */
.fees-section {
    padding: 80px 0;
}

.fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.fee-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #e3f2fd;
    transition: all 0.3s ease;
    position: relative;
}

.fee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #ffd700;
}

.fee-card.popular {
    border-color: #ffd700;
    transform: scale(1.05);
}

.fee-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.fee-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffd700;
    color: #1a237e;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.fee-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e3f2fd;
}

.fee-title {
    font-size: 24px;
    color: #1a237e;
    margin-bottom: 10px;
}

.fee-price {
    margin-bottom: 10px;
}

.currency {
    font-size: 24px;
    color: #1a237e;
    vertical-align: top;
}

.amount {
    font-size: 48px;
    font-weight: 700;
    color: #1a237e;
}

.period {
    font-size: 16px;
    color: #666666;
}

.fee-subtitle {
    color: #666666;
}

.fee-features {
    margin-bottom: 30px;
}

.fee-features ul {
    list-style: none;
}

.fee-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.fee-features i {
    color: #ffd700;
    margin-right: 10px;
}

/* ===== DISCOUNT BANNER ===== */
.discount-banner {
    padding: 50px 0;
    background-color: #ffd700;
    color: #1a237e;
    margin: 80px 0;
}

.discount-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.discount-title {
    font-size: 28px;
    margin-bottom: 5px;
    color: #1a237e;
}

.discount-subtitle {
    font-size: 18px;
    color: #1a237e;
    opacity: 0.9;
}

.discount-details {
    font-weight: 600;
    color: #1a237e;
    margin-top: 10px;
}

/* ===== PAYMENT SECTION ===== */
.payment-section {
    padding: 80px 0;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.payment-option {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #1a237e;
    transition: all 0.3s ease;
}

.payment-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-top-color: #ffd700;
}

.payment-icon {
    font-size: 40px;
    color: #1a237e;
    margin-bottom: 20px;
}

.payment-option h3 {
    color: #1a237e;
    margin-bottom: 15px;
}

.payment-methods {
    background-color: #e3f2fd;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.payment-methods h3 {
    color: #1a237e;
    margin-bottom: 20px;
}

.methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.method {
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    color: #1a237e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.method i {
    color: #ffd700;
}

/* ===== CHARGES SECTION ===== */
.charges-section {
    padding: 80px 0;
}

.charges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.charge-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #1a237e;
}

.charge-item h3 {
    color: #1a237e;
    margin-bottom: 10px;
}

.charges-note {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.charges-note p {
    margin-bottom: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1a237e;
    margin-right: 20px;
}

.contact-text h3 {
    color: #1a237e;
    margin-bottom: 5px;
}

.contact-text a {
    color: #1a237e;
    font-weight: 500;
}

.contact-text a:hover {
    color: #ffd700;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    color: #1a237e;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a237e;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #1a237e;
    color: #ffffff;
    transform: translateY(-3px);
}

.contact-form-container {
    flex: 1;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form-header {
    margin-bottom: 30px;
    text-align: center;
}

.contact-form-header h3 {
    color: #1a237e;
    font-size: 28px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a237e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e3f2fd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.error-message {
    color: #e53935;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-success {
    background-color: #e8f5e9;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    color: #2e7d32;
    display: none;
    margin-top: 20px;
}

.form-success i {
    font-size: 40px;
    margin-bottom: 10px;
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 80px 0;
}

.map-container {
    height: 400px;
    background-color: #e3f2fd;
    border-radius: 10px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
}

.map-placeholder i {
    font-size: 80px;
    color: #1a237e;
    margin-bottom: 20px;
}

.map-placeholder h3 {
    color: #1a237e;
    margin-bottom: 10px;
}

.map-placeholder p {
    color: #666666;
    margin-bottom: 20px;
}

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.location-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #1a237e;
}

.location-item h3 {
    color: #1a237e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-item h3 i {
    color: #ffd700;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    color: #1a237e;
    margin-bottom: 0;
    font-size: 18px;
}

.faq-question i {
    color: #1a237e;
    transition: transform 0.3s ease;
}

.faq-question:hover {
    background-color: #e3f2fd;
}

.faq-item.active .faq-question {
    background-color: #e3f2fd;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
    max-height: 500px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1a237e;
    color: #ffffff;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-about {
    color: #e3f2fd;
    margin-top: 15px;
}

.footer-title {
    font-size: 20px;
    color: #ffd700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ffd700;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e3f2fd;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: #ffd700;
    margin-right: 10px;
    margin-top: 5px;
    font-size: 16px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #e3f2fd;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ffd700;
    color: #1a237e;
    transform: translateY(-3px);
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
}

.floating-toggle {
    width: 60px;
    height: 60px;
    background-color: #1a237e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1001;
}

.floating-toggle:hover {
    background-color: #283593;
    transform: scale(1.1);
}

.floating-buttons-container {
    position: absolute;
    left: 0;
    bottom: 70px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-buttons.active .floating-buttons-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background-color: #ffffff;
    color: #333333;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    transition: all 0.3s ease;
    width: 180px;
}

.floating-button:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.floating-button.whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.floating-button.call {
    background-color: #1a237e;
    color: #ffffff;
}

.floating-button i {
    font-size: 20px;
}
/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    flex-shrink: 0;
}

.logo-image img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.logo-text {
    flex: 1;
}

/* Responsive Logo Styles */
@media (max-width: 992px) {
    .logo-image img {
        width: 70px;
        height: 70px;
    }
    
    .logo-container {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .logo-image img {
        width: 60px;
        height: 60px;
    }
    
    .logo-text h1 {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .logo-container {
        gap: 8px;
    }
    
    .logo-image img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .tagline {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .logo-container {
        flex-direction: row;
        align-items: center;
    }
    
    .logo-image img {
        width: 45px;
        height: 45px;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .tagline {
        display: none; /* Hide tagline on very small screens */
    }
}

/* Optional: Logo animation on page load */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    animation: logoFadeIn 0.8s ease-out;
}


/* ===== ANIMATIONS ===== */
.animate-left {
    animation: slideInLeft 0.8s ease;
}

.animate-right {
    animation: slideInRight 0.8s ease;
}

.animate-card {
    animation: fadeInUp 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-content, .smart-class-content, .history-content, .contact-content {
        flex-direction: column;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .teacher-card {
        flex-direction: column;
    }
    
    .teacher-image {
        flex: 0 0 200px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: all 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .nav-item {
        margin: 0 0 30px 0;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .admission-content, .discount-content {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-buttons {
        left: 15px;
        bottom: 15px;
    }
    
    .floating-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .floating-button {
        width: 160px;
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .classes-grid, .subjects-grid, .fees-grid {
        grid-template-columns: 1fr;
    }
    
    .smart-features {
        grid-template-columns: 1fr;
    }
    
    .payment-options, .charges-grid, .location-details {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header, .floating-buttons, .footer {
        display: none;
    }
    
    .hero, .page-header {
        padding: 20px 0;
    }
    
    body {
        color: #000000;
        background: none;
    }
    
    .btn {
        display: none;
    }

}
/* Mobile Version Fix - Sirf Mobile Ke Liye */
@media (max-width: 768px) {
    /* Container fix */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin: 0 auto !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Body fix */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }

    /* HTML fix */
    html {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* Sab elements ke liye */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Navigation fix */
    .navbar {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Hero section fix */
    .hero {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .hero-content {
        width: 100% !important;
        margin: 0 !important;
    }

    .hero-text {
        width: 100% !important;
        padding: 0 !important;
    }

    .hero-title {
        font-size: 24px !important;
        word-break: break-word !important;
    }

    /* Grid fix */
    .classes-grid,
    .subjects-grid,
    .fees-grid,
    .teachers-grid {
        width: 100% !important;
        margin: 0 !important;
        gap: 15px !important;
    }

    /* Cards fix */
    .class-card,
    .subject-card,
    .fee-card,
    .teacher-card {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Tabs fix */
    .tabs-header {
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    .tab-btn {
        flex: 1 1 auto !important;
        min-width: 120px !important;
    }

    /* Footer fix */
    .footer {
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .footer-content {
        width: 100% !important;
        grid-template-columns: 1fr !important;
    }

    /* Floating buttons fix */
    .floating-buttons {
        left: 10px !important;
        bottom: 10px !important;
        z-index: 9999 !important;
    }

    .floating-toggle {
        width: 45px !important;
        height: 45px !important;
    }

    .floating-button {
        width: 140px !important;
    }

    /* Koi bhi element overflow na ho */
    .page-header,
    .subjects-section,
    .cta-section,
    .contact-section {
        width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* Chhoti screens ke liye (phones) */
@media (max-width: 480px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hero-title {
        font-size: 20px !important;
    }

    .section-title {
        font-size: 22px !important;
    }

    .btn {
        width: 100% !important;
    }

    .tab-btn {
        min-width: 100px !important;
        font-size: 12px !important;
    }

    .floating-button {
        width: 130px !important;
        padding: 8px 10px !important;
    }
}

/* Landscape mode fix */
@media (max-width: 768px) and (orientation: landscape) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

