:root {
    --primary-color: #00f2fe;
    --secondary-color: #4facfe;
    --accent-color: #ff0080;
    --bg-dark: #0f0c29;
    --text-color: #ffffff;
    --card-bg: #1e1b4b;
    --card-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    /* Theme-aware extras */
    --header-bg: rgba(15, 12, 41, 0.85);
    --contact-bg: #16123a;
    --form-input-bg: #0f0c29;
    --form-input-border: #302b63;
    --modal-bg: #1e1b4b;
    --footer-color: rgba(255, 255, 255, 0.6);
    --footer-border: rgba(255, 255, 255, 0.1);
}

/* ── LIGHT THEME ──────────────────────────────────────────── */
[data-theme="light"] {
    --primary-color: #0080cc;
    --secondary-color: #005fa3;
    --accent-color: #e0006e;
    --bg-dark: #f0f4ff;
    --text-color: #1a1a2e;
    --card-bg: #ffffff;
    --card-border: rgba(0, 128, 204, 0.15);
    --header-bg: rgba(255, 255, 255, 0.9);
    --contact-bg: #e8edf9;
    --form-input-bg: #ffffff;
    --form-input-border: #a0b4cc;
    --modal-bg: #ffffff;
    --footer-color: rgba(26, 26, 46, 0.6);
    --footer-border: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .background-animation {
    background: radial-gradient(circle at center, #d6e4ff 0%, #f0f4ff 100%);
}

[data-theme="light"] .blob-1 {
    background: linear-gradient(to right, #ff80bf, #c084fc);
    opacity: 0.25;
}

[data-theme="light"] .blob-2 {
    background: linear-gradient(to left, #7dd3fc, #93c5fd);
    opacity: 0.25;
}

[data-theme="light"] .blob-3 {
    background: #fde68a;
    opacity: 0.2;
}

[data-theme="light"] .arz-bg-text {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .glitch-text::before {
    color: #0080cc;
}

[data-theme="light"] .glitch-text::after {
    color: #e0006e;
}

[data-theme="light"] .service-card {
    box-shadow: 0 8px 24px rgba(0, 128, 204, 0.12);
}

[data-theme="light"] .contact-info p {
    background: rgba(0, 128, 204, 0.07);
}

[data-theme="light"] .contact-info p:hover {
    background: rgba(0, 128, 204, 0.14);
}

[data-theme="light"] .contact-info a {
    color: var(--text-color);
}

[data-theme="light"] #contact-form input,
[data-theme="light"] #contact-form textarea {
    color: var(--text-color);
    background: var(--form-input-bg);
    border-color: var(--form-input-border);
}

[data-theme="light"] .service-card h3 {
    color: #1a1a2e;
}

[data-theme="light"] .service-card p {
    color: #555577;
}

[data-theme="light"] .hero-content p {
    color: #2a2a4a;
}

[data-theme="light"] .subtitle {
    color: var(--secondary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #201b5e 0%, #0f0c29 100%);
}

.blob {
    position: absolute;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
    border-radius: 50%;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(to right, #ff0080, #7928ca);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(to left, #00f2fe, #4facfe);
    animation-delay: -2s;
}

.blob-3 {
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: #ffcc00;
    transform: translate(-50%, -50%);
    animation-delay: -4s;
    filter: blur(80px);
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Watermark & Glitch Container */
.hero-text-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.arz-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    font-weight: 900;
    z-index: -1;
    pointer-events: none;
    letter-spacing: 20px;
    font-family: var(--font-heading);
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(2px);
    animation: pulseBg 6s ease-in-out infinite alternate;
}

@keyframes pulseBg {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.03;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.06;
    }
}

/* Glitch Text Effect - Enhanced & Cleaned */
.glitch-text {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ff0080, #ffcc00, #00f2fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background: transparent;
}

.glitch-text::before {
    color: #0ff;
    z-index: -1;
    animation: glitch-vibrate 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    color: #f0f;
    z-index: -2;
    animation: glitch-vibrate 2s infinite linear alternate-reverse;
}

@keyframes glitch-vibrate {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Main Container - Removed Glass Effect */
.main-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    background: var(--header-bg);
    border-radius: 50px;
    border: 1px solid var(--card-border);
    position: sticky;
    top: 20px;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: background 0.4s ease, border-color 0.4s ease;
}

/* Nav sits between logo and theme pill */
nav {
    display: flex;
    align-items: center;
}



.logo h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-btn {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 10px 25px;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-btn:hover {
    color: #000;
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Glitch Text Removed Duplicate */
.glitch-text-placeholder {
    display: none;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--accent-color), #ff5e62);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(255, 0, 128, 0.6);
    background: transparent;
    border-color: var(--accent-color);
}

/* Services Section */
.services-section {
    padding: 4rem 0;
}

.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

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

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Colorful Gradient Border Effect */
.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), #ffcc00);
    z-index: -1;
    border-radius: 20px;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.4s;
}

.service-card:hover .card-icon-wrapper {
    background: var(--primary-color);
    color: #000;
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: bold;
    text-transform: uppercase;
}

/* Student Zone */
.student-zone {
    margin-top: 5rem;
    text-align: center;
}

.student-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: transparent;
    border: 3px solid #ffcc00;
    color: #ffcc00;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.student-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffcc00;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.student-btn:hover::before {
    transform: translateX(0);
}

.student-btn:hover {
    color: #000;
    box-shadow: 0 0 30px #ffcc00;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--contact-bg);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--card-border);
    transition: background 0.4s ease;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.contact-info p:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.contact-info i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--form-input-bg);
    border: 2px solid var(--form-input-border);
    border-radius: 10px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
}

.modal-content {
    background: var(--modal-bg);
    margin: auto;
    padding: 0;
    border: 2px solid var(--primary-color);
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 242, 254, 0.3);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease, background 0.4s ease;
    overflow: hidden;
}

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

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #fff;
}

