:root {
    --primary: #2c938c;
    --primary-light: #44b5ad;
    --secondary: #052c30;
    --accent: #f4f0e6;
    --text-main: #f4f0e6;
    --text-light: #a3c2c0;
    --white: #0a3a3e;
    --whatsapp: #25D366;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html, body {
    background-color: var(--secondary);
    background: #052c30; /* Fallback */
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--accent);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: rgba(5, 44, 48, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-centered {
    padding-top: 140px;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
}

.hero-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 44, 48, 0.85) 0%, rgba(5, 44, 48, 0.5) 50%, rgba(5, 44, 48, 0.95) 100%);
    z-index: -1;
}

.hero-text.text-center {
    max-width: 800px;
    margin: 0 auto;
}

.tagline-glow {
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tagline-glow span {
    color: rgba(14, 165, 233, 0.5);
}

.hero-centered h1 {
    font-size: 5rem;
    margin-bottom: 20px;
}

.hero-centered .subtitle {
    font-size: 1.4rem;
}

.hero-showcase {
    position: relative;
    margin-top: 300px;
    display: flex;
    justify-content: center;
}

.main-laptop-img {
    display: none;
}

.glass-cards-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    z-index: 3;
    width: 90%;
    max-width: 1000px;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    padding: 20px;
    text-align: center;
    width: 220px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
}

.glass-card:hover, .glass-card.active-card {
    background: rgba(44, 147, 140, 0.15); /* Transparent teal background */
    border: 1px solid var(--primary);
    color: var(--text-main);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(44, 147, 140, 0.2);
}

