/* ΣΕΔΔ Β.Κ. Εύβοιας - Main Stylesheet */
/* Colors based on organization logo (blue/red) */
:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary-color: #dc2626;
    --accent-light: #dbeafe;
    --accent-lighter: #eff6ff;
    --text-color: #2f3b40;
    --text-light: #666;
    --white: #fff;
    --gray-light: #f8f9fa;
    --border-color: #e0e0e0;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.header.scrolled .nav-link {
    color: var(--text-color);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-item.has-dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-color);
}

.dropdown-menu li a:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.nav-cta {
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.nav-cta:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.header.scrolled .nav-cta {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.header.scrolled .nav-cta:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.header.scrolled .menu-toggle span {
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Services Section */
.services-section {
    padding: 80px 0 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border-right: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-card:last-child {
    border-right: none;
}

.service-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-10px);
}

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

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

/* About Stats */
.about-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Manrope', sans-serif;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Emergency Section */
.emergency-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b91c1c 100%);
    padding: 50px 0;
}

.emergency-content {
    text-align: center;
}

.emergency-content h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.emergency-content h2 i {
    margin-right: 10px;
}

.emergency-numbers {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.emergency-item {
    text-align: center;
}

.emergency-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    line-height: 1;
}

.emergency-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

/* CTA Section */
.cta-section {
    background: url('../images/cta-bg.jpg') center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.82) 0%, rgba(26, 58, 108, 0.75) 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--gray-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-subtitle {
    text-align: left;
}

.about-content h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* News Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.news-card-content {
    padding: 25px;
}

.news-card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--text-color);
}

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

.news-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.news-card-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card-image {
    height: 180px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-content {
    padding: 20px;
}

.event-card-title {
    font-size: 1rem;
    margin-bottom: 10px;
}

.event-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
}

.team-card-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-card-position {
    font-size: 14px;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-light);
    color: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer */
.footer {
    background-color: #1a2634;
    padding: 60px 0 0;
    color: #a0aec0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.footer-contact a {
    color: #a0aec0;
}

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

.footer-emergency {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(220, 38, 38, 0.2);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

.footer-emergency p {
    margin: 0;
    font-size: 13px;
}

.emergency-highlight {
    font-size: 1.2rem !important;
    font-weight: 700;
    color: var(--white) !important;
    margin-top: 5px !important;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.footer-credit {
    margin-top: 8px !important;
    font-size: 12px;
    opacity: 0.6;
}

.footer-credit a {
    color: inherit;
    text-decoration: none;
}

.footer-credit a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background-image: url('/images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(40, 40, 40, 0.5), rgba(50, 50, 50, 0.65));
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

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

/* Page Content */
.page-content {
    padding: 60px 0;
}

.page-content .content {
    max-width: 800px;
    margin: 0 auto;
}

.page-content .content p {
    margin-bottom: 1.5rem;
}

.page-content .content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content .content ul,
.page-content .content ol {
    margin-bottom: 1.5rem;
    padding-left: 25px;
}

.page-content .content li {
    margin-bottom: 0.5rem;
}

/* Blog List */
.blog-list {
    padding: 60px 0;
}

.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Single Post */
.single-post {
    padding: 60px 0;
}

.single-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.single-post-meta {
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 14px;
}

.single-post-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.single-post-image img {
    width: 100%;
    height: auto;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: var(--accent-light);
    color: var(--primary-dark);
    border: 1px solid var(--primary-color);
}

.alert-error {
    background-color: #fce4e4;
    color: #cc0000;
    border: 1px solid #cc0000;
}

/* Circular Photo Gallery */
.page-content .content .photo-gallery-circles {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100vw;
}

.photo-gallery-circles {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 40px;
}

.photo-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--accent-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Typography Polish */
.page-content .content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.page-content .content ul {
    list-style: none;
    padding-left: 0;
}

.page-content .content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.page-content .content ul li::before {
    content: '\2022';
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.4em;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Team Capabilities Section */
.team-capabilities {
    margin-top: 60px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.capability-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.capability-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
}

.capability-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.capability-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Team Stats Bar */
.team-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    margin: 40px 0;
    background: var(--accent-lighter);
    border-radius: 8px;
}

.team-stat {
    text-align: center;
}

.team-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Manrope', sans-serif;
}

.team-stat-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        border-bottom: 1px solid var(--border-color);
    }

    .service-card:nth-child(2) {
        border-right: none;
    }

    .emergency-numbers {
        gap: 40px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .team-stats {
        flex-direction: column;
        gap: 25px;
    }

    .photo-gallery-circles {
        gap: 20px;
    }

    .photo-circle {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 20px 40px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-link {
        color: var(--text-color);
        display: block;
        padding: 10px 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .menu-toggle {
        display: flex;
    }

    .news-grid,
    .events-grid,
    .blog-list-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-col:first-child .footer-social {
        justify-content: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .services-section {
        padding-top: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .service-card:last-child {
        border-bottom: none;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .emergency-numbers {
        flex-direction: column;
        gap: 25px;
    }

    .emergency-number {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 544px) {
    .section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card-image {
        width: 150px;
        height: 150px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Search Icon in Header */
.nav-search {
    display: flex;
    align-items: center;
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.header.scrolled .search-icon {
    color: var(--text-color);
}

.header.scrolled .search-icon:hover {
    background-color: var(--accent-lighter);
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.faq-section .section-title h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-section .section-title p {
    font-size: 18px;
    color: var(--text-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--white);
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--gray-light);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
}

.faq-question i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: var(--accent-lighter);
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.faq-answer ul {
    padding: 0 20px 20px 40px;
    color: var(--text-color);
    line-height: 1.8;
}

.faq-answer ul li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .faq-section .section-title h2 {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 15px;
        padding: 18px;
    }

    .faq-answer p {
        padding: 18px;
        font-size: 15px;
    }
}

/* News Card Read More Link */
.read-more {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* Section Intro */
.section-intro {
    margin-bottom: 40px;
}

.section-intro h2 {
    margin-bottom: 15px;
}

.section-intro p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
