/*
Theme Name: KIPS College
Theme URI: https://kipscollege.pk
Author: KIPS Development Team
Author URI: https://kipscollege.pk
Description: A modern, professional WordPress theme for KIPS College. Features include admission forms, event calendar, faculty directory, student/parent portals, news & announcements, photo gallery, and more. Inspired by leading educational institutions worldwide.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kips-college
Tags: education, school, college, responsive, modern, custom-header, custom-menu, featured-images, threaded-comments, translation-ready

KIPS College WordPress Theme
Copyright 2024 KIPS Education System
*/

/* ====================================
   CSS VARIABLES - KIPS Brand Colors
   ==================================== */
:root {
    /* Primary Colors */
    --kips-primary: #667eea;
    --kips-primary-dark: #5568d3;
    --kips-secondary: #764ba2;
    --kips-accent: #f093fb;

    /* Semantic Colors */
    --kips-success: #10b981;
    --kips-danger: #ef4444;
    --kips-warning: #f59e0b;
    --kips-info: #3b82f6;

    /* Neutral Colors */
    --kips-dark: #1f2937;
    --kips-gray: #6b7280;
    --kips-light-gray: #f3f4f6;
    --kips-white: #ffffff;

    /* Gradients */
    --kips-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --kips-gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --kips-gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Typography */
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-family-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 15px;
    --radius-xl: 20px;

    /* Transitions */
    --transition-base: all 0.3s ease;
}

/* ====================================
   RESET & BASE STYLES
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: var(--kips-dark);
    line-height: 1.6;
    background: var(--kips-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--kips-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--kips-primary-dark);
}

ul {
    list-style: none;
}

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--kips-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--kips-gray);
    line-height: 1.8;
}

/* ====================================
   CONTAINER & LAYOUT
   ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    background: var(--kips-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--kips-gray);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--kips-gradient-primary);
    margin: var(--spacing-md) auto 0;
    border-radius: 2px;
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--kips-gradient-primary);
    color: var(--kips-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--kips-white);
}

.btn-secondary {
    background: var(--kips-white);
    color: var(--kips-primary);
    border: 2px solid var(--kips-primary);
}

.btn-secondary:hover {
    background: var(--kips-primary);
    color: var(--kips-white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ====================================
   GRID SYSTEM
   ==================================== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-2 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-3 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
.col-4 { flex: 0 0 25%; max-width: 25%; padding: 0 15px; }

/* ====================================
   CARDS
   ==================================== */
.card {
    background: var(--kips-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-base);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: var(--spacing-md);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--kips-dark);
}

.card-text {
    color: var(--kips-gray);
    margin-bottom: var(--spacing-md);
}

/* ====================================
   UTILITIES
   ==================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 1024px) {
    .container { padding: 0 var(--spacing-sm); }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .section { padding: var(--spacing-xl) 0; }
}

@media (max-width: 768px) {
    .col-2, .col-3, .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: var(--spacing-md);
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .section-title h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .section { padding: var(--spacing-lg) 0; }
    .btn { padding: 10px 20px; }
}

/* ====================================
   ACCESSIBILITY
   ==================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--kips-primary);
    outline-offset: 2px;
}

/* ====================================
   WORDPRESS ALIGNMENT CLASSES
   ==================================== */
.alignleft {
    float: left;
    margin: 0 var(--spacing-md) var(--spacing-md) 0;
}

.alignright {
    float: right;
    margin: 0 0 var(--spacing-md) var(--spacing-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ====================================
   WORDPRESS GALLERY
   ==================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ====================================
   HOMEPAGE TEMPLATE STYLES - ENTERPRISE LEVEL
   ==================================== */

/* Hero Slider - World Class Design */
.enterprise-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-content {
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: none !important;
    -webkit-text-fill-color: white !important;
}

.slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.95);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slide-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 3;
}

.slider-control:hover {
    background: rgba(255,255,255,0.3);
}

.slider-control.prev {
    left: 20px;
}

.slider-control.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Quick Stats */
.quick-stats {
    padding: 60px 20px;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 20px;
}

