/* ============================================
   İETD - İstanbul Eczane Teknisyenleri Derneği
   Ana Stil Dosyası
   ============================================ */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #08203a;
    --primary-deep: #031224;
    --primary-light: #0f6597;
    --secondary: #2c597c;
    --accent-green: #53b37b;
    --accent-teal: #6bcbe9;
    --accent-coral: #df7a63;
    --text-gray: #5c6c7b;
    --text-dark: #0d2437;
    --white: #ffffff;
    --light-bg: #eef5f9;
    --surface-tint: #f8fbfd;
    --shadow: 0 18px 45px rgba(8, 32, 58, 0.14);
    --shadow-soft: 0 12px 30px rgba(8, 32, 58, 0.08);
    --transition: 0.3s cubic-bezier(0, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

.px-lg-3 {
    padding: 0 1rem;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.no-gutters {
    margin: 0;
}

.no-gutters>[class*="col-"] {
    padding: 0;
}

[class*="col-"] {
    padding: 0 15px;
}

.col-3 {
    width: 25%;
}

.col-6 {
    width: 50%;
}

.col-9 {
    width: 75%;
}

.col-12 {
    width: 100%;
}

.col-md-4 {
    width: 33.333%;
}

.col-md-6 {
    width: 50%;
}

.col-lg-4 {
    width: 33.333%;
}

.col-lg-8 {
    width: 66.666%;
}

.col-lg-9 {
    width: 75%;
}

.col-xl-3 {
    width: 25%;
}

.col-xl-9 {
    width: 75%;
}

/* ---------- HEADER ---------- */
.header {
    position: relative;
    z-index: 100;
}

.header-inner {
    background: var(--primary);
}

.header-index .header-bg {
    display: none;
}

.header-index {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background: transparent;
}

.header-bg {
    position: absolute;
    inset: 0;
    background: var(--primary);
    overflow: hidden;
    z-index: 0;
}

.banner-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: patternMove 40s linear infinite;
    opacity: 0.6;
}

.banner-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(107, 203, 233, 0.08);
    animation: glowRotate 25s linear infinite;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(120px);
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 1000px 1000px;
    }
}

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Header Top */
.header-top {
    background: transparent;
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 30;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top .navs {
    display: flex;
    align-items: center;
    gap: 0;
}

.header-top .navs li a {
    color: rgba(255, 255, 255, 0.85);
    padding: 5px 12px;
    display: block;
    font-size: 13px;
    transition: var(--transition);
}

.header-top .navs li a:hover {
    color: var(--white);
}

.header-top .navs li.hover-bar {
    position: relative;
}

.header-top .navs li.hover-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transition: var(--transition);
}

