/* ==========================================================================
   NetAid Premium Styling System
   Colors: #03045e, #023e8a, #0077b6
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --primary: #03045e;
    --secondary: #023e8a;
    --accent: #0077b6;
    --accent-glow: #00e5ff;
    --bg-dark: #050b1a;
    --bg-dark-card: #0c1938;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #1d2d44;
    --text-muted: #5c677d;
    --text-white: #ffffff;
    --border-color: rgba(0, 119, 182, 0.15);
    
    --shadow-sm: 0 4px 12px rgba(3, 4, 94, 0.05);
    --shadow-md: 0 12px 30px rgba(3, 4, 94, 0.08);
    --shadow-lg: 0 24px 60px rgba(3, 4, 94, 0.15);
    --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --container-width: 1200px;
    --header-height: 80px;
}

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

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

p {
    font-size: 1rem;
    color: var(--text-muted);
}

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

/* Layout Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(2, 62, 138, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 4, 94, 0.5);
}

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

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

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Badges */
.badge {
    display: inline-block;
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.badge-accent {
    display: inline-block;
    background-color: var(--accent-glow);
    color: var(--primary);
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Glassmorphism Card System */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    transform: translateY(-4px);
}

/* Header & Sticky Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(3, 4, 94, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo .highlight {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

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

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(0, 119, 182, 0.08) 0%, rgba(255, 255, 255, 1) 70%);
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.45;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    top: 15%;
    right: 10%;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    bottom: 10%;
    left: -5%;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-glow);
    top: 50%;
    right: 35%;
}

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

.hero-content {
    max-width: 620px;
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 20%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-desc {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

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

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.stat-plus {
    color: var(--accent);
    font-weight: 800;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Hero Visual Console & Floating Widgets */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-card {
    width: 100%;
    max-width: 460px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-main-card:hover {
    transform: translateY(0);
}

.card-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.tab-title {
    color: rgba(255, 255, 255, 0.6);
    font-family: monospace;
    font-size: 0.75rem;
    margin-left: 16px;
}

.console-body {
    padding: 24px;
    font-family: monospace;
    font-size: 0.85rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
    background-color: var(--bg-dark);
}

.console-line {
    margin-bottom: 8px;
}

.c-cyan { color: var(--accent-glow); }
.c-green { color: #27c93f; }
.c-yellow { color: #ffbd2e; }

/* Floating Widgets styling */
.floating-widget {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    max-width: 240px;
    background: rgba(255, 255, 255, 0.9);
}

.widget-left {
    bottom: -15px;
    left: -20px;
}

.widget-right {
    top: -15px;
    right: -10px;
}

.widget-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--bg-white);
}

.widget-icon-box.bg-blue { background-color: var(--secondary); }
.widget-icon-box.bg-cyan { background-color: var(--accent); }

.widget-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
}

.widget-info p {
    font-size: 0.75rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: floatDelay 6s ease-in-out infinite;
    animation-delay: 2s;
}

/* Shared Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.header-divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

.section-intro {
    font-size: 1.05rem;
    margin-top: 16px;
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-grid {
    margin-bottom: 60px;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mission-card, .vision-card {
    padding: 36px;
    text-align: left;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--accent);
    margin-bottom: 20px;
}

.mission-card h3, .vision-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.mission-card p, .vision-card p {
    font-size: 0.95rem;
}

.core-values-wrapper {
    margin-top: 60px;
    text-align: center;
}

.sub-section-title {
    font-size: 1.6rem;
    margin-bottom: 32px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--bg-white);
    border: 1px solid rgba(3, 4, 94, 0.05);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}

.value-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.value-icon-box {
    width: 44px;
    height: 44px;
    background-color: rgba(3, 4, 94, 0.04);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.value-icon-box svg {
    width: 20px;
    height: 20px;
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--accent);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card:hover .service-link {
    color: var(--primary);
}

/* Smart IT Solution Builder Section */
.builder-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.builder-layout {
    padding: 48px;
    background: var(--bg-white);
}

.builder-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px auto;
}

.builder-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.builder-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: start;
}

.builder-controls h3, .builder-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 8px;
}

.checkbox-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    background-color: var(--bg-white);
    transition: var(--transition);
    user-select: none;
}

.checkbox-card:hover {
    border-color: var(--accent);
    background-color: rgba(0, 119, 182, 0.02);
}

.checkbox-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
}

