/* ============================================
   WAREHOUSE LOGISTICS TEMPLATE - INDUSTRIAL SAAS DESIGN
   Modern, High-Tech, Enterprise-Grade UI
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #f1f5f9;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p { margin-bottom: 1rem; color: #cbd5e1; }

/* Animated Gradient Headings */
.gradient-text {
    background: linear-gradient(90deg, #A3E635, #4ADE80, #22D3EE);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #0891B2, #22D3EE, #A3E635);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    z-index: 9999;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #22D3EE, #0891B2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #22D3EE;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0891B2, #22D3EE);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, #0891B2, #22D3EE);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.3);
}

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

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #22D3EE;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   CONTAINER & UTILITIES
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: rgba(15, 23, 42, 0.6);
}

.section-grid {
    background-image: 
        linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .subtitle {
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 2px;
    color: #22D3EE;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header .underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #A3E635, #4ADE80);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #94a3b8;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #0891B2, #22D3EE);
    color: #fff;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #22D3EE;
    border: 2px solid #22D3EE;
}

.btn-secondary:hover {
    background: rgba(34, 211, 238, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* Button Ripple Effect */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ============================================
   HERO SECTION - DASHBOARD STYLE
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, #1D8291 0%, #369BAF 50%, #61C0C2 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 2px, transparent 2px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Stats Overlay on Hero */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #A3E635, #4ADE80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-card .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(34, 211, 238, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0891B2, #22D3EE);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: rotate(5deg) scale(1.1);
}

.card h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.card p {
    color: #94a3b8;
    line-height: 1.7;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #1e293b;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #A3E635, #4ADE80);
    color: #0f172a;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.85rem;
    color: #22D3EE;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-content h3 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.product-content p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(34, 211, 238, 0.1);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #A3E635;
}

.product-link {
    color: #22D3EE;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.product-link:hover {
    gap: 0.75rem;
}

/* ============================================
   TIMELINE (HOW IT WORKS)
   ============================================ */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #0891B2, #22D3EE, #A3E635);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

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

.timeline-content {
    flex: 1;
    background: rgba(30, 41, 59, 0.6);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(34, 211, 238, 0.1);
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0891B2, #22D3EE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    border: 4px solid #0f172a;
    z-index: 1;
}

.timeline-content h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #94a3b8;
}

/* ============================================
   TESTIMONIALS SLIDER
   ============================================ */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.1);
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid #22D3EE;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: #22D3EE;
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #22D3EE;
    transform: scale(1.3);
}

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #1D8291, #369BAF);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0 L100 100 L0 100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #22D3EE;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

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

/* ============================================
   TABLE
   ============================================ */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 10px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #0891B2, #22D3EE);
}

thead th {
    padding: 1.25rem;
    text-align: left;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

tbody tr {
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    transition: background 0.3s ease;
}

tbody tr:hover {
    background: rgba(34, 211, 238, 0.05);
}

tbody td {
    padding: 1.25rem;
    color: #cbd5e1;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #22D3EE;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin-bottom: 0;
    display: block;
}

.footer-links li a {
    display: inline-block;
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22D3EE;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #22D3EE;
    color: #0f172a;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    color: #64748b;
}

/* ============================================
   FLOATING SOCIAL ICONS
   ============================================ */
.floating-social {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9998;
}

.floating-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
}

.floating-icon.instagram {
    background: linear-gradient(135deg, #833AB4, #E1306C, #F56040);
    color: #fff;
}

.floating-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   COUNTERS
   ============================================ */
.counter {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, #A3E635, #4ADE80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   BADGES
   ============================================ */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 3rem 0;
}

.badge {
    text-align: center;
}

.badge-icon {
    font-size: 3rem;
    color: #22D3EE;
    margin-bottom: 1rem;
}

.badge-text {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.contact-info-item:first-child {
    padding-top: 0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #0891B2, #22D3EE);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.3);
}

.contact-details {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly */
}

.contact-details h4 {
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.8;
}

.contact-details a {
    color: #22D3EE;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #8CE0E0;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 80px;
    }

    .timeline-number {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        transition: right 0.3s ease;
        border-left: 1px solid rgba(34, 211, 238, 0.1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    }

    .menu-toggle {
        display: flex;
    }

    .section {
        padding: 4rem 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .floating-social {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    /* Contact page mobile responsiveness */
    .contact-info-item {
        gap: 1rem;
        padding: 1.25rem 0;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.25rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    select.form-control,
    textarea.form-control {
        font-size: 16px;
    }
}

/* Extra small devices (phones < 480px) */
@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }
    
    .contact-info-item {
        gap: 0.75rem;
        padding: 1rem 0;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.1rem;
    }
    
    .contact-details h4 {
        font-size: 0.95rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header,
    footer,
    .floating-social,
    .scroll-progress {
        display: none;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid #22D3EE;
    outline-offset: 4px;
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(34, 211, 238, 0.3);
    border-radius: 50%;
    border-top-color: #22D3EE;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0891B2, #22D3EE);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #22D3EE, #A3E635);
}
