/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #0284c7;       /* Medical Nurse Blue */
    --primary-hover: #0369a1;
    --primary-light: #e0f2fe;
    
    --accent: #ff9f1c;        /* Suriya Orange (Sun) */
    --accent-hover: #f59e0b;
    --accent-light: #fef3c7;
    
    --success: #10b981;       /* Safe / Life Emerald */
    --success-light: #d1fae5;
    
    --warning: #f59e0b;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    
    --bg-dark: #0f172a;        /* Deep Navy slate */
    --bg-dark-gray: #1e293b;
    --bg-light: #ffffff;
    --bg-light-gray: #f8fafc;
    
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    /* Borders & Shadow */
    --border-color: #e2e8f0;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(12px);
    
    --glass-dark-bg: rgba(15, 23, 42, 0.8);
    --glass-dark-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-primary: 'Sarabun', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

/* ==========================================================================
   GLOBAL STYLES & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

button, input, select, textarea {
    font-family: inherit;
}

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

ul {
    list-style: none;
}

.section-padding {
    padding: 100px 0;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.font-primary { font-family: var(--font-primary); }
.font-secondary { font-family: var(--font-secondary); }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.w-full { width: 100%; }

.bg-light-primary { background-color: var(--primary-light); }
.bg-light-accent { background-color: var(--accent-light); }
.bg-light-success { background-color: var(--success-light); }
.bg-light-gray { background-color: var(--bg-light-gray); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 159, 28, 0.4);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 159, 28, 0.6);
}

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

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

/* Badges & Section Headers */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-accent {
    background-color: var(--accent-light);
    color: #b45309;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.9);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: all 0.3s ease;
}

.main-header.scrolled .navbar-container {
    height: 64px;
}

/* Logo Design */
.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled .logo-img {
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bg-dark);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.75rem;
    font-family: var(--font-secondary);
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Nav Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link i {
    margin-right: 4px;
    font-size: 0.85rem;
    opacity: 0.7;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

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

/* Hamburger menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--bg-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--bg-dark-gray);
    z-index: 200;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 24px;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    color: #94a3b8;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-link.active, .drawer-link:hover {
    color: white;
    padding-left: 8px;
}

.drawer-footer {
    padding-top: 20px;
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e1b4b 100%);
    color: white;
    overflow: hidden;
}

/* Particle background grid */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(2, 132, 199, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.8;
}

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 20px 0 28px;
    background: linear-gradient(to right, #ffffff 40%, var(--primary-light) 70%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.85;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Media & Image Floatingbadges */
.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: var(--border-radius-lg);
    overflow: visible;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.hero-img {
    width: 100%;
    border-radius: calc(var(--border-radius-lg) - 4px);
    object-fit: cover;
    aspect-ratio: 16/9;
}

.hero-glass-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-glass-badge i {
    font-size: 24px;
}

.hero-badge-1 {
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.hero-badge-2 {
    bottom: -20px;
    right: -20px;
    animation-delay: 3s;
}

.badge-text-val {
    display: block;
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 2px;
}

.badge-text-desc {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    position: relative;
    z-index: 20;
    margin-top: -40px;
    margin-bottom: 40px;
}

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

.stat-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

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

.stat-number {
    font-family: var(--font-secondary);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--bg-dark);
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* Grid layout tweak: span full width for values */
#aboutCardValues {
    grid-column: span 2;
}

.about-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin: 20px 0 16px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.about-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-list li i {
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Core Values Item Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.value-item {
    border-left: 3px solid var(--border-color);
    padding-left: 16px;
    transition: border-left-color 0.3s ease;
}

.value-item:hover {
    border-left-color: var(--primary);
}

.value-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.value-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 132, 199, 0.2);
}

/* ==========================================================================
   ACHIEVEMENTS (GALLERY SECTION)
   ========================================================================== */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* Gallery Grid & Zoom */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: all 0.5s ease;
}

.gallery-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

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

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #cbd5e1;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

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

.gallery-zoom-btn {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid white;
    padding: 8px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease;
}

.gallery-zoom-btn:hover {
    transform: scale(1.05);
}