.row {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.col-md-6 {
    flex: 1;
    min-width: 300px;
}

.section-title.text-left {
    text-align: left;
    margin-bottom: 30px;
}

.section-title.text-left::after {
    margin-left: 0;
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.feature-list li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #333;
}

.feature-list li i {
    color: #667eea;
    margin-right: 10px;
}

.welcome-image {
    width: 100%;
}

.placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Programs Section */
.programs-section {
    padding: 80px 20px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.admission-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    background: none;
    -webkit-text-fill-color: #333;
}

.card-title a {
    color: #333;
    text-decoration: none;
}

.card-title a:hover {
    color: #667eea;
}

.card-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.program-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.program-meta span {
    color: #667eea;
    font-size: 0.95rem;
}

.program-meta i {
    margin-right: 5px;
}

/* News Section */
.news-section {
    padding: 80px 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #999;
    flex-wrap: wrap;
}

.post-meta i {
    margin-right: 5px;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.no-posts-message {
    text-align: center;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(rgba(102, 126, 234, 0.85), rgba(118, 75, 162, 0.85)),
                url('https://kipscollege.pk/wp-content/uploads/2025/10/welcome-day-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    position: relative;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive for Homepage */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }

    .slide-title {
        font-size: 2rem !important;
    }

    .slide-subtitle {
        font-size: 1.1rem;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem !important;
    }

    .row {
        flex-direction: column;
    }

    .programs-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   ABOUT PAGE TEMPLATE STYLES
   ==================================== */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    color: white;
}

.director-section {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Large Image */
.director-image-large {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.director-image-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.director-image-large img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Enhanced Director Message - Compact & Smart */
.director-message-enhanced {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.3);
    padding: 45px 40px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.director-message-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.director-message-enhanced h2 {
    font-size: 2.3rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    text-align: center;
}

.director-message-enhanced p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: white;
    opacity: 0.98;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    margin: 0;
    text-align: center;
}

/* Old styles for backward compatibility */
.director-message {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.director-message h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.director-message p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: white;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Mission & Vision */
.mission-vision {
    padding: 80px 20px;
    background: #f9f9f9;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mv-card {
    background: white;
    padding: 50px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
}

.mv-card h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    background: none;
    -webkit-text-fill-color: #333;
}

.mv-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* About Content */
.about-content {
    padding: 80px 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.content-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-text h3 {
    font-size: 1.8rem;
    color: #333;
    margin: 35px 0 20px;
}

.content-text p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #555;
    font-size: 1.05rem;
}

.features-list i {
    color: #667eea;
    font-size: 1.2rem;
}

.content-stats h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    background: none;
    -webkit-text-fill-color: #333;
}

/* Why KIPS */
.why-kips {
    padding: 80px 20px;
    background: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 15px;
    background: none;
    -webkit-text-fill-color: #333;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.reason-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.reason-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.reason-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

.reason-card p {
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.about-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-5px);
}

/* Responsive for About Page */
@media (max-width: 1024px) {
    .director-section {
        grid-template-columns: 450px 1fr;
        gap: 35px;
    }

    .director-image-large img {
        height: 450px;
    }

    .director-message-enhanced {
        padding: 40px 35px;
        height: 450px;
    }

    .director-message-enhanced h2 {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .director-message-enhanced p {
        font-size: 1.05rem;
        margin-bottom: 16px;
    }

    .director-message {
        padding: 30px;
    }

    .director-message h2 {
        font-size: 2rem;
    }

    .director-message p {
        font-size: 1.1rem;
    }

    .mv-grid,
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .director-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .director-image-large {
        max-width: 100%;
    }

    .director-image-large img {
        height: 350px;
    }

    .director-message-enhanced {
        padding: 35px 25px;
        height: auto;
        min-height: 400px;
    }

    .director-message-enhanced h2 {
        font-size: 1.9rem;
        margin-bottom: 20px;
    }

    .director-message-enhanced p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .director-message-enhanced .signature {
        font-size: 1.05rem;
        margin-top: 20px;
    }

    .director-message {
        padding: 30px 20px;
    }

    .director-message h2 {
        font-size: 1.8rem;
    }

    .director-message p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .mv-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem !important;
    }

    .cta-content h2 {
        font-size: 2rem !important;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
