/* ========================================
   CSS Variables
======================================== */
:root {
    --primary: #212B83;
    --primary-dark: #1a2269;
    --primary-light: #2d3a9e;
    --orange: #F26522;
    --orange-light: #ff7a3d;
    --orange-dark: #d9561a;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    
    --header-height: 90px;
    --top-bar-height: 44px;
    
    --transition: 0.25s ease;
    --transition-fast: 0.15s ease;
}

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

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* ========================================
   Top Bar
======================================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    height: var(--top-bar-height);
    position: relative;
}

.top-menu li a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.top-menu li a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-size: 1rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orange);
    transform: translateY(100%);
    transition: transform var(--transition);
    border-radius: 8px;
    z-index: 0;
}

.social-link i {
    position: relative;
    z-index: 1;
}

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

.social-link:hover::before {
    transform: translateY(0);
}

/* ========================================
   Main Header
======================================== */
.main-header {
    background: var(--white);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1040;
    margin-top: 1rem;
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--gray-100);
    margin-top: 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    transition: transform var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: auto;
    width: 170px;
    transition: height var(--transition);
}

.main-header.scrolled .logo img {
    width: 170px;
}

/* ========================================
   Main Navigation
======================================== */
.main-menu .nav-item {
    position: relative;
}

.main-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
    border: none;
    outline: none;
    background: transparent;
}

/* Remove Bootstrap's default dropdown styling */
.main-menu .nav-link::after {
    display: none !important;
}

.main-menu .nav-link:focus,
.main-menu .nav-link:active,
.main-menu .nav-link.show {
    border: none;
    outline: none;
    box-shadow: none;
}

.main-menu .nav-link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

/* Dropdown Toggle Arrow */
.main-menu .dropdown-toggle::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.6;
    transition: transform var(--transition);
    margin-left: 0.25rem;
    order: 1;
}

.main-menu .dropdown:hover .dropdown-toggle::before {
    transform: rotate(180deg);
}

/* Hover dropdown - show on hover */
.main-menu .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 0;
}

/* Highlight Button (Yeşil Dönüşüm) */
.nav-link-highlight {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 0.625rem 1.25rem !important;
    box-shadow: 0 4px 14px rgba(242, 101, 34, 0.3);
}

.nav-link-highlight:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.4);
}

/* ========================================
   Dropdown Menu
======================================== */
.main-menu .dropdown-menu {
    min-width: 240px;
    padding: 0.75rem;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    margin-top: 0 !important;
    top: 100% !important;
    opacity: 0;
    visibility: hidden;
    display: block;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.main-menu .dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
}

.main-menu .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--orange);
    border-radius: 0 3px 3px 0;
    transition: height var(--transition-fast);
}

.main-menu .dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 1.5rem;
}

.main-menu .dropdown-item:hover::before {
    height: 60%;
}

.main-menu .dropdown-item:active,
.main-menu .dropdown-item:focus {
    background: var(--gray-100);
    color: var(--primary);
}

/* ========================================
   Mobile Menu Toggle
======================================== */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 10px;
    transition: background var(--transition);
}

.mobile-toggle:hover {
    background: var(--gray-100);
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ========================================
   Offcanvas (Mobile Menu)
======================================== */
.offcanvas {
    max-width: 380px;
    border-left: none !important;
}

.offcanvas-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.btn-close-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: 10px;
    color: var(--gray-600);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-close-custom:hover {
    background: var(--primary);
    color: var(--white);
}

.offcanvas-body {
    padding: 1.5rem;
}

/* Mobile Top Menu */
.mobile-top-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.mobile-top-menu li a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* Mobile Main Menu */
.mobile-main-menu li a {
    display: block;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    margin-bottom: 0.25rem;
}

.mobile-main-menu li a:hover {
    background: var(--gray-100);
    color: var(--primary);
    border-color: var(--gray-200);
}

.mobile-main-menu li a.highlight {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: var(--white);
    border: none;
}

.mobile-main-menu li a.highlight:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
}

/* Mobile Social Links */
.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 12px;
    font-size: 1.25rem;
    transition: all var(--transition);
}

.mobile-social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ========================================
   Responsive
