/*
 * Bismillahirrahmanirrahim
 * 
 * Diyarbakır Şoförler ve Otomobilciler Esnaf Odası Resmi Web Tasarımı
 * Design: Premium Dark Mode & Glassmorphism & Gold/Ruby Accents
 * Author: Simo Bilişim Yazılım Teknolojileri Ltd. Şti.
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #07080a;
    --bg-card: rgba(16, 18, 23, 0.7);
    --bg-card-hover: rgba(22, 25, 32, 0.8);
    --gold: #d4af37;
    --gold-gradient: linear-gradient(135deg, #c5a059 0%, #9c7b39 100%);
    --ruby: #e53e3e;
    --ruby-gradient: linear-gradient(135deg, #e53e3e 0%, #9e1b1b 100%);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-glass: rgba(197, 160, 89, 0.15);
    --border-glass-hover: rgba(197, 160, 89, 0.3);
    --font-primary: 'Outfit', sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glows */
body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    left: -150px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: 20%;
    right: -150px;
    background: radial-gradient(circle, rgba(229, 62, 62, 0.06) 0%, rgba(0,0,0,0) 70%);
    z-index: -2;
    pointer-events: none;
}

.ambient-glow-3 {
    position: absolute;
    width: 800px;
    height: 800px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(197, 160, 89, 0.04) 0%, rgba(0,0,0,0) 70%);
    z-index: -2;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #090a0f;
}
::-webkit-scrollbar-thumb {
    background: #252836;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* --- Ticker (Kayan Yazı) --- */
.ticker-container {
    background: rgba(10, 11, 14, 0.9);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    position: relative;
    z-index: 100;
}
.ticker-title {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--gold-gradient);
    color: #07080a;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ticker-wrap {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 40s linear infinite;
}
.ticker-item {
    display: inline-block;
    padding: 0 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}
@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* --- Header / Navbar --- */
header {
    background: rgba(7, 8, 10, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 99;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}
.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #07080a;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
    font-size: 1.4rem;
}
.logo-text h1 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}
.logo-text p {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.logo-img {
    height: 55px;
    width: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}
.cta-btn {
    background: var(--gold-gradient);
    color: #07080a;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #dfc05a 0%, #a88842 100%);
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}
.cta-btn:hover::before {
    opacity: 1;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.5);
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff 0%, #e6cd90 50%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
}
.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}
.hero-btns {
    display: flex;
    gap: 20px;
}
.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}
.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}
.hero-image-wrapper {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}
.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 8, 10, 0.9) 10%, rgba(7, 8, 10, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}
.bismillah-text {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.8;
}

/* Hero Social Proof */
.hero-social-proof {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.hero-avatars {
    display: flex;
    align-items: center;
}
.hero-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: #111;
    overflow: hidden;
}
.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-avatar-count {
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: var(--text-main);
}
.hero-social-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.hero-social-text strong {
    color: white;
}

/* --- President Card --- */
.hero-president-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.president-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    max-width: 380px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    transition: transform 0.5s ease;
}
.president-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}
.president-img-container {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.4);
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.president-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}
.president-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px 15px 10px;
    text-align: left;
}
.president-badge {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--gold);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.president-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}
.president-quote {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- About Section Specific --- */
.about-content {
    min-height: auto;
    padding: 40px;
}
.about-heading {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.about-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}
.about-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.about-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 20px;
}
.about-card-title {
    color: var(--gold);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.about-card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Column Titles --- */
.column-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 10px;
}
.column-title-gold {
    color: var(--gold);
    border-left: 3px solid var(--gold);
}
.column-title-ruby {
    color: var(--ruby);
    border-left: 3px solid var(--ruby);
}
.news-slider-wrapper {
    position: relative;
    padding-bottom: 20px;
}
.news-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

/* --- Contact Form --- */
.contact-form-panel {
    min-height: auto;
}
.contact-form-title {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--gold);
}
.form-grid-single {
    grid-template-columns: 1fr;
}
.submit-btn-full {
    width: 100%;
}

/* --- Footer Links --- */
.footer-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}
.footer-simoguard {
    color: var(--ruby);
    font-weight: bold;
}