.header-top .navs li.hover-bar:hover::after {
    transform: scaleX(1);
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-top .social-icons {
    display: flex;
    gap: 8px;
}

.header-top .social-icons a {
    color: rgba(255, 255, 255, 0.7);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    transition: var(--transition);
}

.header-top .social-icons a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

/* Header Bottom (Navigation) */
.header-bottom {
    position: absolute;
    width: 100%;
    top: 40px;
    left: 0;
    z-index: 20;
    background: transparent;
}

.header-bottom .container {
    position: relative;
    z-index: 40;
}

.header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo {
    width: 130px;
    height: 90px;
    position: relative;
    z-index: 50;
}

.logo img {
    height: 130px;
    width: 130px;
    object-fit: contain;
    background: var(--white);
    padding: 10px;
    border-radius: 50%;
    position: absolute;
    top: -21px;
    left: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu>li>a {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 20px;
    display: block;
    position: relative;
    transition: var(--transition);
}

.nav-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-menu>li:hover>a::after,
.nav-menu>li.active>a::after {
    transform: scaleX(1);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--primary);
    color: var(--white);
    padding-left: 25px;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: -200px;
    width: 800px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-inner {
    display: flex;
}

.mega-tabs {
    width: 200px;
    background: var(--primary);
    padding: 15px 0;
}

.mega-tab {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.mega-tab:hover,
.mega-tab.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.mega-content {
    flex: 1;
    padding: 15px 20px;
}

.mega-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 10px;
}

.mega-header span {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.mega-header a {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
}

.mega-header a:hover {
    color: var(--primary);
}

.mega-news-item {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.mega-news-item:hover {
    background: #f9f9f9;
}

.mega-news-img {
    width: 100px;
    min-width: 100px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
}

.mega-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-news-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 4px;
}

.mega-news-date {
    font-size: 12px;
    color: var(--text-gray);
}

/* Search Toggle */
.search-toggle {
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.search-toggle:hover {
    opacity: 0.7;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background: var(--primary);
    z-index: 1000;
    overflow-y: auto;
    transition: 0.4s ease;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header img {
    height: 50px;
}

.mobile-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-list>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-list>li>a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-sub {
    display: none;
    background: rgba(0, 0, 0, 0.15);
}

.mobile-sub.active {
    display: block;
}

.mobile-sub li a {
    display: block;
    padding: 10px 20px 10px 35px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mobile-sub li a:hover {
    color: var(--white);
    padding-left: 40px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-overlay.active {
    display: block;
}

/* ---------- HERO SLIDER ---------- */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 32, 58, 0.62);
}

.slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slide-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 1100px;
}

.slide-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 82px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
}

.slide-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    color: var(--accent-teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 35px;
}

.slide-subtitle::before,
.slide-subtitle::after {
    content: '';
    width: 40px;
    height: 2px;
    background: currentColor;
    opacity: 0.6;
}

.slide-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 35px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-slider {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(3, 18, 36, 0.28);
}

.btn-slider:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(15, 101, 151, 0.38);
    text-decoration: none;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(3, 18, 36, 0.24);
    border: none;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 25px rgba(3, 18, 36, 0.24);
}

.slider-arrow:hover {
    background: var(--accent-teal);
    color: var(--primary-deep);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 18px 32px rgba(15, 101, 151, 0.34);
}

.slider-arrow.prev {
    left: 40px;
}

.slider-arrow.next {
    right: 40px;
}

/* Slide Menu Bar */
.slide-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.slide-menu-row {
    display: flex;
}

.slide-menu-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 20px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.slide-menu-item::before,
.slide-menu-item::after {
    content: '';
    position: absolute;
    inset: 0;
    transition: var(--transition);
}

.slide-menu-item::before {
    background: rgba(3, 18, 36, 0.14);
    z-index: 0;
}

.slide-menu-item::after {
    inset: auto 0 0 0;
    height: 4px;
    background: var(--accent-teal);
    opacity: 0.75;
    z-index: 0;
}

.slide-menu-item>* {
    position: relative;
    z-index: 1;
}

.slide-menu-item:hover {
    padding-bottom: 32px;
    margin-top: -12px;
    text-decoration: none;
    color: var(--white);
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(3, 18, 36, 0.22);
}

.slide-menu-item:hover::before {
    background: rgba(107, 203, 233, 0.14);
}

.smi-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.smi-text h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.smi-text p {
    font-size: 11px;
    opacity: 0.8;
}

/* ---------- NEWS & EVENTS ---------- */
.news-events-section {
    padding: 50px 0;
    background: var(--white);
}

.news-tabs-head {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--secondary);
}

.news-tab-btn {
    background: var(--surface-tint);
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
    border-radius: 12px 12px 0 0;
    box-shadow: inset 0 -1px 0 rgba(8, 32, 58, 0.05);
}

.news-tab-btn.active,
.news-tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(8, 32, 58, 0.18);
}

.news-tab-panel {
    display: none;
}

.news-tab-panel.active {
    display: block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    display: block;
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(44, 89, 124, 0.1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(8, 32, 58, 0.18);
}

.news-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-img img {
    transform: scale(1.1);
}

.news-date-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 10px 20px rgba(8, 32, 58, 0.24);
}

.news-date-badge small {
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
}

.news-card-body {
    padding: 15px;
}

.news-card-body h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-date {
    font-size: 12px;
    color: var(--text-gray);
}

.news-card-date i {
    margin-right: 5px;
}

/* Tab Component (Job Listings) */
.tab-component {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid rgba(44, 89, 124, 0.1);
}

.tab-head {
    background: var(--primary);
    padding: 0;
}

