/*
Theme Name: Education Board
Theme URI: https://example.com/education-board
Author: Your Name
Author URI: https://example.com
Description: A professional WordPress theme for Education/Examination Board with government-style design. Clean, responsive, and accessible.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: education-board
Tags: education, government, institutional, responsive, custom-post-types
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1a5d1a;
    --secondary-green: #2d7a2d;
    --light-green: #4a9f4a;
    --lighter-green: #6bc26b;
    --accent-green: #8fd88f;
    --dark-green: #0d3d0d;
    --dark-text: #1a1a1a;
    --light-text: #666666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    --gradient-primary: linear-gradient(135deg, #1a5d1a 0%, #2d7a2d 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 93, 26, 0.85) 0%, rgba(13, 61, 13, 0.9) 100%);
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-green);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1001;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    pointer-events: none;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left a,
.top-bar-right a {
    color: rgba(255, 255, 255, 0.9);
    margin-right: 24px;
    padding: 6px 0;
    display: inline-block;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.top-bar-left a::after,
.top-bar-right a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.top-bar-left a:hover,
.top-bar-right a:hover {
    color: var(--white);
    transform: translateY(-1px);
}

.top-bar-left a:hover::after,
.top-bar-right a:hover::after {
    width: 100%;
}

.top-bar-right {
    display: flex;
    flex-wrap: wrap;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img,
.site-logo .custom-logo-link img {
    max-height: 80px;
    max-width: 80px;
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--white);
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-green);
    line-height: 1.2;
    margin-bottom: 3px;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--light-text);
    line-height: 1.3;
    font-weight: normal;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    color: var(--dark-text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--primary-green);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-green);
    cursor: pointer;
    padding: 5px 10px;
}

/* ============================================
   NEWS TICKER
   ============================================ */
.news-ticker {
    background-color: var(--secondary-green);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

.ticker-label {
    background-color: var(--dark-green);
    padding: 5px 15px;
    margin-right: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

/* ============================================
   HERO SECTION & SLIDER
   ============================================ */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(26, 93, 26, 0.7), rgba(26, 93, 26, 0.7)),
                url('assets/images/hero-bg.jpg') center/cover;
    color: var(--white);
    padding: 80px 0;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(26, 93, 26, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26, 93, 26, 0.4);
    background: linear-gradient(135deg, #2d7a2d 0%, #4a9f4a 100%);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary i {
    transition: var(--transition-fast);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

/* Hero Slider Styles */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-slide .hero-content h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-slide .hero-content p {
    font-size: clamp(16px, 2vw, 22px);
    margin-bottom: 32px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.slider-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background-color: var(--white);
    border-color: var(--white);
    transform: scale(1.3);
}

.slider-dot.active::before,
.slider-dot:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 60px;
    font-size: clamp(16px, 2vw, 20px);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 93, 26, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
    display: block;
}

.stat-label {
    color: var(--light-text);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   CHAIRMAN MESSAGE
   ============================================ */
.chairman-section {
    background-color: var(--white);
}

.chairman-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.chairman-image {
    text-align: center;
}

.chairman-image img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 6px solid var(--light-green);
    box-shadow: 0 10px 40px rgba(26, 93, 26, 0.25);
    transition: var(--transition);
}

.chairman-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(26, 93, 26, 0.35);
}

.chairman-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.chairman-title {
    color: var(--light-text);
    font-size: 15px;
    font-weight: 600;
}

.chairman-message {
    padding: 35px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    border-left: 5px solid var(--primary-green);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.chairman-message::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: var(--primary-green);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.chairman-message p {
    margin-bottom: 18px;
    line-height: 1.8;
    color: var(--light-text);
    font-size: 16px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 93, 26, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-green);
}

.service-card:hover h3 {
    color: var(--primary-green);
}

.service-icon {
    font-size: 56px;
    color: var(--primary-green);
    margin-bottom: 24px;
    transition: var(--transition);
    display: inline-block;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
    transition: var(--transition);
}

.service-card p {
    color: var(--light-text);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 0;
}

.service-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* ============================================
   SUBJECTS SECTION
   ============================================ */
.subjects-section {
    background-color: var(--white);
}

.subject-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--white);
    color: var(--dark-text);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 15px;
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(26, 93, 26, 0.3);
    transform: translateY(-2px);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.subject-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.subject-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 0 0 0 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subject-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.subject-card:hover::after {
    opacity: 0.1;
}

.subject-card h3 {
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.subject-tag {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.subject-card p {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 14px;
}

.subject-link {
    color: var(--primary-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   BOARD MEMBERS SECTION
   ============================================ */
.board-members-section {
    background-color: var(--light-gray);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.member-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 93, 26, 0.08);
}

.member-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 93, 26, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.member-card:hover::before {
    opacity: 1;
}

.member-card:hover .member-image {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(26, 93, 26, 0.3);
}

.member-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    border: 5px solid var(--light-green);
    box-shadow: 0 8px 25px rgba(26, 93, 26, 0.2);
    transition: var(--transition);
}

.member-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.member-title {
    color: var(--light-text);
    margin-bottom: 10px;
}

.member-contact {
    color: var(--primary-green);
    font-size: 14px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-section {
    background-color: var(--white);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(26, 93, 26, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-text);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-widget p,
.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a:hover {
    color: var(--accent-green);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: linear-gradient(135deg, #2d7a2d 0%, #4a9f4a 100%);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 30px rgba(26, 93, 26, 0.4);
}

.scroll-top:active {
    transform: translateY(-4px) scale(1.05);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 20px;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .hero-slider {
        height: 500px;
    }

    .hero-slide .hero-content h1 {
        font-size: 36px;
    }

    .hero-slide .hero-content p {
        font-size: 16px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .site-logo {
        flex-wrap: wrap;
    }

    .site-logo img,
    .site-logo .custom-logo-link img,
    .logo-icon {
        max-height: 60px;
        max-width: 60px;
        height: 60px;
        width: 60px;
    }

    .logo-title {
        font-size: 18px;
    }

    .logo-subtitle {
        font-size: 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .about-content,
    .chairman-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .subjects-grid,
    .members-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-right {
        justify-content: center;
    }

    .site-logo img,
    .site-logo .custom-logo-link img,
    .logo-icon {
        max-height: 50px;
        max-width: 50px;
        height: 50px;
        width: 50px;
    }

    .logo-title {
        font-size: 16px;
    }

    .logo-subtitle {
        font-size: 9px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-slider {
        height: 400px;
    }

    .hero-slide .hero-content h1 {
        font-size: 28px;
    }

    .hero-slide .hero-content p {
        font-size: 14px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .slider-dots {
        bottom: 20px;
    }

    .section-title {
        font-size: 24px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-green);
}