/* --- Stats Grid --- */
.stats-section {
    max-width: 1200px;
    margin: 20px auto 60px;
    padding: 0 20px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-hover);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.1);
}
.stat-card:hover::before {
    opacity: 1;
}
.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 5px;
}
.stat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* --- Section Layout --- */
.section-title {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    position: relative;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    display: inline-block;
    padding-bottom: 10px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 60px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 5px;
}

/* --- Services / Tools Section --- */
.services-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.services-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}
.tab-btn:hover {
    color: var(--text-main);
    border-color: var(--border-glass-hover);
}
.tab-btn.active {
    background: var(--gold-gradient);
    color: #07080a;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}
.tab-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    min-height: 350px;
}
.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}
.tab-pane.active {
    display: block;
}

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

/* Forms Styling */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
}
.form-group input, .form-group select, .form-group textarea {
    background: rgba(7, 8, 10, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}
.form-group select option {
    background: #0f1015;
    color: var(--text-main);
}
.submit-btn {
    background: var(--gold-gradient);
    color: #07080a;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* Tool specific layouts */
.calc-result, .plate-result, .doc-status-result {
    margin-top: 30px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: none;
    animation: fadeIn 0.4s ease;
}
.calc-result.show, .plate-result.show, .doc-status-result.show {
    display: block;
}
.result-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.result-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.result-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}
.result-item strong {
    font-size: 1.2rem;
    color: var(--text-main);
}
.result-item strong.success {
    color: #10b981;
}
.result-item strong.danger {
    color: var(--ruby);
}

/* --- News & Announcements Grid --- */
.news-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    min-width: 320px;
    max-width: 350px;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-hover);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-card-content {
    padding: 25px;
}
.news-date {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}
.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.news-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.read-more:hover {
    gap: 12px;
}

/* Announcements Column */
.main-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.announcements-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ann-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: var(--transition);
}
.ann-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateX(5px);
}
.ann-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: var(--ruby-gradient);
    border-radius: 0 2px 2px 0;
}
.ann-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.ann-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.ann-card-body {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* --- Board of Directors --- */
.directors-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}
.director-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.director-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-hover);
}
.director-img-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid rgba(197, 160, 89, 0.2);
    transition: var(--transition);
}
.director-card:hover .director-img-wrap {
    border-color: var(--gold);
    transform: scale(1.05);
}
.director-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.director-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}
.director-role {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Contact & Footer --- */
.footer-contact-grid {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-item-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.contact-item-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.map-wrapper {
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
footer {
    background: #050608;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 80px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-bottom: 20px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--gold);
}
.footer-bottom-text {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 10px;
}

/* --- Admin Login Style --- */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-dark);
}
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center;
}
.login-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.login-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* --- Admin Panel Custom Style --- */
.admin-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}
.admin-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px 20px;
    height: fit-content;
}
.admin-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}
.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}
.admin-menu-item button {
    width: 100%;
    background: none;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 12px 18px;
    border-radius: 10px;
    text-align: left;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-menu-item button:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.03);
}
.admin-menu-item button.active {
    background: var(--gold-gradient);
    color: #07080a;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}
.admin-menu-item.logout-item button {
    color: var(--ruby);
}
.admin-menu-item.logout-item button:hover {
    background: rgba(229, 62, 62, 0.1);
    color: #fff;
}
.admin-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.admin-pane {
    display: none;
}
.admin-pane.active {
    display: block;
}
.admin-pane-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.admin-table th, .admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.92rem;
}
.admin-table th {
    font-weight: 600;
    color: var(--gold);
    background: rgba(0,0,0,0.2);
}
.admin-table tr:hover td {
    background: rgba(255,255,255,0.02);
}
.table-btn {
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.table-btn.primary {
    background: var(--gold-gradient);
    color: #07080a;
}
.table-btn.danger {
    background: var(--ruby-gradient);
    color: #fff;
}
.table-btn:hover {
    transform: translateY(-1px);
}

/* Modal Styling */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}
.modal.show {
    display: flex;
}
.modal-content {
    background: #0f1116;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover {
    color: var(--text-main);
}
.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--gold);
}

/* Notification Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: -350px;
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 15px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2000;
    transition: var(--transition);
    max-width: 320px;
}
.toast.show {
    right: 30px;
}
.toast.success {
    border-color: #10b981;
}
.toast.error {
    border-color: var(--ruby);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #07080a;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Mobile Responsiveness --- */