======================================== */
@media (min-width: 992px) {
    .main-menu {
        display: flex !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .top-bar {
        display: none;
    }
    
    .main-header {
        height: 70px;
        margin-top: 0;
    }
    
    .logo img {
        height: 44px;
    }
    
    .main-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
}

@media (max-width: 767.98px) {
    .main-header .container-xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ========================================
   Bootstrap Overrides
======================================== */
.text-primary {
    color: var(--primary) !important;
}

.dropdown-menu {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* ========================================
   Hero Slider
======================================== */
.hero-slider {
    width: 100%;
    height: 70vh;
    min-height: 450px;
    max-height: 650px;
    position: relative;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

/* Slide Background */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.swiper-slide-active .slide-bg {
    transform: scale(1);
}

/* Slide Overlay */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(33, 43, 131, 0.85) 0%,
        rgba(33, 43, 131, 0.6) 50%,
        rgba(33, 43, 131, 0.4) 100%
    );
    z-index: 1;
}

/* Slide Content */
.slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Hero Swiper specific tweaks */
.hero-swiper-container {
    position: relative;
}

.hero-swiper-container .swiper-slide {
    position: relative;
    min-height: 60vh; /* ensures the slide has a visible area */
    display: block;
    overflow: hidden;
}

.slide-inner {
    max-width: 720px;
}

.slide-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.slide-desc {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.slide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.6s ease 0.8s both;
}

/* Slider Buttons */
.btn-slider-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--orange);
    transition: all var(--transition);
}

.btn-slider-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(242, 101, 34, 0.4);
}

.btn-slider-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition);
}

.btn-slider-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Swiper Navigation */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    font-size: 1.25rem;
    font-weight: 700;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
    background: var(--orange);
    transform: scale(1.1);
}

.hero-swiper .swiper-button-prev {
    left: 2rem;
}

.hero-swiper .swiper-button-next {
    right: 2rem;
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination {
    bottom: 2rem;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all var(--transition);
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--orange);
    width: 36px;
    border-radius: 6px;
}

