/* ===================================
   CodesElevate - Modern Glassy Website
   ================================== */

/* CSS Variables for Glassy Design */
:root {
    /* Color Palette - White Glassy Theme */
    --primary-color: #ffffff;
    --primary-light: #f8fafc;
    --primary-dark: #e2e8f0;
    --secondary-color: #f1f5f9;
    --accent-color: #cbd5e1;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #ffffff;
    --background: #ffffff;
    --background-dark: #f8fafc;
      /* Glassy Effect Variables - White Theme */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-bg-hover: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --glass-blur: blur(10px);
    --glass-blur-strong: blur(20px);
      /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --section-padding-mobile: 3rem 0;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Background Pattern Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(241, 245, 249, 0.6) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Glassy Base Class */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
}

.glass:hover {
    background: var(--glass-bg-hover);
    box-shadow: var(--glass-shadow-hover);
    transform: translateY(-2px);
}

/* Strong Glass Effect for Major Sections */
.glass-strong {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--glass-blur-strong);
    -webkit-backdrop-filter: var(--glass-blur-strong);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    position: relative;
}

.loader-inner {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
    filter: brightness(0) invert(1);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Hero Section - Clean Design */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    background: 
        linear-gradient(135deg, #ffffff 0%, #f8fafc 20%, #f1f5f9 40%, #e2e8f0 100%);
}

/* Hero Content Layout */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-visual {
    animation: slideInRight 1s ease-out 1s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    animation: badgeGlow 5s ease-in-out infinite alternate;
}

.hero-badge i {
    color: #22c55e;
}

@keyframes badgeGlow {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    letter-spacing: -0.02em;
    animation: titleGlow 4s ease-in-out infinite alternate;
}

.title-line {
    display: block;
    line-height: 1.1;
}

.highlight-line {
    background: linear-gradient(135deg, 
        #3b82f6 0%, 
        #8b5cf6 25%, 
        #06b6d4 50%, 
        #10b981 75%, 
        #3b82f6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes gradientMove {
    0%, 100% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(30, 41, 59, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 41, 59, 0.4);
}

.btn-secondary {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ===== SECTIONS STYLING ===== */

/* General Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== PORTALS SECTION ===== */
.portals {
    background: #f8fafc;
    padding: 5rem 0;
}

.portals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portal-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    cursor: pointer;
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.portal-icon {
    width: 60px;
    height: 60px;
    background: #475569;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.portal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.portal-description {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
}

.portal-link:hover {
    color: #2563eb;
}

.portal-link i {
    font-size: 0.75rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 5rem 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 0;
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #475569;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #64748b;
    line-height: 1.6;
}

/* WhatsApp Link Styling */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-link i {
    font-size: 1rem;
}

/* Form Success Message */
.form-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.form-success.show {
    display: flex;
}

.form-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.form-error.show {
    display: flex;
}

/* ===== FOOTER SECTION ===== */
.footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: #1e293b;
}

.footer-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-title {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #1e293b;
}

.footer-bottom {
    border-top: 1px solid #d1d5db;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #475569;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-wrapper {
        gap: 4rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .portals-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    /* Dashboard Mockup Tablet */
    .dashboard-mockup {
        max-width: 100%;
        padding: 1.25rem;
    }
    
    .mockup-content {
        grid-template-columns: 160px 1fr;
        gap: 1rem;
    }
      .sidebar-item {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .main-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .floating-cards .floating-card {
        transform: scale(0.9);
    }
    
    .card-1 {
        left: -15%;
    }
    
    .card-2 {
        right: -15%;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Enhanced Container */
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Navigation - Enhanced Mobile - Keep brand text visible */
    .nav-brand {
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
    }
    
    .brand-text {
        font-size: 1.3rem !important;
        font-weight: var(--font-weight-bold);
        color: var(--text-primary);
        text-decoration: none;
    }
      .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: var(--glass-blur);
        border: 1px solid var(--glass-border);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.75rem;
        box-shadow: var(--glass-shadow-hover);
        z-index: 1000;
        margin-top: 0.5rem;
    }
    
    .nav-menu.active .nav-list {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    .nav-toggle {
        display: flex;
        cursor: pointer;
        z-index: 1001;
        padding: 0.5rem;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }
    
    .nav-toggle:hover {
        background: var(--glass-bg);
    }
    
    .nav-toggle .bar {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: center;
        border-radius: var(--radius-md);
        transition: all var(--transition-normal);
        font-weight: 500;
        color: var(--text-primary);
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: var(--glass-bg-hover);
        transform: translateY(-2px);
        box-shadow: var(--glass-shadow);
        color: var(--text-primary);
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 5rem 0 3rem;
        overflow-x: hidden;
    }
      .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-visual {
        order: -1;
        padding: 0;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-badge {
        margin-bottom: 1.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        min-width: 120px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }    /* Dashboard Mockup - Enhanced Mobile - Keep sidebar visible like desktop */
    .dashboard-mockup {
        max-width: 100%;
        margin: 1rem auto 0;
        padding: 0.75rem;
        border-radius: 15px;
        transform: scale(0.95);
    }
    
    .mockup-header {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
    }      .mockup-content {
        grid-template-columns: 85px 1fr;
        gap: 0.5rem;
        padding: 0;
    }
    
    .mockup-sidebar {
        display: block !important;
        padding: 0.4rem;
        width: 80px;
        min-width: 80px;
    }    .sidebar-item {
        padding: 0.45rem 0.25rem;
        font-size: 0.65rem;
        gap: 0.25rem;
        flex-direction: column;
        text-align: center;
        margin-bottom: 0.25rem;
    }
    
    .sidebar-item i {
        font-size: 0.75rem;
        width: auto;
        margin-bottom: 0.15rem;
    }
    
    .sidebar-item span {
        display: block;
        font-size: 0.55rem;
        line-height: 1.1;
        max-width: 65px;
    }
    
    .main-area {
        padding: 0;
    }
    
    .main-cards {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .metric-card {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .metric-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .metric-title {
        font-size: 0.7rem;
    }
    
    .metric-value {
        font-size: 1.1rem;
    }
      .chart-area {
        padding: 0.75rem;
        min-height: 140px;
        border-radius: 8px;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }
    
    .chart-title {
        font-size: 0.65rem;
    }
    
    .chart-bars {
        height: 50px;
        max-width: 150px;
    }
    
    .bar {
        border-radius: 2px 2px 0 0;
        min-height: 12px;
    }
    
    .bar-label {
        font-size: 0.4rem;
        bottom: -12px;
    }
    
    .chart-stats {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
    
    .chart-stats .stat-text {
        font-size: 0.45rem;
    }
      .portal-interface {
        display: none;
    }
    
    /* Sections */
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
      /* Portal Cards - Enhanced Mobile */
    .portals-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .portal-card {
        padding: 1.25rem;
        margin: 0;
        border-radius: var(--radius-md);
        transform: none !important;
        transition: all var(--transition-normal);
    }
    
    .portal-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: var(--glass-shadow-hover);
    }
    
    .portal-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .portal-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .portal-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Small Mobile Styles - Enhanced */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Hero Section */
    .hero {
        padding: 3rem 0 2rem;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-wrapper {
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
    }      /* Dashboard Mockup - Better Mobile - Keep desktop-like layout */
    .dashboard-mockup {
        transform: scale(1);
        margin: 2rem auto 0;
        padding: 1rem;
        max-width: 95%;
        border-radius: 20px;
    }
    
    .mockup-header {
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
    }
    
    .mockup-title {
        font-size: 1rem;
        font-weight: 600;
    }      .mockup-content {
        grid-template-columns: 100px 1fr;
        gap: 0.75rem;
    }
    
    .mockup-sidebar {
        display: block !important;
        padding: 0.6rem;
        width: 95px;
        min-width: 95px;
    }    .sidebar-item {
        padding: 0.5rem 0.3rem;
        font-size: 0.7rem;
        gap: 0.3rem;
        flex-direction: column;
        text-align: center;
        margin-bottom: 0.3rem;
    }
    
    .sidebar-item span {
        display: block;
        font-size: 0.6rem;
        line-height: 1.1;
        max-width: 75px;
    }
    
    .sidebar-item i {
        font-size: 0.8rem;
        width: auto;
        margin-bottom: 0.2rem;
    }
    
    .metric-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .metric-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .metric-title {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .metric-value {
        font-size: 1.25rem;
        font-weight: 700;
    }
    
    .chart-area {
        height: 140px;
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
    }
    
    .chart-bars {
        height: 100px;
    }
      /* Sections - Better Mobile Spacing */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
    }
    
    /* Portal Cards - Enhanced Mobile */
    .portals {
        padding: 3rem 0;
    }
    
    .portals-grid {
        gap: 1.25rem;
        padding: 0;
    }
    
    .portal-card {
        padding: 1.5rem;
        border-radius: 16px;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-blur);
        border: 1px solid var(--glass-border);
        transition: all var(--transition-normal);
    }
    
    .portal-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--glass-shadow-hover);
        background: var(--glass-bg-hover);
    }
    
    .portal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
        background: var(--glass-bg-hover);
        border: 1px solid var(--glass-border);
    }
    
    .portal-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }
    
    .portal-description {
        font-size: 0.9rem;
        line-height: 1.5;
        color: var(--text-secondary);
    }
    
    /* Features */
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Stats */
    .hero-stats,
    .about-stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-section a {
        font-size: 0.85rem;
    }
    
    /* Back to top button */
    .back-to-top {
        bottom: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* ===== MOBILE TOUCH OPTIMIZATIONS ===== */

/* Touch-friendly interactions */
@media (max-width: 768px) {
    /* Improved touch targets */
    .btn,
    .nav-link,
    .portal-card,
    .feature-card {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Prevent zoom on input focus */
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
    
    /* Better scroll behavior */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Remove tap highlight */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Improved portal card touch feedback */
    .portal-card {
        transition: all 0.2s ease;
        cursor: pointer;
        user-select: none;
    }
    
    .portal-card:active {
        transform: translateY(-1px) scale(0.98);
        box-shadow: var(--glass-shadow);
    }
    
    /* Button touch feedback */
    .btn:active {
        transform: translateY(1px) scale(0.98);
    }
    
    /* Navigation improvements */
    .nav-toggle {
        padding: 8px;
        margin: -8px;
        border-radius: 6px;
        transition: background-color 0.2s ease;
    }
    
    .nav-toggle:active {
        background: var(--glass-bg);
    }
}

/* ===== LANDSCAPE MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 70vh;
        padding: 3rem 0 2rem;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr 0.8fr;
        gap: 2rem;
        text-align: left;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-content {
        order: 1;
    }
    
    .dashboard-mockup {
        transform: scale(0.8);
        margin-top: 0;
    }
    
    /* Compact sections in landscape */
    section {
        padding: 3rem 0;
    }
    
    .portals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .portal-card {
        padding: 1rem;
    }
}

/* ===== DASHBOARD MOCKUP STYLES ===== */

/* Dashboard Container */
.dashboard-mockup {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    animation: mockupFloat 6s ease-in-out infinite;
}

.dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes mockupFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotateX(2deg);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Dashboard Header */
.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mockup-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.dot:hover {
    opacity: 1;
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #22c55e;
}

/* Dashboard Content Area */
.mockup-content {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    min-height: 300px;
}

/* Dashboard Sidebar */
.mockup-sidebar {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 110px;
    min-width: 110px;
}

.sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.4rem;
    margin-bottom: 0.4rem;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.sidebar-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    transform: scale(1.02);
}

.sidebar-item.active {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.15);
}

.sidebar-item i {
    width: 16px;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.7;
    margin-bottom: 0.2rem;
}

.sidebar-item.active i {
    opacity: 1;
}

.sidebar-item span {
    font-size: 0.65rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

/* Dashboard Main Content */
.mockup-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Metric Cards */
.main-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #3b82f6);
}

.metric-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.metric-info {
    flex: 1;
}

.metric-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    animation: countUp 2s ease-out;
}

.metric-label {
    font-size: 0.55rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chart Area */
.chart-area {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1rem;
    min-height: 160px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.chart-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.chart-period {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
}

.period-text {
    font-size: 0.55rem;
    color: var(--text-secondary);
}

.chart-period i {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.chart-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 6px;
    height: 60px;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    position: relative;
}

.bar {
    background: linear-gradient(180deg, #3b82f6, #1e40af);
    border-radius: 3px 3px 0 0;
    min-height: 15px;
    flex: 1;
    transition: all 0.3s ease;
    animation: barGrow 1.5s ease-out;
    animation-fill-mode: both;
    position: relative;
    cursor: pointer;
}

.bar.active {
    background: linear-gradient(180deg, #22c55e, #16a34a);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.3s; }
.bar:nth-child(4) { animation-delay: 0.4s; }
.bar:nth-child(5) { animation-delay: 0.5s; }
.bar:nth-child(6) { animation-delay: 0.6s; }

.bar:hover {
    background: linear-gradient(180deg, #22c55e, #16a34a);
    transform: scaleY(1.1);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.bar:hover::before {
    content: attr(data-value);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.5rem;
    white-space: nowrap;
    z-index: 10;
}

.bar-label {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.45rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.chart-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chart-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chart-stats .stat-icon {
    font-size: 0.6rem;
}

.chart-stats .stat-text {
    font-size: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.bar {
    background: linear-gradient(180deg, #3b82f6, #1e40af);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    flex: 1;
    transition: all 0.3s ease;
    animation: barGrow 1.5s ease-out;
    animation-fill-mode: both;
}

.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.3s; }
.bar:nth-child(4) { animation-delay: 0.4s; }
.bar:nth-child(5) { animation-delay: 0.5s; }
.bar:nth-child(6) { animation-delay: 0.6s; }

.bar:hover {
    background: linear-gradient(180deg, #22c55e, #16a34a);
    transform: scaleY(1.1);
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}



@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contact Form Styling */
.contact-form {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #1e293b;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Submit Button Loading State */
.btn-loading {
    display: none;
}

#submit-btn.loading .btn-text {
    display: none;
}

#submit-btn.loading .btn-loading {
    display: flex;
    align-items: center;    gap: 0.5rem;
}

/* Success and Error Messages Animation */
.form-success,
.form-error {
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