.tab-link {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.tab-body {
    background: var(--white);
    padding: 0;
}

.job-list {
    max-height: 500px;
    overflow-y: auto;
}

.job-item {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.job-item:hover {
    background: #f9f9f9;
    padding-left: 25px;
}

.job-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.job-date {
    font-size: 12px;
    color: var(--text-gray);
}

/* ---------- HIZLI MENU CAROUSEL ---------- */
.hizli-menu-section {
    padding: 40px 0;
    background: var(--white);
}

.hizli-menu-carousel {
    overflow: hidden;
    position: relative;
}

.hizli-track {
    display: flex;
    gap: 15px;
    animation: hizli-scroll 25s linear infinite;
}

@keyframes hizli-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hizli-menu-carousel:hover .hizli-track {
    animation-play-state: paused;
}

.hizli-menu-box {
    min-width: 180px;
}

.hizli-menu-box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    border-radius: 10px;
    color: var(--white);
    text-align: center;
    transition: var(--transition);
    min-height: 140px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-soft);
}

.hizli-menu-box a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 18, 36, 0.14);
    transition: var(--transition);
}

.hizli-menu-box a>* {
    position: relative;
    z-index: 1;
}

.hizli-menu-box a:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 34px rgba(8, 32, 58, 0.22);
}

.hizli-menu-box a:hover::before {
    background: rgba(107, 203, 233, 0.16);
}

.hizli-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hizli-title {
    font-size: 13px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 4px;
}

.hizli-sub {
    font-size: 11px;
    opacity: 0.8;
}

/* ---------- GALLERY SECTIONS ---------- */
.gallery-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.gallery-bg {
    position: absolute;
    inset: 0;
    background: #5f8fae;
    z-index: 0;
}

.photo-bg {
    background: #5f8fae;
}

.gallery-section .container,
.gallery-section .row {
    position: relative;
    z-index: 1;
}

.gallery-description-col {
    display: flex;
    align-items: center;
}

.gallery-description {
    padding: 40px 30px;
    border-radius: 10px;
    color: var(--white);
    width: 100%;
    background: #1f5f88 !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 38px rgba(3, 18, 36, 0.22);
    backdrop-filter: blur(8px);
}

.gallery-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.gallery-text {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 22px rgba(3, 18, 36, 0.2);
}

.gallery-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.play-overlay i {
    font-size: 48px;
    color: var(--white);
    transition: var(--transition);
}

.gallery-item:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .play-overlay i {
    transform: scale(1.2);
}

/* ---------- CONTACT SECTION ---------- */
.contact-section {
    background: var(--primary-deep);
}

.contact-us-content {
    padding: 60px 50px;
    color: var(--white);
}

.contact-us-content.right {
    background: var(--secondary);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08);
}

.small-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-teal);
    opacity: 1;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-text {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 25px;
    line-height: 1.7;
}

.contact-us-list li {
    margin-bottom: 15px;
}

.contact-us-list li a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-size: 15px;
    transition: var(--transition);
}

.contact-us-list li a:hover {
    opacity: 0.8;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(107, 203, 233, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .form-row {
    display: flex;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 5px;
    color: var(--white);
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(107, 203, 233, 0.72);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 4px rgba(107, 203, 233, 0.14);
}

.btn-submit {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 10px 24px rgba(3, 18, 36, 0.2);
}

.btn-submit:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---------- MAP ---------- */
.map-section {
    line-height: 0;
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.75);
}

.footer-ust {
    padding: 50px 0 30px;
}

.footer-row {
    display: flex;
    gap: 30px;
}

.footer-links-area {
    flex: 3;
    display: flex;
    gap: 30px;
}

.footer-right {
    flex: 1;
    text-align: center;
}

.footer-block {
    flex: 1;
}

.footer-baslik {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(107, 203, 233, 0.3);
}

.footer-block ul li {
    margin-bottom: 8px;
}

.footer-block ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer-block ul li a:hover {
    color: var(--accent-teal);
    padding-left: 5px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    margin: 0 auto;
}

.footer-contact-box {
    margin-bottom: 20px;
}

.footer-contact-text {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.footer-contact-phone {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
    background: var(--accent-teal);
    color: var(--primary-deep);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(107, 203, 233, 0.25);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.26);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- SCROLL TO TOP ---------- */
.page-up {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 22px rgba(8, 32, 58, 0.22);
}

.page-up.visible {
    opacity: 1;
    visibility: visible;
}

.page-up:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
}

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 18, 36, 0.96);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
}