/* Slide Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Slider */
@media (min-width: 992px) {
    .slide-buttons {
        flex-direction: row;
    }
    
    .btn-slider-primary,
    .btn-slider-outline {
        width: auto;
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
        max-height: 550px;
    }
    
    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next {
        width: 44px;
        height: 44px;
    }
    
    .hero-swiper .swiper-button-prev::after,
    .hero-swiper .swiper-button-next::after {
        font-size: 1rem;
    }
    
    .hero-swiper .swiper-button-prev {
        left: 1rem;
    }
    
    .hero-swiper .swiper-button-next {
        right: 1rem;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .btn-slider-primary,
    .btn-slider-outline {
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 575.98px) {
    .hero-slider {
        min-height: 400px;
    }
    
    .slide-content {
        padding: 1.5rem 0;
    }
    
    .slide-tag {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
    
    .hero-swiper .swiper-pagination-bullet-active {
        width: 28px;
    }
}

/* ========================================
   Quick Access Cards Section
======================================== */
.quick-access-section {
    padding: 4rem 0;
    background: var(--gray-50);
    position: relative;
}

.quick-access-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Quick Card */
.quick-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 43, 131, 0.12);
    border-color: transparent;
}

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

/* Card Icon */
.quick-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 14px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.quick-card-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.quick-card:hover .quick-card-icon {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    transform: scale(1.1);
}

/* Card Content */
.quick-card-content {
    flex: 1;
}

.quick-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.quick-card:hover .quick-card-title {
    color: var(--primary);
}

.quick-card-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

/* Card Arrow */
.quick-card-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.quick-card-arrow i {
    font-size: 1.25rem;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.quick-card:hover .quick-card-arrow i {
    color: var(--orange);
    transform: translateX(6px);
}

/* Responsive Cards */
@media (max-width: 1199.98px) {
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .quick-access-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767.98px) {
    .quick-access-section {
        padding: 3rem 0;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quick-card {
        flex-direction: row;
        align-items: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .quick-card-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        margin-bottom: 0;
        border-radius: 12px;
    }
    
    .quick-card-icon i {
        font-size: 1.25rem;
    }
    
    .quick-card-content {
        flex: 1;
    }
    
    .quick-card-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .quick-card-desc {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .quick-card-arrow {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}

/* ========================================
   News & Announcements Section
======================================== */
.news-section {
    padding: 5rem 0;
    background: var(--white);
}

/* Section Header */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--gray-500);
    margin: 0;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.section-link:hover {
    background: var(--primary);
    color: var(--white);
}

.section-link i {
    transition: transform 0.3s ease;
}

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

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Homepage specific: featured left + list right layout */
.news-grid.news-grid--home {
    /* Match layout from provided index.html: featured left, narrower right column */
    grid-template-columns: 1fr 360px;
}

/* Responsive: 2 columns on medium screens, 1 column on small */
@media (max-width: 992px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-grid.news-grid--home { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured News Card */
.news-featured {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.news-featured:hover {
    box-shadow: 0 16px 40px rgba(33, 43, 131, 0.1);
    border-color: transparent;
}

.news-featured .news-image {
    position: relative;
    /* slightly taller featured image to match reference */
    height: 320px;
    overflow: hidden;
}

.news-featured .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Standardize thumbnails for news cards (listing) */
.news-card .news-image {
    height: 240px;
    overflow: hidden; 
}
.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-featured:hover .news-image img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-featured .news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.news-category {
    padding: 0.2rem 0.6rem;
    background: var(--gray-100);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Detail page image and meta tweaks */
.news-detail .news-image {
    max-height: 420px;
    overflow: hidden;
    border-radius: 12px;
}
.news-detail .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-detail .news-meta {
    color: var(--gray-700);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.news-featured:hover .news-title {
    color: var(--primary);
}

.news-excerpt {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: var(--orange-dark);
    gap: 0.75rem;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    align-items: start;
    }
    /* News List - default is vertical list; when many items, add .news-grid-4 for 4-column layout */
    .news-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .news-list.news-grid-4 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
        align-items: start;
    }

    /* Responsive: reduce columns on smaller screens */
    @media (max-width: 1200px) {
        .news-list.news-grid-4 { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
        .news-list.news-grid-4 { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 576px) {
        .news-list.news-grid-4 { grid-template-columns: 1fr; }
    }

.news-item {
    display: flex;
    gap: 1rem;
    padding: 0.875rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
}

.news-item:hover {
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(33, 43, 131, 0.08);
    transform: translateX(4px);
}

.news-item-image {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 10px;
    overflow: hidden;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item .news-meta {
    margin-bottom: 0.375rem;
    gap: 0.5rem;
}

.news-item .news-category {
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
}

.news-item .news-date {
    font-size: 0.7rem;
}

.news-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
    color: var(--primary);
}

.news-item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--gray-100);
    color: var(--gray-500);
    border-radius: 8px;
    margin-left: auto;
    align-self: center;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.news-item:hover .news-item-link {
    background: var(--orange);
    color: var(--white);
}

/* Responsive News */
@media (max-width: 991.98px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-featured .news-image {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .news-section {
        padding: 3rem 0;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .section-link {
        width: 100%;
        justify-content: center;
    }
    
    .news-featured .news-content {
        padding: 1.25rem;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-item {
        padding: 0.75rem;
    }
    
    .news-item-image {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }
    
    .news-item-title {
        font-size: 0.8rem;
    }
    
    .news-item-link {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.75rem;
    }
}

/* ========================================
   Services Section
======================================== */
.services-section {
    padding: 5rem 0;
    background: var(--gray-50);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

/* Centered Section Header (for Services, etc.) */
.section-header-centered {
    text-align: center;
    max-width: 540px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header-centered .section-tag {
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header-centered .section-title {
    width: 100%;
    margin-bottom: 0.75rem;
}

.section-header-centered .section-desc {
    width: 100%;
    margin: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

/* Service Card */
.service-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(33, 43, 131, 0.1);
    border-color: transparent;
}

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

/* Service Icon */
.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(33, 43, 131, 0.08) 0%, rgba(33, 43, 131, 0.04) 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.25rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scale(1.05);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

/* Service Content */
.service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary);
}

.service-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Service Link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.service-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--orange);
}

.service-card:hover .service-link i {
    transform: translateX(3px);
}

/* Services CTA */
.services-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.services-cta p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(33, 43, 131, 0.25);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33, 43, 131, 0.35);
    color: var(--white);
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(4px);
}

/* Responsive Services */
@media (max-width: 1199.98px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .services-section {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .service-card {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .service-icon {
        margin-bottom: 0;
        min-width: 44px;
        width: 44px;
        height: 44px;
    }
    
    .service-icon i {
        font-size: 1.1rem;
    }
    
    .service-body {
        flex: 1;
    }
    
    .service-title {
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
    }
    
    .service-desc {
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 1;
        font-size: 0.75rem;
    }
    
    .service-link {
        font-size: 0.75rem;
    }
    
    .services-cta {
        padding-top: 1.5rem;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* Member Cards */
.member-card {
    background: var(--white);
    border-radius: 12px;
    padding: 0.75rem;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    overflow: hidden;
    max-width: 100%;
}

.member-card img { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }
.member-card .member-body { padding: 0.625rem 0; }
.member-card strong { display: block; font-size: 1.05rem; margin-bottom: 0.25rem; }
.member-card .small { color: var(--gray-500); }
.member-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(33,43,131,0.08); }

/* President card (centered, narrower than full width) */
.president-card { max-width: 920px; width: auto; border-radius: 14px; padding: 0.5rem; margin: 0 auto; }
.president-card .president-photo { width: 100%; height: auto; border-radius: 10px; aspect-ratio: 16/7; object-fit: cover; object-position: center top; }
.president-card .president-name { font-size: 1.25rem; }
.president-card .president-title { font-weight: 500; color: var(--gray-600); }
.president-card .president-bio { font-size: 0.95rem; line-height: 1.5; }

/* President badge */
.president-card { position: relative; }
.president-card::after {
    content: 'Başkan';
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(90deg,var(--orange),var(--orange-light));
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Force president card to be centered and not full-width (higher specificity) */
.member-card.president-card,
.president-card.member-card {
    width: auto !important;
    max-width: 420px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Make member-card look like service-card with accent bar and nicer hover */
.member-card {
    position: relative;
    background: var(--white);
    border-radius: 14px;
    padding: 1.25rem;
    border: 1px solid var(--gray-100);
    transition: all 0.35s ease;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.member-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(33,43,131,0.08); border-color: transparent; }
.member-card:hover::before { transform: scaleX(1); }

/* Image wrapper with top-focused object-position so heads aren't cut off */
.member-image { position: relative; overflow: hidden; border-radius: 10px; display:block; margin-bottom: 1rem; aspect-ratio: 4 / 3; }
.member-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display:block; min-height: 260px; }

/* Subtle bottom gradient overlay for readability (positioned inside image wrapper) */
.member-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.18) 100%);
    pointer-events: none;
    z-index: 2;
}

/* President tweaks: larger image, top-focused, and accent */
.president-card .member-image { border-radius: 12px; }
.president-card .member-image img { height: auto; min-height: 360px; object-position: top center; }

/* Responsive tweaks */
@media (max-width: 768px) {
    .president-card .president-photo { aspect-ratio: 4 / 3; }
    .member-image { aspect-ratio: 4 / 3; }
    .member-image img { height: 100%; min-height: 200px; }
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info (Left Side) */
.contact-info {
    padding-right: 2rem;
}

.contact-info .section-tag {
    margin-bottom: 1rem;
}

.contact-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-desc {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(33, 43, 131, 0.08) 0%, rgba(33, 43, 131, 0.04) 100%);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-item-icon i {
    font-size: 1.1rem;
    color: var(--primary);
}

.contact-item-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.contact-item-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

/* Contact Social */
.contact-social {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.contact-social span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.contact-social-links {
    display: flex;
    gap: 0.75rem;
}

.contact-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 10px;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.contact-social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Contact Form (Right Side) */
.contact-form-wrapper {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--gray-100);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33, 43, 131, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(33, 43, 131, 0.25);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33, 43, 131, 0.35);
}

.btn-submit i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(4px);
}

/* Responsive Contact */
@media (max-width: 991.98px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 575.98px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: #2E3192;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Top - Quick Actions */
.footer-top {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.footer-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-action-card:hover {
    background: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.footer-action-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-action-card:hover .footer-action-icon {
    background: rgba(255, 255, 255, 0.25);
}

.footer-action-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.footer-action-card span {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Footer Main */
.footer-main {
    padding: 3.5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
}

/* Footer Links */
.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--orange);
}

.footer-links h4.mt-4 {
    margin-top: 1.75rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    width: 12px;
}

/* Footer Contact */
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--orange);
    font-size: 1rem;
    margin-top: 2px;
    width: 18px;
    text-align: center;
}

.footer-contact li span {
    line-height: 1.5;
}

/* Footer Social */
.footer-social {
    margin-bottom: 1.5rem;
}

.footer-social > span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.footer-social-links {
    display: flex;
    gap: 0.5rem;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer Logo */
.footer-logo {
    margin-top: 1rem;
}

.footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    max-width: 160px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.25rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

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

/* Responsive Footer */
@media (max-width: 1199.98px) {
    .footer-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 767.98px) {
    .footer-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .footer-action-card {
        padding: 0.875rem 1rem;
    }
    
    .footer-action-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .footer-top {
        padding: 1.5rem 0;
    }
    
    .footer-main {
        padding: 2.5rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* ========================================
   Page Hero (Subpages)
======================================== */
.page-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding: 3rem 0;
    margin-top: 0;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 49, 146, 0.92) 0%, rgba(33, 43, 131, 0.85) 100%);
}

.page-hero .container-xl {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    max-width: 700px;
}

.page-hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-top: 0.25rem;
}

/* Breadcrumb */
.breadcrumb-nav {
    margin-bottom: 1rem;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.breadcrumb-item a:hover {
    color: var(--white);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: rgba(255, 255, 255, 0.4);
    padding-right: 0.5rem;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   Page Content Layout
======================================== */
.page-content {
    padding: 4rem 0;
    background: var(--gray-50);
}

.content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar */
.page-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-menu {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-100);
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-nav li a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.sidebar-nav li a .sidebar-link-text { margin-left: 0.5rem; }

.sidebar-nav li a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.sidebar-nav li a:hover i {
    transform: translateX(3px);
}

.sidebar-nav li.active a {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.sidebar-nav li.active a i {
    transform: translateX(3px);
}

/* Sidebar item badges */
/* Removed sidebar count badges per design request */

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #2E3192 100%);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    color: var(--white);
}

.sidebar-cta-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.sidebar-cta-icon i {
    font-size: 1.5rem;
}

.sidebar-cta h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.sidebar-cta p {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

.sidebar-cta-phone {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    transition: opacity 0.3s ease;
}

.sidebar-cta-phone:hover {
    opacity: 0.9;
    color: var(--white);
}

/* Main Content */
.page-main {
    min-width: 0;
}

.content-section {
    margin-bottom: 2.5rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

/* Ensure pagination inside content sections doesn't stretch full width */
.content-section .pagination {
    display: inline-flex;
    gap: 0.25rem;
    padding-left: 0;
    margin: 0 auto;
}

.content-section .pagination .page-item {
    flex: 0 0 auto; /* prevent items from stretching */
}

/* Content Intro */
.content-intro {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-100);
}

.content-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.content-intro h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.content-intro .lead {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(33, 43, 131, 0.1);
}

.stat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(33, 43, 131, 0.08) 0%, rgba(33, 43, 131, 0.04) 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Content Text */
.content-text {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-100);
}

.content-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-text h3:first-child {
    margin-top: 0;
}

.content-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* Content Highlight */
.content-highlight {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.08) 0%, rgba(242, 101, 34, 0.04) 100%);
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--orange);
}

.content-highlight > i {
    font-size: 1.5rem;
    color: var(--orange);
    flex-shrink: 0;
}

.content-highlight h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.375rem;
}

.content-highlight p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Content List */
.content-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.content-list li i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 2px;
}

/* Section Subtitle */
.section-subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.25rem;
}

/* Content Gallery */
.content-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 43, 131, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--white);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

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

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Content CTA */
.content-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #2E3192 100%);
    border-radius: 16px;
    color: var(--white);
}

.content-cta-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.content-cta-text p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
}

.content-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary-cta:hover {
    background: #e55a1a;
    transform: translateY(-2px);
    color: var(--white);
}

.btn-primary-cta i {
    transition: transform 0.3s ease;
}

.btn-primary-cta:hover i {
    transform: translateX(4px);
}

.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* Responsive Page Content */
@media (max-width: 991.98px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .page-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .sidebar-menu,
    .sidebar-cta {
        margin-bottom: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        min-height: 280px;
        padding: 2rem 0;
    }
    
    .page-content {
        padding: 2.5rem 0;
    }
    
    .page-sidebar {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .content-gallery {
        grid-template-columns: 1fr;
    }
    
    .content-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .content-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary-cta,
    .btn-secondary-cta {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .content-intro,
    .content-text {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: row;
        text-align: left;
    }
}

/* ========================================
   Contact Page Styles
======================================== */

/* Compact Page Hero */
.page-hero-compact {
    min-height: 260px;
}

/* Contact Info Cards Section */
.contact-cards-section {
    padding: 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-info-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #2E3192 100%);
    border-radius: 16px;
    margin: 0 auto 1.25rem;
}

.contact-info-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.contact-info-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.contact-info-card .address-detail {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.75rem;
    transition: all 0.3s ease;
}

.contact-info-link:hover {
    color: var(--orange);
}

.contact-info-link i {
    transition: transform 0.3s ease;
}

.contact-info-link:hover i {
    transform: translateX(4px);
}

.contact-phone,
.contact-email {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s ease;
}

.contact-phone:hover,
.contact-email:hover {
    color: var(--orange);
}

/* Working Hours */
.working-hours {
    text-align: left;
    margin-top: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.875rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span {
    color: var(--gray-500);
}

.hours-row strong {
    color: var(--gray-800);
}

/* Contact Main Section */
.contact-main-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Form Area */
.contact-form-area {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-100);
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-header .section-tag {
    margin-bottom: 0.75rem;
}

.contact-form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
}

/* Contact Page Form */
.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-page-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-page-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-page-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
}

.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33, 43, 131, 0.1);
}

