/* Landing Page Styles - Unified Design System */

:root {
    --primary-color: #8B1538;
    --primary-dark: #6B0F2A;
    --accent-color: #D4145A;
    
    --tech-blue: #2563EB;
    --tech-purple: #7C3AED;
    --tech-cyan: #06B6D4;
    --tech-green: #10B981;
    
    --dark: #0F172A;
    --dark-light: #1E293B;
    --text-light: #ffffff;
    --white: #FFFFFF;
    
    --gradient-primary: linear-gradient(135deg, #8B1538, #D4145A);
    --gradient-tech: linear-gradient(135deg, #2563EB, #06B6D4);
    --gradient-glow: linear-gradient(135deg, #8B1538, #D4145A, #2563EB);
    
    --shadow-lg: 0 20px 60px rgba(139, 21, 56, 0.3);
}

* {
    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;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    touch-action: auto;
}

::selection {
    background: var(--primary-color);
    color: var(--white);
}


/* ===== LOGO IMAGE STYLING ===== */
.logo-img {
    width: 160px;
    height: 80px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(139, 21, 56, 0.3));
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 6px 12px rgba(139, 21, 56, 0.5));
    transform: scale(1.05);
}

/* Logo in footer */
.footer .logo-img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

/* ===== CURSOR ===== */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
}

/* ===== PARTICLES ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.5;
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.glitch-logo {
    margin-bottom: 2rem;
}

.glitch-logo img {
    width: 100px;
    height: 100px;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(139, 21, 56, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    margin: 2rem auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-content h2 {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.typing-text {
    color: var(--text-light);
    font-size: 1rem;
    margin: 1rem 0;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    animation: progress 2s ease-in-out forwards;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}



.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
 display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(139, 21, 56, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.glow-button {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 21, 56, 0.4); }
    50% { box-shadow: 0 0 40px rgba(139, 21, 56, 0.8); }
}

.pulse-button {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--dark), var(--dark-light), var(--primary-dark));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 21, 56, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.rotating-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 13px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 21, 56, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== HERO ADJUSTMENTS FOR LANDING PAGE ===== */
.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

/* ===== SERVICES SELECTION SECTION ===== */
.services-selection {
    padding: 8rem 0;
    background: var(--dark-light);
    position: relative;
}

.division-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.division-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.8rem;
    min-height: 390px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.division-card:hover::before {
    opacity: 0.05;
}

.division-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 30px 80px rgba(139, 21, 56, 0.4);
}
.division-card {
    background-image: url('/assets/images/IT-Support-Service.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.engineering-division {
    background-image: url('/assets/images/egnineering\ img.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    z-index: 0;
}

.division-card > * {
    position: relative;
    z-index: 1;
}

.division-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
    overflow: hidden;
}

.tech-pattern {
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            var(--tech-blue) 0px,
            transparent 1px,
            transparent 20px
        ),
        repeating-linear-gradient(
            90deg,
            var(--tech-cyan) 0px,
            transparent 1px,
            transparent 20px
        );
    animation: slidePattern 20s linear infinite;
}

.engineering-pattern {
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            var(--primary-color) 0px,
            transparent 2px,
            transparent 10px
        ),
        repeating-linear-gradient(
            -45deg,
            var(--accent-color) 0px,
            transparent 2px,
            transparent 10px
        );
    animation: slidePattern 25s linear infinite;
}

@keyframes slidePattern {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.division-card > * {
    position: relative;
    z-index: 1;
}

.division-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.division-card:hover .division-icon {
    transform: rotateY(360deg) scale(1.1);
}

.division-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.division-card > p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
}

.division-features {
    list-style: none;
    margin-bottom: 1.2rem;
}

.division-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.division-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.division-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.3);
}

.division-btn:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(139, 21, 56, 0.5);
}