.gc-icon {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
    background: rgba(44, 147, 140, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.glass-card:hover .gc-icon, .glass-card.active-card .gc-icon {
    background: var(--primary);
    color: #fff;
}

.glass-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gc-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.3;
    max-width: 160px;
    margin: 0 auto;
}

.glass-card:hover .gc-desc, .glass-card.active-card .gc-desc {
    color: rgba(255, 255, 255, 0.8);
}

.gc-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.gc-dots::before, .gc-dots::after, .gc-dots {
    content: "•••";
    color: var(--text-light);
    letter-spacing: 2px;
}

.glass-card:hover .gc-dots, .glass-card.active-card .gc-dots {
    color: rgba(255,255,255,0.5);
}

.stats-banner {
    margin-top: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-box {
    text-align: center;
    padding: 0 30px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-box:last-child {
    border-right: none;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-box h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 5px;
    font-weight: 600;
}

.stat-box p {
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-box {
    padding-left: 20px;
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    color: var(--secondary);
    border: none;
    padding: 15px 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(44,147,140,0.3);
    font-weight: 600;
}

.btn-glow:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(44,147,140,0.4);
}

.bottom-features {
    text-align: center;
    margin-top: 60px;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 500;
}

.bottom-features .dot {
    color: var(--accent);
    margin: 0 15px;
}

.bottom-features .line {
    color: var(--primary);
    margin: 0 20px;
}

/* Hero Background Animations */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 10s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(44,147,140,0.3) 0%, rgba(18,53,59,0) 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(18,53,59,0.2) 0%, rgba(232,227,217,0) 70%);
    animation-delay: -5s;
}

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background-color: var(--primary);
    color: var(--white);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Old Features Removed */

/* Contact */
.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    border-radius: 30px;
    padding: 60px;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.contact-content h3 {
    color: var(--accent);
    font-size: 1.5rem;
}

.contact-info {
    background: var(--secondary);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-main);
    min-width: 350px;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-card i {
    font-size: 2.5rem;
}

.whatsapp-color { color: var(--whatsapp); }
.mail-color { color: #EA4335; }

.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-card h4 a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-card h4 a:hover {
    color: var(--accent);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links a {
    color: var(--primary);
    font-size: 20px;
    margin-left: 15px;
    transition: var(--transition);
}

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

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

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

/* Responsive */
@media (max-width: 992px) {
    .hero-centered h1 { font-size: 3.5rem; }
    .contact-container { flex-direction: column; gap: 40px; text-align: center; }
    .stats-banner { padding: 30px 20px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn { display: block; }
    
    .hero-centered {
        padding-top: 100px;
    }
    
    .hero-centered h1 { font-size: 2.5rem; }
    
    .glass-cards-wrapper {
        position: relative;
        bottom: 0;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        margin-top: -20px;
        gap: 15px;
        justify-content: center;
    }
    
    .glass-card {
        width: calc(50% - 10px);
        height: auto;
        aspect-ratio: 1;
        min-width: unset;
        flex: 0 0 calc(50% - 10px);
        padding: 15px 10px;
    }
    
    .glass-card h4 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    
    .gc-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .gc-desc {
        font-size: 0.7rem;
        max-width: 120px;
    }
    
    .stats-banner {
        flex-direction: column;
        border-radius: 30px;
        padding: 30px;
        gap: 0;
        margin-top: 50px;
    }
    
    .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding: 20px 0;
        width: 100%;
    }
    
    .cta-box {
        border-bottom: none;
        padding: 20px 0 0;
    }
    
    .bottom-features {
        font-size: 1rem;
    }
    
    .contact-info { min-width: 100%; }
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    width: 100%;
    max-width: 450px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(244, 240, 230, 0.65);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-status {
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    color: #25D366;
    display: block;
}

.form-status.error {
    color: #EA4335;
    display: block;
}

@media (max-width: 768px) {
    .contact-form {
        margin-left: auto;
        margin-right: auto;
    }
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(5, 44, 48, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    width: 80%;
    max-width: 600px;
    color: var(--text-main);
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: modalFade 0.3s ease-out;
}

@keyframes modalFade {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    color: var(--text-light);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-body {
    margin-top: 20px;
}

.modal-body h3 {
    color: var(--primary);
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.modal-body p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ==========================================
   Multi-page Navigation & Subpage styling
   ========================================== */

.nav-links a.active {
    color: var(--primary) !important;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Subpage Hero */
.subpage-hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, rgba(5, 44, 48, 0.95) 0%, rgba(10, 58, 62, 0.9) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.subpage-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.subpage-hero p.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Detailed layout */
.service-detail-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-detail-section:last-of-type {
    border-bottom: none;
}

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

.service-detail-row.reverse {
    flex-direction: row-reverse;
}

.service-detail-col {
    flex: 1;
}

.service-detail-image-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    aspect-ratio: 16/10;
}

.service-detail-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-stack-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tech-badge {
    background: rgba(44, 147, 140, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(44, 147, 140, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-features-list {
    list-style: none;
    margin: 20px 0;
}

.service-features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
}

.service-features-list li i {
    color: var(--primary);
    font-size: 14px;
}

/* About/Process Timeline */
.timeline-section {
    background: rgba(5, 44, 48, 0.5);
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 850px;
    margin: 60px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(44, 147, 140, 0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

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

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

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -9px;
}

.timeline-content {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.value-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.value-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--accent);
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Founder Developer Card */
.developer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.dev-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    object-fit: cover;
}

.dev-info {
    flex: 1;
}

.dev-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.dev-info .dev-title {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.dev-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.dev-socials {
    display: flex;
    gap: 20px;
}

.dev-socials a {
    color: var(--text-light);
    font-size: 1.4rem;
    transition: var(--transition);
}

.dev-socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* FAQ Accordion */
.faq-section {
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 80px;
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 22px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(44, 147, 140, 0.05);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 30px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--primary);
    background: rgba(44, 147, 140, 0.04);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 22px;
}

.faq-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Generic Subpage Layout */
.subpage-container {
    padding: 80px 0;
}

/* Responsive Media Queries for Subpages */
@media (max-width: 992px) {
    .service-detail-row {
        flex-direction: column !important;
        gap: 40px;
    }
    .service-detail-col {
        width: 100%;
    }
    .developer-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .dev-socials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .subpage-hero h1 {
        font-size: 2.5rem;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    .timeline-item::after {
        left: 22px;
    }
    .timeline-item.right {
        left: 0;
    }
}

/* ==========================================
   Full Stack Animated Upgrade Transitions
   ========================================== */

/* Smooth Page Entry Animation */
body {
    animation: pageFadeIn 0.8s ease-out forwards;
}

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

/* Animated Ambient Mesh Blobs */
.ambient-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.ambient-blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.35; /* Much more pronounced glow */
    border-radius: 50%;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.ab-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(44, 147, 140, 0) 70%);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.ab-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(68, 181, 173, 0) 70%);
    bottom: -15%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.ab-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #145a55 0%, rgba(20, 90, 85, 0) 70%);
    top: 35%;
    left: 45%;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(100px, 120px) scale(1.15) rotate(180deg); }
    100% { transform: translate(-80px, 60px) scale(0.9) rotate(360deg); }
}

/* Floating Animation Utility */
.float-animation {
    animation: floatingEffect 5s ease-in-out infinite;
}

@keyframes floatingEffect {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Card Tilt Transitions */
.tilt-card {
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

/* Input field focus glow & outline animations */
.contact-form input, .contact-form textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    box-shadow: 0 0 15px rgba(68, 181, 173, 0.25);
    border-color: var(--primary-light) !important;
}

/* Pulsating Animation for status dot or icon active states */
@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0 rgba(44, 147, 140, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(44, 147, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(44, 147, 140, 0); }
}

.pulsate-icon {
    animation: statusPulse 2s infinite;
}