.contact-page-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-page-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Form Checkbox */
.form-check-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 0.75rem !important;
}

.form-check-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-check-group label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.5;
}

.form-check-group label a {
    color: var(--primary);
    text-decoration: underline;
}

.form-check-group label a:hover {
    color: var(--orange);
}

/* Form Submit Button */
.btn-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #2E3192 100%);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(33, 43, 131, 0.25);
    margin-top: 0.5rem;
}

.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33, 43, 131, 0.35);
}

.btn-form-submit i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-form-submit:hover i {
    transform: translateX(4px);
}

/* Contact Map Area */
.contact-map-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-map-wrapper iframe {
    display: block;
}

/* Quick Contact Box */
.quick-contact-box {
    background: linear-gradient(135deg, var(--primary) 0%, #2E3192 100%);
    border-radius: 16px;
    padding: 1.5rem;
    color: var(--white);
}

.quick-contact-box h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-contact-box p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.quick-contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-contact-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* Social Contact Box */
.social-contact-box {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-100);
}

.social-contact-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.social-contact-box p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.social-contact-links {
    display: flex;
    gap: 0.75rem;
}

.social-contact-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 10px;
    color: var(--gray-600);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

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

/* Departments Section */
.departments-section {
    padding: 5rem 0;
    background: var(--white);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.department-card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.department-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.department-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(33, 43, 131, 0.1) 0%, rgba(33, 43, 131, 0.05) 100%);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.department-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.department-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.department-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.department-card li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.department-card li i {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.department-card li a {
    color: var(--gray-600);
    transition: color 0.3s ease;
}

.department-card li a:hover {
    color: var(--primary);
}

/* Responsive Contact Page */
@media (max-width: 1199.98px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .contact-cards-section {
        margin-top: -40px;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-main-section {
        padding: 3rem 0;
    }
    
    .contact-form-area {
        padding: 1.5rem;
    }
    
    .contact-page-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .departments-section {
        padding: 3rem 0;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
}