.division-stats {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.division-stats .stat {
    flex: 1;
    text-align: center;
}

.division-stats h4 {
    font-size: 1.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.division-stats p {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* IT Division specific styling */
.it-division .division-icon {
    background: var(--gradient-tech);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 8rem 0;
    background: var(--dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: rgba(139, 21, 56, 0.1);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.feature-icon-small {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.about-feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.about-visual {
    position: relative;
    height: 500px;
}

.stats-circle {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(139, 21, 56, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.circle-stat {
    text-align: center;
}

.circle-stat h3 {
    font-size: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.circle-stat p {
    color: var(--text-light);
    font-size: 1.2rem;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.badge-1 {
    top: 10%;
    right: 10%;
}

.badge-2 {
    bottom: 10%;
    left: 10%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-section {
    padding: 8rem 0;
    background: var(--dark-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(139, 21, 56, 0.3);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.cert-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cert-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 21, 56, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-section {
    padding: 8rem 0;
    background: var(--dark);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-card:hover::before {
    opacity: 0.1;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.why-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 8rem 0;
    background: var(--dark-light);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-info-inline {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-item-inline {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-item-inline i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-light);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(139, 21, 56, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.contact-list i {
    color: var(--primary-color);
    width: 20px;
}

/* ===== WHATSAPP & BACK TO TOP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 998;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 7rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.3);
    z-index: 998;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 21, 56, 0.5);
}

/* ===== ANIMATED EXPLORE TEXT ===== */
.explore-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.explore-container.show {
    opacity: 1;
    backdrop-filter: blur(8px);
    pointer-events: auto;
    animation: fadeInExplore 0.5s ease forwards;
}

.explore-text {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(139, 21, 56, 0.3);
    overflow: hidden;
    white-space: nowrap;
}

@keyframes fadeInExplore {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== SERVICE SELECTION POPUP ===== */
.service-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    touch-action: pan-y;
}

.service-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-popup-content {
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 800px;
    width: 90%;
    margin: auto;
    position: relative;
    animation: popupSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(139, 21, 56, 0.4),
                0 0 60px rgba(139, 21, 56, 0.1);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(139, 21, 56, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.popup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.popup-header h2 {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-option-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(139, 21, 56, 0.3);
    border-radius: 16px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.service-option-card:hover::before {
    left: 0;
    opacity: 0.05;
}

.service-option-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(139, 21, 56, 0.4);
}

.service-option-card > * {
    position: relative;
    z-index: 1;
}

.service-option-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 1rem;
    transition: all 0.4s ease;
}

.service-option-card:hover .service-option-icon {
    transform: rotateY(360deg) scale(1.15);
}

.service-option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.service-option-card > p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.2rem;
    text-align: left;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.service-features i {
    color: var(--primary-color);
    font-size: 1rem;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.3);
    width: 100%;
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 21, 56, 0.5);
}

.service-btn:active {
    transform: translateY(-1px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .division-cards {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        height: 400px;
    }
    
    .stats-circle {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.95);
        padding: 2rem;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .division-card {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .division-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .circle-stat h3 {
        font-size: 3rem;
    }
    
    .floating-badge {
        display: none;
    }

    .service-popup-content {
        padding: 2rem;
        border-radius: 20px;
    }

    .popup-header h2 {
        font-size: 2rem;
    }

    .service-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .explore-text {
        font-size: 2rem;
    }

    .popup-close {
        width: 40px;
        height: 40px;
        top: 1rem;
        right: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .division-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info-inline {
        flex-direction: column;
        gap: 1.5rem;
    }

    .service-popup-content {
        padding: 1.5rem;
        width: 95%;
    }

    .popup-header h2 {
        font-size: 1.5rem;
    }

    .explore-text {
        font-size: 1.5rem;
    }

    .service-option-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .service-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
/* ===== ADDITIONAL MOBILE BUTTON FIXES ===== */
@media (max-width: 768px) {
    .btn-large {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons button {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-buttons button {
        width: 100% !important;
    }
    
    .service-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .hero-buttons button,
    .cta-buttons button {
        width: 100%;
        margin: 0;
    }
}


/* Ensure smooth scrolling on all elements */
html {
    scroll-behavior: smooth;
    -webkit-user-select: none;
    user-select: none;
}

/* Allow text selection on text elements */
p, span, li, a, button, input, textarea {
    -webkit-user-select: text;
    user-select: text;
}

/* ===== MOBILE RESPONSIVE POPUP FIXES ===== */

@media (max-width: 768px) {
    .service-popup-content {
        width: 95%;
        max-width: 500px;
        padding: 1.8rem;
        border-radius: 16px;
    }

    .popup-header h2 {
        font-size: 1.6rem;
    }

    .popup-header p {
        font-size: 0.85rem;
    }

    .service-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-option-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .service-option-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .service-option-card h3 {
        font-size: 1.3rem;
    }

    .service-option-card > p {
        font-size: 0.85rem;
    }

    .service-features li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    .service-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .popup-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .service-popup-content {
        width: 98%;
        max-width: 100%;
        padding: 1.5rem;
        border-radius: 12px;
    }

    .popup-header {
        margin-bottom: 1.5rem;
    }

    .popup-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .popup-header p {
        font-size: 0.8rem;
    }

    .service-options {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .service-option-card {
        padding: 1.2rem;
        border-radius: 10px;
        border: 1.5px solid rgba(139, 21, 56, 0.3);
    }

    .service-option-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .service-option-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .service-option-card > p {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .service-features {
        margin-bottom: 0.8rem;
    }

    .service-features li {
        font-size: 0.75rem;
        padding: 0.2rem 0;
        gap: 0.4rem;
    }

    .service-features i {
        font-size: 0.8rem;
    }

    .service-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        width: 100%;
        border-radius: 40px;
    }

    .popup-close {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        top: 0.8rem;
        right: 0.8rem;
    }

    .popup-close:hover {
        transform: rotate(90deg) scale(1.1);
    }

    /* Ensure popup doesn't go below viewport */
    .service-popup-overlay {
        align-items: flex-start;
        padding-top: 10vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 360px) {
    .service-popup-content {
        padding: 1.2rem;
    }

    .popup-header h2 {
        font-size: 1.2rem;
    }

    .service-option-card {
        padding: 1rem;
    }

    .service-option-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .service-option-card h3 {
        font-size: 1rem;
    }

    .service-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}
/* ===== PREVENT BODY SCROLL WHEN POPUP IS ACTIVE ===== */
body.popup-active,
html.popup-active {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* ===== MOBILE TOUCH SCROLLING FIX ===== */
@media (max-width: 768px) {
    .service-popup-overlay {
        /* Ensure touch scrolling works on mobile */
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain;
    }
    
    .service-popup-content {
        /* Make content scrollable on mobile if needed */
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}