.checkbox-card input:checked ~ .checkbox-custom {
    background-color: var(--accent);
}

.checkbox-card input:checked ~ .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--bg-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-card.selected {
    border-color: var(--accent);
    background-color: rgba(0, 119, 182, 0.05);
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.08);
}

.checkbox-content {
    display: flex;
    flex-direction: column;
}

.checkbox-content strong {
    font-size: 0.95rem;
    color: var(--primary);
}

.checkbox-content span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Builder Nested Summary Card */
.glass-card-nested {
    background: var(--bg-dark);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    padding: 32px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.glass-card-nested h3 {
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.1);
}

.summary-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    gap: 16px;
}

.summary-placeholder p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 240px;
}

.summary-results {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.summary-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: 600;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-glow);
}

.recommendations-box {
    margin-bottom: 20px;
}

.recommendations-box h4 {
    color: var(--bg-white);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.recommendations-box ul {
    list-style: none;
}

.recommendations-box li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

.recommendations-box li::before {
    content: '▪';
    color: var(--accent-glow);
    position: absolute;
    left: 0;
    top: -1px;
}

.integration-synergy {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background-color: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    margin-bottom: 24px;
}

.synergy-icon {
    color: var(--accent-glow);
    flex-shrink: 0;
}

.synergy-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.synergy-text strong {
    color: var(--accent-glow);
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Why Choose NetAid Section */
.why-section {
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-icon-container {
    width: 42px;
    height: 42px;
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon-container svg {
    width: 20px;
    height: 20px;
}

.why-text h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.why-text p {
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Ready to Transform Banner */
.cta-banner {
    padding: 40px 0;
    background-color: var(--bg-light);
}

.cta-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 48px;
    background: linear-gradient(135deg, rgba(3, 4, 94, 0.02) 0%, rgba(2, 62, 138, 0.05) 100%);
}

.cta-banner-content h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.cta-banner-content p {
    font-size: 1rem;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
}

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

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
}

.info-card:hover {
    transform: none;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-details h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.info-details p {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.info-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

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

.emergency-banner {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, rgba(239, 35, 60, 0.05) 0%, rgba(239, 35, 60, 0.08) 100%);
    border: 1px solid rgba(239, 35, 60, 0.2);
    border-radius: var(--border-radius-md);
    padding: 20px 24px;
}

.emergency-icon {
    color: #ef233c;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.emergency-banner p {
    font-size: 0.88rem;
    color: #ef233c;
    line-height: 1.5;
}

.emergency-banner p strong {
    font-weight: 700;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Contact Form */
.contact-form-container {
    padding: 40px;
}

.contact-form-container:hover {
    transform: none;
}

.consultation-form h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-instructions {
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-group input, .form-group textarea {
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.form-group textarea[readonly] {
    background-color: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.85rem;
    resize: none;
}

/* Footer Styling */
.main-footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--bg-white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4, .footer-contact h4 {
    color: var(--bg-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--accent-glow);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.footer-contact strong {
    color: var(--bg-white);
}

.footer-contact a {
    color: var(--accent-glow);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 24px 0;
    font-size: 0.8rem;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    border-radius: 50%;
}

.back-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 11, 26, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-white);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-success-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.modal-content h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.modal-ticket {
    background: var(--bg-light);
    border: 1px dashed var(--accent);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    text-align: left;
    margin-bottom: 24px;
    font-family: monospace;
    font-size: 0.8rem;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px dotted rgba(3, 4, 94, 0.1);
    padding-bottom: 4px;
}

.ticket-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ticket-label {
    color: var(--text-muted);
}

.ticket-val {
    font-weight: 700;
    color: var(--primary);
}

.ticket-services {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(3, 4, 94, 0.1);
}

.ticket-services ul {
    list-style: none;
    padding-left: 12px;
}

.ticket-services li {
    margin-bottom: 4px;
}

.ticket-services li::before {
    content: '• ';
    color: var(--accent);
}

.ticket-footer-text {
    font-size: 0.78rem !important;
    color: var(--accent) !important;
    font-weight: 600;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 4, 94, 0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive Media Queries */

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 24px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-banner-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -4px 0 20px rgba(3, 4, 94, 0.15);
        padding: 100px 32px;
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

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

    .nav-link {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }

    .btn-nav {
        display: none;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.35rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
    }

    .builder-layout {
        padding: 24px;
    }

    .contact-form-container {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
