/* ==========================================================================
   Angelica Grace Home - Main Stylesheet
   ========================================================================== */

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

/* Reset and Core Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    background-color: #F8FBFD;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Color Variables */
:root {
    --primary-color: #005A96;
    --primary-light: #1B82C5;
    --primary-dark: #004A80;
    --secondary-color: #EAF6FC;
    --accent-color: #7A8B2E;
    --accent-hover: #677624;
    --bg-color: #F8FBFD;
    --bg-card: #FFFFFF;
    --text-color: #333333;
    --text-muted: #666666;
    --white: #FFFFFF;
    --border-color: #E5EEF5;
    --shadow-soft: 0 4px 20px rgba(0, 90, 150, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 90, 150, 0.08);
    --shadow-hard: 0 15px 40px rgba(0, 90, 150, 0.15);
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 30px;
    text-align: center;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: var(--text-color);
}

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

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

.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--white);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

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

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

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

.text-justify {
    text-align: justify;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 30px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 90, 150, 0.3);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(122, 139, 46, 0.3);
}

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

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

.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-danger {
    background-color: #D32F2F;
    color: var(--white);
}

.btn-danger:hover {
    background-color: #C62828;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 30px;
    font-weight: 600;
    border-radius: 20px;
    background-color: rgba(0, 90, 150, 0.1);
    color: #8A9A2A;
    margin-bottom: 10px;
}

/* Sticky Navbar */
header.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

header.site-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-medium);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: var(--transition-normal);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.logo img {
    height: 70px;
    max-height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.logo a span {
    display: none;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: #444444;
    position: relative;
    padding: 8px 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition-normal);
    border-radius: 3px;
}
 /* Hero Banner Custom Styles */
 .page-header-services {
            background-image: linear-gradient(rgba(14, 90, 151, 0.85), rgba(8, 39, 76, 0.75)), url('../../Image/portico.jpg');
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 120px 0 80px 0;
            text-align: center;
        }
        
        .page-header-services h1 {
            color: var(--white);
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 15px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .page-header-services .breadcrumbs {
            display: flex;
            justify-content: center;
            gap: 10px;
            list-style: none;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.85);
            font-family: 'Poppins', sans-serif;
        }

        .page-header-services .breadcrumbs a {
            color: var(--secondary-color);
            transition: var(--transition-fast);
        }

        .page-header-services .breadcrumbs a:hover {
            color: var(--white);
            text-decoration: underline;
        }

        .page-header-services p.subtitle {
            max-width: 800px;
            margin: 20px auto 0 auto;
            font-size: 1.15rem;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.95);
        }

/* Top bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-socials {
    display: flex;
    gap: 15px;
}

.top-bar-socials a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background:
   linear-gradient(90deg,
rgba(8,39,76,.82) 0%,
rgba(8,39,76,.62) 45%,
rgba(8,39,76,.20) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Breadcrumbs */
.page-header {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0 60px 0;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 90, 150, 0.85), rgba(27, 130, 197, 0.7));
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

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

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a {
    color: var(--secondary-color);
}

/* Glass Cards & Info Cards */
.card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.card-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    height: 200px;
    margin-bottom: 20px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

/* Feature/Value Card */
.feature-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon-circle {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Statistics Counters */
.counters-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 0;
}

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

.counter-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0 auto;
    padding: 0 10px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--border-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 15px;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    padding: 20px 25px;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 15px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--white);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 15px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--white);
}

.timeline-time {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Gallery Portfolio & Filtering */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 90, 150, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-normal);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

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

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

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-arrow:hover {
    background: var(--primary-color);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonials-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    flex: 0 0 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .testimonials-track .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--primary-color);
}