.search-form {
    display: flex;
    border-bottom: 3px solid var(--white);
}

.search-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    padding: 15px 0;
    outline: none;
    font-family: 'Roboto', sans-serif;
}

.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
}

/* ============================================
   INNER PAGES - COMMON
   ============================================ */

.page-banner-inner {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.page-banner-inner .banner-content {
    position: relative;
    top: 0;
    transform: none;
    text-align: center;
    width: 100%;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.banner-content h1 {
    font-size: 38px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb */
.breadcrumb-bar {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-list a {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list span {
    color: var(--text-gray);
}

.breadcrumb-list i.fa-home {
    font-size: 15px;
}

.breadcrumb-list .sep {
    color: #ccc;
    font-size: 11px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

.back-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* Page Featured Image Styling */
.page-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    background: #fdfdfd;
    display: flex;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.page-featured-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
}

.page-featured-image:hover {
    transform: scale(1.02);
}

/* Inner Page Layout */
.inner-page-content {
    padding: 40px 0 60px;
}

.inner-row {
    display: flex;
    gap: 30px;
}

/* Sidebar */
.sidebar {
    width: 300px;
    min-width: 300px;
    flex-shrink: 0;
}

.kolay-menu-box {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 25px;
}

.kolay-menu-box h4 {
    background: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.kolay-menu-box ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.kolay-menu-box ul li a:hover {
    background: var(--light-bg);
    padding-left: 25px;
    color: var(--primary);
}

.sidebar-social {
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.sidebar-social h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.sidebar-social-icons {
    display: flex;
    gap: 8px;
}

.sidebar-social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.sidebar-social-icons a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Contact Sidebar Widget */
.sidebar-contact {
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    padding: 25px 20px;
    margin-bottom: 25px;
}

.sidebar-contact h6 {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sidebar-contact h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.sidebar-contact p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.sidebar-contact .btn-contact {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-contact .btn-contact:hover {
    background: var(--primary-light);
    color: var(--white);
}

/* President Corner Widget */
.baskan-widget {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 25px;
}

.baskan-widget h5 {
    background: var(--accent-green);
    color: var(--white);
    padding: 12px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.baskan-widget .baskan-inner {
    padding: 20px;
    text-align: center;
}

.baskan-widget .baskan-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 3px solid var(--primary);
}

.baskan-widget .baskan-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.baskan-widget .baskan-role {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.baskan-widget .baskan-links li {
    border-top: 1px solid #f0f0f0;
}

.baskan-widget .baskan-links li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-dark);
    transition: var(--transition);
}

.baskan-widget .baskan-links li a:hover {
    background: var(--light-bg);
    color: var(--primary);
}

/* Main Content Area */
.page-main-content {
    flex: 1;
    min-width: 0;
}

.page-title-inner {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    position: relative;
}

.page-title-inner::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-green);
}

/* ============================================
   YONETIM KURULU PAGE
   ============================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.team-card-img {
    height: 280px;
    overflow: hidden;
    background: var(--light-bg);
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition);
}

.team-card:hover .team-card-img img {
    transform: scale(1.05);
}

.team-card-body {
    padding: 20px 15px;
}

.team-card-body .person-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-card-body .person-role {
    font-size: 13px;
    color: var(--accent-green);
    font-weight: 600;
    text-transform: uppercase;
}

.team-featured {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

.team-featured .team-card {
    max-width: 350px;
}

.team-featured .team-card-img {
    height: 320px;
}

/* ============================================
   HABER DETAY PAGE
   ============================================ */

.news-detail-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-detail-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.news-detail-date i {
    color: var(--primary);
}

.news-detail-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.news-detail-body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-dark);
}

.news-detail-body p {
    margin-bottom: 18px;
}

.news-detail-body strong {
    color: var(--primary);
}

/* Related News */
.related-news {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.related-news h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.related-list li {
    border-bottom: 1px solid #f0f0f0;
}

.related-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 15px;
    transition: var(--transition);
}

.related-list li a:hover {
    padding-left: 10px;
}

.related-list li a .related-icon {
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}

.related-list li a .related-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.related-list li a .related-date {
    font-size: 12px;
    color: var(--text-gray);
    white-space: nowrap;
}

/* ============================================
   HABERLER LISTING PAGE
   ============================================ */

.news-category-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--primary);
    flex-wrap: wrap;
}

.news-cat-tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
    background: var(--light-bg);
    border: none;
    font-family: 'Roboto', sans-serif;
}

.news-cat-tab.active,
.news-cat-tab:hover {
    background: var(--primary);
    color: var(--white);
}

.news-cat-panel {
    display: none;
}

.news-cat-panel.active {
    display: block;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-list-card {
    display: flex;
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-list-card-img {
    width: 200px !important;
    min-width: 200px !important;
    height: 140px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-list-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.news-list-card:hover .news-list-card-img img {
    transform: scale(1.1);
}

.news-list-card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-card-body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-card-body .nlc-date {
    font-size: 12px;
    color: var(--text-gray);
}

.cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cat-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.cat-header a {
    font-size: 13px;
    color: var(--accent-green);
    font-weight: 600;
}

.cat-header a:hover {
    text-decoration: underline;
}

/* ============================================
   ILETISIM PAGE
   ============================================ */

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.contact-info-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.contact-info-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.contact-info-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-list li .ci-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-list li .ci-text {
    flex: 1;
}

.contact-info-list li .ci-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.contact-info-list li .ci-value {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.contact-form-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.contact-page-form .form-group {
    margin-bottom: 15px;
}

.contact-page-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-page-form input,
.contact-page-form textarea,
.contact-page-form select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    transition: var(--transition);
}

.contact-page-form input:focus,
.contact-page-form textarea:focus,
.contact-page-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 48, 74, 0.1);
}

.contact-page-form .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-page-form .btn-send {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-family: 'Roboto', sans-serif;
}

.contact-page-form .btn-send:hover {
    background: var(--primary-light);
}

.contact-map-full {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map-full iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* ============================================
   RESPONSIVE - INNER PAGES
   ============================================ */

@media (max-width: 992px) {
    .inner-row {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-width: 100%;
        order: 2;
    }

    .page-main-content {
        order: 1;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-list-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-title-inner {
        font-size: 22px;
    }

    .news-detail-title {
        font-size: 20px;
    }

    .page-banner {
        height: 200px;
    }

    .contact-page-form .form-row-2 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .nav-menu>li>a {
        font-size: 16px;
        padding: 15px 12px;
    }

    .mega-menu {
        width: 700px;
        left: -150px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .col-lg-4,
    .col-lg-8,
    .col-lg-9 {
        width: 100%;
    }

    .slide-menu-row {
        flex-wrap: wrap;
    }

    .slide-menu-item {
        flex: 1 1 33%;
    }

    .carousel {
        height: 550px;
    }

    .slide-content h1 {
        font-size: 36px;
    }

    .news-events-section .col-lg-4 {
        margin-top: 30px;
    }

    .footer-links-area {
        flex-wrap: wrap;
    }

    .footer-row {
        flex-direction: column;
    }

    .footer-right {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .col-xl-3,
    .col-xl-9 {
        width: 100%;
    }

    .gallery-description {
        margin-bottom: 20px;
    }

    .gallery-description-col {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-top .navs {
        display: none;
    }

    .header-top-inner {
        justify-content: flex-end;
    }

    .carousel {
        height: 500px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-menu-item {
        flex: 1 1 50%;
    }

    .col-md-4,
    .col-md-6 {
        width: 100%;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .contact-us-content {
        padding: 40px 25px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-form .form-row {
        flex-direction: column;
    }

    .footer-links-area {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 479px) {
    .carousel {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 22px;
    }

    .slide-subtitle {
        font-size: 16px;
    }

    .slide-menu-item {
        flex: 1 1 100%;
    }

    .logo img {
        height: 60px;
    }

    .gallery-description {
        padding: 25px 20px;
    }

    .gallery-title {
        font-size: 22px;
    }

    .news-tabs-head {
        flex-wrap: wrap;
    }

    .news-tab-btn {
        flex: 1;
        font-size: 12px;
        padding: 10px;
        text-align: center;
    }
}


.object-fit-cover {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center !important;
}


.object-fit-contain-page {
    width: 400px;
    max-width: 40%;
    height: auto;
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .object-fit-contain-page {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
}