:root {
    --primary-color: #0a192f; /* Deep Navy */
    --secondary-color: #112240; /* Lighter Navy */
    --accent-color: #64ffda; /* Cyan/Teal */
    --text-primary: #ccd6f6; /* Light Gray */
    --text-secondary: #8892b0; /* Slate */
    --white: #e6f1ff;
    --transition: all 0.3s ease-in-out;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 600;
}

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 14px;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
}

.btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #4cdbb9;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), #2a9d8f);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.4);
    transition: var(--transition);
}

.logo-container:hover .logo-box {
    transform: rotate(45deg);
}

.logo-container:hover .logo-box i,
.logo-container:hover .logo-box canvas {
    transform: rotate(-45deg);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

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

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-primary);
    position: relative;
}

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

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

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--accent-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Centered for the slider layout */
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Vanta Canvas Fix */
.vanta-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Card Slider Styles */
.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px; /* Increased width significantly */
    margin: 0 auto;
    height: 850px; /* Increased height further */
    perspective: 1000px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-stack {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: absolute;
    width: 100%;
    max-width: 1200px; /* Restored to a wider size */
    min-height: 650px; /* Added min-height for taller cards */
    padding: 100px 50px; /* Increased vertical padding */
    background: rgba(17, 34, 64, 0.9); /* Slightly more opaque for readability */
    backdrop-filter: blur(15px);
    border-radius: 16px;
    overflow: hidden; /* Ensure background image stays inside */
    border: 1px solid rgba(100, 255, 218, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* Default State (Hidden behind) */
    transform: translateX(0) scale(0.7);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

/* Active Card (Center) */
.hero-card.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 10;
    pointer-events: all;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* Previous Card (Visible on Left) */
.hero-card.prev {
    transform: translateX(-65%) scale(0.85) perspective(1000px) rotateY(5deg);
    opacity: 0.4;
    z-index: 5;
    pointer-events: auto;
    filter: blur(2px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-card.prev:hover {
    opacity: 0.8;
    filter: blur(0px);
    transform: translateX(-60%) scale(0.9) perspective(1000px) rotateY(5deg);
}

/* Next Card (Visible on Right) */
.hero-card.next {
    transform: translateX(65%) scale(0.85) perspective(1000px) rotateY(-5deg);
    opacity: 0.4;
    z-index: 5;
    pointer-events: auto;
    filter: blur(2px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-card.next:hover {
    opacity: 0.8;
    filter: blur(0px);
    transform: translateX(60%) scale(0.9) perspective(1000px) rotateY(-5deg);
}

/* Hidden Cards (Center Back) */
.hero-card.hidden {
    transform: translateX(0) scale(0.5);
    opacity: 0;
    z-index: 0;
}

.card-content-inner h2 {
    font-size: 3rem; /* Larger heading */
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.2;
}

.card-content-inner p {
    font-size: 1.3rem; /* Larger text */
    color: var(--text-primary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.card-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--text-primary);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 14px;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.card-badge {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

/* Interaction Hint Animation */
.interaction-hint {
    position: relative;
    margin-top: 20px;
    z-index: 20;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: auto;
    right: auto;
    left: auto;
    transform: none;
}

.hand-icon {
    font-size: 2.5rem;
    color: var(--text-secondary);
    animation: hand-tap 2s infinite ease-in-out;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.click-ripple {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: ripple-expand 2s infinite ease-out;
    z-index: 1;
}

@keyframes hand-tap {
    0%, 100% { transform: scale(1) rotate(0deg); }
    15% { transform: scale(0.85) rotate(-15deg); color: var(--accent-color); } /* Press */
    30% { transform: scale(1) rotate(0deg); color: var(--text-secondary); } /* Release */
}

@keyframes ripple-expand {
    0% { transform: scale(0.5); opacity: 0; }
    15% { transform: scale(0.5); opacity: 1; } /* Sync with tap */
    60% { transform: scale(2); opacity: 0; }
    100% { transform: scale(2); opacity: 0; }
}

/* Responsive Adjustments for Slider */
@media (max-width: 1200px) {
    .hero-slider-container {
        max-width: 95%;
        height: 600px;
    }
    .hero-card {
        max-width: 90%;
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: 600px;
    }
    
    .hero-card {
        padding: 30px 20px;
        max-width: 95%;
    }

    .card-content-inner h2 {
        font-size: 2rem;
    }
    
    .card-content-inner p {
        font-size: 1rem;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--primary-color);
    position: relative;
}

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

.service-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.service-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.service-card {
    background: rgba(17, 34, 64, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 300px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

/* Expanded State (Laptop Mode) */
.service-card.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: 85vw;
    max-width: 1000px;
    height: 80vh;
    z-index: 10000;
    background: #0a192f;
    border: 2px solid #333;
    border-radius: 12px 12px 0 0; /* Top rounded only for screen look */
    box-shadow: 0 0 0 10px #112240, 0 0 50px rgba(0,0,0,0.5); /* Bezel simulation */
    overflow-y: auto;
    cursor: default;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Laptop Base Simulation */
.service-card.expanded::after {
    content: '';
    position: fixed;
    bottom: calc(10% - 20px); /* Adjust based on height/position */
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 1200px;
    height: 20px;
    background: #1c2d4a;
    border-radius: 0 0 20px 20px;
    z-index: 9999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    display: none; /* Hidden by default, shown via JS calculation or simplified CSS */
}

/* Simplified Laptop Base for CSS */
.laptop-base {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1100px;
    height: 82vh; /* Slightly larger than card */
    background: transparent;
    z-index: 9995;
    pointer-events: none;
    display: none;
}

.laptop-base.visible {
    display: block;
}

.laptop-base::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -5%;
    width: 110%;
    height: 30px;
    background: #112240;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.4);
    border-top: 2px solid #233554;
}

/* Expanded Content */
.service-details {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card.expanded .service-details {
    display: block;
    opacity: 1;
}

.service-card.expanded .card-content {
    transform: none !important;
}

.service-card.expanded .service-icon {
    font-size: 5rem;
    margin-bottom: 30px;
}

.service-card.expanded h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-card.expanded p {
    font-size: 1.1rem;
}

.close-service-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

.close-service-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.service-card.expanded .close-service-btn {
    display: flex;
}

.detail-list {
    list-style: none;
    margin-top: 20px;
}

.detail-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.detail-list li i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Responsive Expanded */
@media (max-width: 768px) {
    .service-card.expanded {
        width: 95vw;
        height: 90vh;
        grid-template-columns: 1fr;
        padding: 40px 20px;
        overflow-y: scroll;
    }
    
    .laptop-base {
        display: none !important; /* Hide laptop effect on mobile */
    }
}

.card-content {
    transform: translateZ(20px);
    width: 100%;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) translateZ(30px);
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.6);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--white);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Glow Effect for Buttons */
.glow-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.glow-effect:hover::before {
    left: 100%;
}


/* Why Choose Us */
.why-us {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    margin: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* About Page Specifics */
.about-section {
    padding: 120px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--accent-color);
    border: 4px solid var(--secondary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--secondary-color);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--secondary-color);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--secondary-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--secondary-color) transparent transparent;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--secondary-color);
    position: relative;
    border-radius: 6px;
}

/* Contact Page */
.contact-section {
    padding: 120px 0;
    min-height: 50vh;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 50px 0 20px;
    text-align: center;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    text-align: left;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.social-links a {
    font-size: 1.2rem;
    margin-right: 15px;
    color: var(--text-secondary);
}

.social-links a:hover {
    color: var(--accent-color);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none; /* Implement mobile menu JS later */
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .left::after, .right::after {
        left: 21px;
    }

    .right {
        left: 0%;
    }
    
    .left::before, .right::before {
        left: 60px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--secondary-color) transparent transparent;
    }
}

/* --- Services Page Specific Styles --- */

.services-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1b3a5f 0%, #0a192f 100%);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    animation: bgScroll 100s linear infinite;
}

@keyframes bgScroll {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(10deg); }
}

.service-detail-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.service-detail-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.service-detail-section:nth-child(even) .service-row {
    flex-direction: row-reverse;
}

.service-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glass {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.5s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.service-detail-section:nth-child(even) .visual-glass {
    transform: perspective(1000px) rotateY(-5deg);
}

.visual-glass:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.visual-icon-large {
    font-size: 8rem;
    color: var(--accent-color);
    filter: drop-shadow(0 0 20px rgba(100, 255, 218, 0.3));
    animation: floatIcon 6s ease-in-out infinite;
}

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

.service-info {
    flex: 1;
}

.service-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light-slate);
    position: relative;
    display: inline-block;
}

.service-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.service-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--slate);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.tech-badge {
    padding: 8px 16px;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.feature-list li i {
    color: var(--accent-color);
    margin-right: 10px;
}

@media (max-width: 992px) {
    .service-row {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .service-visual {
        width: 100%;
        height: 300px;
    }
    
    .visual-glass {
        transform: none !important;
    }
}

/* --- About Page Specific Styles --- */

.about-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #0a192f, #112240);
    position: relative;
    overflow: hidden;
}

.about-hero h1 {
    font-size: 4rem;
    background: linear-gradient(to right, #fff, #64ffda);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* Manifesto Section */
.manifesto-section {
    padding: 100px 0;
    position: relative;
}

.manifesto-card {
    background: rgba(17, 34, 64, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    padding: 60px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.manifesto-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 10rem;
    color: rgba(100, 255, 218, 0.05);
    font-family: serif;
}

.manifesto-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--slate);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.manifesto-highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* Creative Timeline */
.timeline-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

/* The vertical line track */
.timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* The filling progress line */
.timeline-progress {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    background: var(--accent-color);
    transform: translateX(-50%);
    border-radius: 2px;
    height: 0; /* Controlled by JS */
    box-shadow: 0 0 15px var(--accent-color);
    transition: height 0.1s linear;
}

.timeline-node {
    position: relative;
    margin-bottom: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-node:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #0a192f;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%) scale(0.8);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-node.active .timeline-dot {
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    transform: translateX(-50%) scale(1.2);
}

.timeline-content-box {
    width: 45%;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.5s ease;
    opacity: 0.5;
    filter: blur(2px);
    transform: scale(0.95);
}

/* Left side specific */
.timeline-node:nth-child(odd) .timeline-content-box {
    margin-right: auto;
    transform-origin: right center;
}

/* Right side specific */
.timeline-node:nth-child(even) .timeline-content-box {
    margin-left: auto;
    transform-origin: left center;
}

.timeline-node.active .timeline-content-box {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    background: rgba(17, 34, 64, 0.9);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.timeline-year {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.timeline-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.timeline-desc {
    color: var(--slate);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline-track, .timeline-progress {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content-box {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .timeline-node {
        flex-direction: row !important; /* Always left aligned on mobile */
    }
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: #0a192f;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.02);
    border-color: var(--accent-color);
}

.value-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}


/* --- Contact Page Masterpiece Styles --- */

.contact-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    position: relative;
}

.contact-masterpiece {
    padding-bottom: 100px;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Left Side: 3D Visual */
.contact-visual {
    position: relative;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.model-canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

.model-canvas:active {
    cursor: grabbing;
}

.visual-text {
    position: absolute;
    bottom: 50px;
    text-align: center;
    pointer-events: none;
}

.visual-text h3 {
    font-size: 2rem;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.visual-text p {
    color: var(--accent-color);
    font-family: monospace;
}

/* Right Side: Glass Form */
.contact-form-wrapper {
    position: relative;
}

.glass-form {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.glass-form:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.glass-form h3 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.glass-form .form-group {
    margin-bottom: 20px;
}

.glass-form label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.glass-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.glass-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.1);
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    font-size: 1.1rem;
}

.direct-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: var(--slate);
    font-size: 0.9rem;
}

.dc-item i {
    color: var(--accent-color);
    margin-right: 8px;
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    min-height: 24px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-visual {
        height: 400px;
    }
    
    .glass-form {
        transform: none;
    }
}


/* --- Contact Page Masterpiece Styles --- */

.contact-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    position: relative;
}

.contact-masterpiece {
    padding-bottom: 100px;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Left Side: 3D Visual */
.contact-visual {
    position: relative;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.model-canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

.model-canvas:active {
    cursor: grabbing;
}

.visual-text {
    position: absolute;
    bottom: 50px;
    text-align: center;
    pointer-events: none;
}

.visual-text h3 {
    font-size: 2rem;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.visual-text p {
    color: var(--accent-color);
    font-family: monospace;
}

/* Right Side: Glass Form */
.contact-form-wrapper {
    position: relative;
}

.glass-form {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.glass-form:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.glass-form h3 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.glass-form .form-group {
    margin-bottom: 20px;
}

.glass-form label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.glass-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.glass-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.1);
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    font-size: 1.1rem;
}

.direct-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: var(--slate);
    font-size: 0.9rem;
}

.dc-item i {
    color: var(--accent-color);
    margin-right: 8px;
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    min-height: 24px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-visual {
        height: 400px;
    }
    
    .glass-form {
        transform: none;
    }
}


/* --- Creative Hero Enhancements --- */

/* Tech Rings Background */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.tech-ring {
    position: absolute;
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 600px;
    height: 600px;
    border-top-color: rgba(100, 255, 218, 0.3);
    border-bottom-color: rgba(100, 255, 218, 0.3);
    animation: spinRight 20s linear infinite;
}

.ring-2 {
    width: 800px;
    height: 800px;
    border-left-color: rgba(100, 255, 218, 0.2);
    border-right-color: rgba(100, 255, 218, 0.2);
    animation: spinLeft 30s linear infinite;
}

@keyframes spinRight {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinLeft {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Floating Code Snippets */
.floating-code {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-code span {
    position: absolute;
    color: rgba(100, 255, 218, 0.1);
    font-family: monospace;
    font-size: 1.5rem;
    animation: floatCode 10s ease-in-out infinite;
}

.floating-code span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-code span:nth-child(2) { top: 60%; right: 15%; animation-delay: 2s; }
.floating-code span:nth-child(3) { bottom: 15%; left: 20%; animation-delay: 4s; }

@keyframes floatCode {
    0%, 100% { transform: translateY(0); opacity: 0.1; }
    50% { transform: translateY(-20px); opacity: 0.3; }
}

/* Holographic Card Effect */
.hero-card {
    /* Override existing background */
    background: rgba(10, 25, 47, 0.7) !important;
    border: 1px solid rgba(100, 255, 218, 0.3) !important;
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.1), inset 0 0 20px rgba(100, 255, 218, 0.05) !important;
    overflow: hidden;
}

.hologram-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(100, 255, 218, 0) 0%,
        rgba(100, 255, 218, 0.1) 50%,
        rgba(100, 255, 218, 0) 100%
    );
    transform: translateY(-100%);
    animation: hologramScan 3s linear infinite;
    pointer-events: none;
}

@keyframes hologramScan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Glitch Text Effect */
.glitch-wrapper {
    position: relative;
    display: inline-block;
}

.glitch-text {
    position: relative;
    color: var(--white);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a192f; /* Match card bg */
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(30px, 9999px, 10px, 0); }
    5% { clip: rect(80px, 9999px, 90px, 0); }
    10% { clip: rect(10px, 9999px, 40px, 0); }
    15% { clip: rect(50px, 9999px, 20px, 0); }
    20% { clip: rect(60px, 9999px, 70px, 0); }
    100% { clip: rect(20px, 9999px, 50px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(10px, 9999px, 80px, 0); }
    5% { clip: rect(40px, 9999px, 10px, 0); }
    10% { clip: rect(90px, 9999px, 30px, 0); }
    15% { clip: rect(20px, 9999px, 60px, 0); }
    20% { clip: rect(70px, 9999px, 20px, 0); }
    100% { clip: rect(50px, 9999px, 90px, 0); }
}


/* Card Background Images */
.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.card-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25; /* Low opacity to keep text readable */
    transition: transform 0.8s ease;
    filter: grayscale(30%); /* Slight grayscale for tech feel */
}

.hero-card:hover .card-bg-img img {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 0.35;
}

.card-content-inner {
    position: relative;
    z-index: 2;
}


@media (max-width: 768px) {
    .interaction-hint {
        margin-top: 15px;
    }
}


/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type='checkbox'] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--accent-color);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
}

.kvkk-link {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.kvkk-link:hover {
    color: var(--white);
}