.gallery-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.gallery-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Gallery Temp Placeholder Styling */
.gallery-temp-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bg-gradient-dark { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.bg-gradient-orange { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.bg-gradient-blue { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.bg-gradient-green { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }

.gallery-temp-icon {
    font-size: 42px;
}

.gallery-temp-label {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   SERVICES & REQUESTS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-box.highlight-border {
    border: 2px solid var(--accent);
    position: relative;
}

.service-box.highlight-border::before {
    content: 'รับสมัคร';
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.service-box-header {
    margin-bottom: 24px;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.service-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-dark);
    line-height: 1.3;
}

.service-box-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.service-features li i {
    color: var(--success);
    font-size: 16px;
}

/* ==========================================================================
   CONTACT US SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 6px;
}

.info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-text a:hover {
    color: var(--primary);
}

/* SVG Map Graphic */
.svg-map-wrapper {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.map-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-svg-map {
    width: 100%;
    height: auto;
    display: block;
}

/* Quick Contact Form */
.contact-form-wrapper {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contact-form-wrapper h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 8px;
}

.contact-form-wrapper p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    background-color: var(--bg-light-gray);
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.grid-col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Radio Group style */
.radio-group-horizontal {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

/* Form Actions */
.form-actions-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.form-actions-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

/* Alert Notification message inside form */
.form-alert-msg {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}

.form-alert-msg.success {
    background-color: var(--success-light);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-alert-msg.error {
    background-color: var(--danger-light);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Multi-step progress style */
.form-steps-indicator {
    display: flex;
    justify-content: space-around;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.step-dot {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 8px;
}

.step-dot.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* ==========================================================================
   MODAL OVERLAY & POPUP STYLING
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--bg-light);
    width: 100%;
    max-width: 600px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background-color: var(--bg-light-gray);
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: var(--danger);
}

.modal-body {
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Success State inside Modals */
.form-success-content {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.success-icon-animation {
    font-size: 64px;
    animation: scaleUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success-content h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bg-dark);
}

.form-success-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ==========================================================================
   IMAGE LIGHTBOX OVERLAY
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 40px;
}

.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content-box {
    position: relative;
    max-width: 900px;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content-box img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: scaleUp 0.3s ease-out;
}

.lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
    max-width: 700px;
    line-height: 1.5;
}

/* Lightbox arrows & buttons */
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 2100;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
}

.lightbox-prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.lightbox-next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

/* ==========================================================================
   FOOTER STYLING
   ========================================================================== */
.main-footer {
    background-color: var(--bg-dark);
    color: #94a3b8;
    padding: 80px 0 20px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info p {
    line-height: 1.7;
}

.footer-links h4, .footer-external h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-external h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul, .footer-external ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover, .footer-external a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.dev-credits {
    font-size: 0.8rem;
    color: #64748b;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes rotateSun {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animation Classes used in JS/HTML */
.animate-fade-in { animation: fadeIn 1s ease-out forwards; }
.animate-slide-up {
    opacity: 0;
    animation: scaleUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.animate-slide-up-delay {
    opacity: 0;
    animation: scaleUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}
.animate-slide-up-delay-2 {
    opacity: 0;
    animation: scaleUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}
.animate-fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet Screens (1024px and below) */
@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.85rem;
    }
    
    .hero-subtitle {
        margin-bottom: 30px;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .grid-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    #aboutCardValues {
        grid-column: span 1;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

/* Mobile Screens (768px and below) */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .btn-nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-image-frame {
        max-width: 360px;
    }
    
    .hero-glass-badge {
        padding: 10px 14px;
        gap: 10px;
    }
    
    .hero-badge-1 {
        left: -10px;
        top: -10px;
    }
    
    .hero-badge-2 {
        right: -10px;
        bottom: -10px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .service-box {
        padding: 30px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .grid-col-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .lightbox-overlay {
        padding: 20px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* Small Screens (480px and below) */
@media (max-width: 480px) {
    .grid-stats {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions-between {
        flex-direction: column;
        gap: 16px;
    }
    
    .form-actions-between button {
        width: 100%;
    }
}

/* ==========================================================================
   ADMIN PANEL STYLING
   ========================================================================== */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: white;
}

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

.admin-table th {
    background-color: var(--bg-light-gray);
    font-weight: 700;
    color: var(--bg-dark);
    font-size: 0.9rem;
}

.admin-table tr:hover {
    background-color: #f1f5f9;
}

.admin-table td {
    color: var(--text-dark);
    font-size: 0.85rem;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Wrap text specifically for reason / message cells */
.admin-table td.wrap-cell {
    white-space: normal;
    min-width: 180px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.btn-danger-sm {
    background-color: var(--danger);
    color: white;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