/* Tablet */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px;
        padding: 0 15px !important;
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-president-wrapper {
        width: 100% !important;
        max-width: 340px;
        margin: 0 auto;
    }
    .president-card {
        max-width: 100% !important;
    }
    .hero-image-wrapper {
        height: 300px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr !important;
    }
    .news-grid {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
    }
    .news-card {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    .footer-contact-grid {
        grid-template-columns: 1fr !important;
    }
    .admin-container {
        grid-template-columns: 1fr;
    }
    .main-content-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .contact-section {
        padding: 0 10px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(7, 8, 10, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border-glass);
        z-index: 999;
    }
    .nav-links.show {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero {
        padding: 10px 15px 20px !important;
        margin: 10px auto !important;
        gap: 25px;
    }
    .hero-content h2 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .hero-btns {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .hero-btns a {
        width: 100%;
        text-align: center;
    }
    /* Hero president card mobile */
    .hero-president-wrapper {
        max-width: 100% !important;
        padding: 0 !important;
    }
    .president-card {
        max-width: 100% !important;
        padding: 15px !important;
        border-radius: 16px !important;
    }
    .president-card img {
        height: 280px !important;
    }
    .president-card h3 {
        font-size: 1.4rem !important;
    }
    /* Hero social proof row */
    .hero-content > div[style*="margin-top: 40px"] {
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 20px !important;
        align-items: center !important;
    }
    /* Stats */
    .stats-section {
        padding: 0 15px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .stat-card {
        padding: 20px 10px;
    }
    .stat-card h3 {
        font-size: 1.8rem;
    }
    .stat-card p {
        font-size: 0.75rem;
    }
    /* About / Services */
    .services-section {
        padding: 0 15px;
        margin: 30px auto;
    }
    .tab-content {
        padding: 20px !important;
        min-height: auto !important;
    }
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .about-grid h3 {
        font-size: 1.2rem !important;
    }
    .about-grid p {
        font-size: 0.9rem !important;
    }
    .about-grid > div:last-child {
        gap: 15px !important;
    }
    .about-grid > div:last-child > div {
        padding: 15px !important;
    }
    /* News */
    .news-section {
        padding: 0 15px;
        margin: 30px auto;
    }
    .news-grid {
        flex-direction: column !important;
        overflow-x: visible !important;
        scroll-snap-type: none !important;
    }
    .news-card {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    .news-image {
        height: 180px;
    }
    .news-card-content {
        padding: 15px;
    }
    .news-title {
        font-size: 1.05rem;
    }
    /* Announcements */
    .announcements-column {
        gap: 12px;
    }
    .ann-card {
        padding: 15px;
    }
    /* Contact */
    .contact-section {
        padding: 0 15px;
    }
    .footer-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 !important;
    }
    .contact-info-panel {
        gap: 20px;
    }
    .map-wrapper {
        height: 250px;
    }
    .form-grid {
        grid-template-columns: 1fr !important;
    }
    /* Header */
    .header-container {
        padding: 12px 15px;
    }
    .logo-text h1 {
        font-size: 0.85rem !important;
    }
    .logo-area img {
        height: 40px !important;
    }
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    /* Section titles */
    .section-title {
        padding: 0 15px;
        margin-bottom: 25px;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .section-title p {
        font-size: 0.9rem;
    }
    /* Footer */
    footer {
        padding: 30px 15px;
        margin-top: 40px;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    .footer-bottom-text {
        font-size: 0.75rem;
    }
    /* Admin */
    .admin-content {
        padding: 15px;
    }
    .admin-pane-title {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 10px;
    }
    .admin-table th, .admin-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    /* Modal */
    .modal-content {
        padding: 25px 20px;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }
    /* Ticker */
    .ticker-title {
        font-size: 0.75rem;
        padding: 0 12px;
    }
    .ticker-item {
        font-size: 0.85rem;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .hero-content h2 {
        font-size: 1.5rem !important;
    }
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    .stat-card h3 {
        font-size: 1.5rem;
    }
    .president-card img {
        height: 220px !important;
    }
    .logo-text h1 {
        font-size: 0.75rem !important;
    }
    .bismillah-text {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
}