.modal-header {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    padding: 2rem;
    text-align: center;
    color: #000;
}

.modal-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.modal-header h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 2rem;
}

.modal-body {
    padding: 2rem;
}

#modal-description {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.detail-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.modal-cta {
    display: block;
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.modal-cta:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Form Validation & Footer */
.required {
    color: var(--accent-color);
    font-weight: bold;
    margin-left: 3px;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
    font-size: 1rem;
    color: var(--footer-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

/* ── THEME SWITCHER — Desktop ─────────────────────────────── */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 5px 8px;
    transition: background 0.4s;
}

.theme-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s, transform 0.2s;
    opacity: 0.55;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
    transform: scale(1.15);
}

.theme-btn.active {
    background: var(--primary-color);
    color: #000;
    opacity: 1;
    box-shadow: 0 0 10px var(--primary-color);
}

/* ── THEME SWITCHER — Mobile ──────────────────────────────── */
.theme-switcher-mobile {
    display: none;
    /* Hidden on desktop */
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding-bottom: 0.25rem;
}

.theme-btn-mobile {
    flex: 1;
    max-width: 110px;
    padding: 8px 10px;
    border-radius: 25px;
    border: 1.5px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0.65;
    transition: background 0.25s, color 0.25s, opacity 0.25s, box-shadow 0.25s;
}

.theme-btn-mobile:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.theme-btn-mobile.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    opacity: 1;
    box-shadow: 0 0 12px var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .glitch-text {
        font-size: 4rem;
    }

    .arz-bg-text {
        font-size: 12rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

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

    .glitch-text {
        font-size: 2.8rem;
    }

    .arz-bg-text {
        font-size: 8rem;
    }

    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 20px;
    }

    nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Hide desktop theme switcher on mobile */
    .theme-switcher {
        display: none;
    }

    /* Show mobile theme switcher */
    .theme-switcher-mobile {
        display: flex;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .watermark-text {
        font-size: 30vw;
    }
}

@media (max-width: 480px) {
    .glitch-text {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}