.author-relation {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

/* Contact CTA Block */
.contact-cta {
    background: linear-gradient(rgba(0, 90, 150, 0.9), rgba(0, 90, 150, 0.9)), url('https://picsum.photos/id/1018/1920/1080');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.contact-cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.contact-cta p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-cta .btn-group {
    justify-content: center;
}

/* Footer Section */
.footer-brand {
  text-decoration: none;
}

.brand-white {
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
}

.brand-red {
  color: #E53935; /* Brand red */
  font-weight: 600;
  font-size: 13px;
}
footer.site-footer {
    background-color: #0c1b29; /* Deep luxury navy blue */
    color: #E2E8F0;
    padding: 70px 0 20px 0;
    margin-top: auto;
    font-size: 0.95rem;
    border-top: 5px solid var(--accent-color);
}

footer.site-footer p {
    color: #CBD5E1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.footer-desc {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #CBD5E1 !important;
}

.footer-col .badge {
    display: inline-block;
    background-color: rgba(122, 139, 46, 0.25);
    color: #C1DC44;
    border: 1px solid rgba(193, 220, 68, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #CBD5E1;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: #C1DC44;
    padding-left: 5px;
}

.footer-info {
    list-style: none;
}

.footer-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #CBD5E1;
}

.footer-info li a {
    color: #CBD5E1;
    transition: var(--transition-fast);
}

.footer-info li a:hover {
    color: #C1DC44;
}

.footer-info li i {
    color: var(--accent-color);
    margin-top: 3px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #94A3B8;
}

.footer-bottom p {
    color: #94A3B8 !important;
}

.footer-bottom-socials {
    display: flex;
    gap: 15px;
}

.footer-bottom-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: var(--transition-normal);
}

.footer-bottom-socials a:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
}

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

.btn-scrolltop {
    background-color: #333333;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.btn-scrolltop.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.btn-scrolltop:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* Forms & Validation (Contact Page) */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    border: 1px solid var(--border-color);
}

.contact-detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-detail-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-container {
    margin-top: 30px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 250px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-wrapper {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 90, 150, 0.15);
}

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

.error-message {
    color: #D32F2F;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-group.invalid .form-control {
    border-color: #D32F2F;
    background-color: rgba(211, 47, 47, 0.02);
}

.form-group.invalid .error-message {
    display: block;
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-hard);
    animation: zoomIn 0.3s ease forwards;
    border: 1px solid var(--border-color);
}

.modal-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.modal-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.modal-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Events Tab */
.events-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.event-tab-content {
    display: none;
}

.event-tab-content.active {
    display: block;
}

.event-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.event-image {
    position: relative;
    height: 200px;
}

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

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.event-date-badge span {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.event-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.event-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.event-link:hover {
    color: var(--primary-dark);
}

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

.event-link i {
    transition: var(--transition-fast);
}

/* ==========================================================================
   ADMIN DASHBOARD SYSTEM STYLING
   ========================================================================== */

/* Admin Main Wrapper Grid */
.admin-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

/* Admin Sidebar Layout */
.admin-sidebar {
    background-color: #0c1b29;
    color: #ffffff;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    border-right: 2px solid var(--accent-color);
}

.admin-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-logo i, .admin-logo img {
    color: var(--accent-color);
    height: 50px;
    width: auto;
    object-fit: contain;
}

.admin-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.admin-nav-link:hover, .admin-nav-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

.admin-nav-link.active {
    border-left: 4px solid var(--accent-color);
}

/* Admin Body Container */
.admin-body {
    padding: 40px;
    background-color: #f1f6fa;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
}

.admin-header h1 {
    font-size: 2rem;
}

.admin-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Admin Stats Metrics */
.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.metric-card {
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.metric-details h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.metric-details span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Admin Form Panels */
.admin-panel-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.admin-panel-card h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.admin-table th, .admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.admin-table tr:hover {
    background-color: rgba(0, 90, 150, 0.02);
}

/* Action button shortcuts */
.action-btn-group {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    color: #ffffff;
}

.btn-edit { background-color: var(--primary-color); }
.btn-edit:hover { background-color: var(--primary-dark); }
.btn-delete { background-color: #D32F2F; }
.btn-delete:hover { background-color: #C62828; }

/* Admin Modal Popup */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    display: none;
    justify-content: center;
    align-items: center;
}

.admin-modal-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    box-shadow: var(--shadow-hard);
    max-height: 90vh;
    overflow-y: auto;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

/* Image preview asset box */
.image-preview-box {
    width: 100%;
    height: 150px;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.image-preview-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Admin Login Card Style */
.login-body {
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: var(--shadow-hard);
    border: 1px solid var(--border-color);
    text-align: center;
}

.login-card h2 {
    margin-bottom: 10px;
}

.login-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}
