/* ==================== Base Typography & Theme Colors ==================== */
:root {
    --primary: #2E6D93;
    --primary-dark: #1B4965;
    --accent: #2ECC71;
    --dark-bg: #0b192c;
    --card-bg: #112238;
    --text-light: #ffffff;
    --text-muted: #ffffff;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, .hero-title {
    font-family: 'Skolar', serif;
}

/* ==================== Shared Heading Styles ==================== */
.section-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(46, 204, 113, 0.15);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid rgba(46, 204, 113, 0.35);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.section-title span {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc, .section-subtitle {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
}

/* ==================== Navbar Styling & Animation ==================== */
.custom-navbar {
    background-color: var(--dark-bg);
    padding: 16px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15); 
    transition: all 0.3s ease-in-out;
    animation: slideDownNavbar 0.8s ease-out forwards;
}

@keyframes slideDownNavbar {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-nav .nav-link {
    font-family: 'Skolar', serif;
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    padding: 6px 10px !important;
    background-color: transparent !important;
    transition: color 0.25s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-light) !important;
    background-color: transparent !important;
}

.navbar-toggler {
    background-color: transparent;
}

.navbar-toggler-icon {
    filter: invert(1) grayscale(100%) brightness(200%);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark-bg);
        padding: 10px 15px 20px 15px;
        margin-top: 12px;
        border: none !important;    
        box-shadow: none !important;  
    }
    
    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        text-align: center;           
    }
}

/* ==================== Hero Section with Animations ==================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0;
    animation: heroZoomIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroZoomIn {
    from { transform: scale(1.1); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 25, 44, 0.82); 
    z-index: 1;
    animation: fadeInOverlay 1.2s ease-out forwards;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-section .container {
    z-index: 2;
}

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

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0; 
}

.hero-desc {
    font-family: 'IBM Plex Sans', sans-serif;
    color: #e2e8f0;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 25px auto; 
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.custom-hero-btn {
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.custom-hero-btn:hover {
    background-color: var(--text-light);
    color: var(--dark-bg);
    border-color: var(--text-light);
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15); 
}

/* ==================== Why Choose Us Section ==================== */
.why-us-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 10px;
    transition: all 0.35s ease-in-out;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    padding: 30px;
    height: 100%;
}

.col-md-4:nth-child(1) .feature-card { animation-delay: 0.4s; }
.col-md-4:nth-child(2) .feature-card { animation-delay: 0.6s; }
.col-md-4:nth-child(3) .feature-card { animation-delay: 0.8s; }

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(46, 204, 113, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.icon-box {
    width: 65px;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px;
}

.feature-card:hover .icon-box {
    background-color: var(--accent);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.feature-title {
    font-family: 'Skolar', serif;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-text {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ==================== Services Section ==================== */
.services-section {
    background: var(--dark-bg);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    border: 1px solid rgba(46, 204, 113, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(46, 204, 113, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.2);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    transform: rotate(-8deg) scale(1.08);
}

.service-card h3 {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    color: var(--text-light);
    gap: 12px;
}

/* ==================== Projects Preview Section ==================== */
.projects-preview-section {
    background: var(--dark-bg);
    padding: 90px 0;
}

.preview-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: var(--card-bg);
    border: 1px solid rgba(46, 204, 113, 0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.preview-card:hover {
    transform: translateY(-8px);
    border-color: rgba(46, 204, 113, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.preview-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.preview-card:hover .preview-img-wrap img {
    transform: scale(1.08);
}

.preview-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 25, 44, 0.9);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.preview-body {
    padding: 22px;
}

.preview-body h4 {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.preview-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.preview-cta-wrap {
    text-align: center;
    margin-top: 50px;
}

.preview-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 32px;
    border-radius: 50px;
    border: 1px solid var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.preview-cta-btn:hover {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.3);
}

/* ==================== CTA Section (Original Restored Style) ==================== */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--dark-bg) 55%, var(--dark-bg) 100%);
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 160px solid transparent;
    border-bottom: 160px solid transparent;
    border-left: 220px solid rgba(46, 204, 113, 0.08);
    z-index: 0;
}

.cta-section::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 90px solid transparent;
    border-bottom: 90px solid transparent;
    border-left: 130px solid rgba(46, 204, 113, 0.12);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(46, 204, 113, 0.15);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
    border: 1px solid rgba(46, 204, 113, 0.35);
}

.cta-text h2 {
    color: var(--text-light);
    font-weight: 800;
    font-size: 2.3rem;
    max-width: 600px;
    margin-bottom: 14px;
    line-height: 1.25;
}

.cta-text h2 span {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.25);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(46, 204, 113, 0.4);
    color: #fff;
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

@media (max-width: 767px) {
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .cta-text h2 {
        font-size: 1.8rem;
        max-width: 100%;
    }

    .cta-text p {
        max-width: 100%;
    }

    .cta-actions {
        justify-content: center;
    }
}

/* ==================== Footer Section Styling ==================== */
.footer-section {
    background-color: #050b14; 
    color: var(--text-light); 
    padding: 60px 0 20px 0;
    font-family: 'IBM Plex Sans', sans-serif;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    margin-top: 50px;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted); 
    margin-bottom: 20px;
}

.footer-heading {
    font-family: 'Skolar', serif;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.footer-links, .footer-contact, .footer-bottom-links {
    padding-left: 0;
    list-style: none;
}

.footer-links li, .footer-bottom-links li, .footer-contact li {
    margin-bottom: 10px;
}

.footer-links a, .footer-contact a, .footer-contact span {
    color: var(--text-light); 
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease-in-out;
}


.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px; 
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease-in-out;
}
/* Change the color of the labels (Email:, Phone:, Location:) */
.footer-contact .text-muted {
    color: #94a3b8; 
}

/* Change the color of the text values */
.footer-contact li {
    color: #ffffff; 
}
.social-icon:hover {
    background-color: var(--accent);
    color: var(--dark-bg);
    transform: translateY(-3px);
    border-color: var(--accent);
}

.footer-divider {
    border-color: rgba(148, 163, 184, 0.15);
    margin: 30px 0 20px 0;
}

.copyright-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: left;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    font-size: 0.9rem;
}


@media (min-width: 768px) {
    .footer-bottom-links {
        justify-content: flex-end;
    }
}
.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

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

/* ==================== Floating WhatsApp Button ==================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; 
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #20ba5a;
    color: #ffffff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}


@keyframes pulse-whatsapp {
    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); }
}
/* ==================== Smooth Transitions & Modern Effects ==================== */

/* 1. General Card & Element Transitions */
.service-card, 
.preview-card, 
.feature-card, 
.process-step, 
.vision-feature, 
.theme-toggle {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease,
                background-color 0.4s ease,
                color 0.4s ease !important;
}

/* 2. Staggered Entry Animations for Sections */
.services-section .service-card,
.process-section .process-step,
.projects-preview-section .preview-card {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger Delays for Grid Items */
.services-section .col-lg-4:nth-child(1) .service-card,
.process-section .col-lg-3:nth-child(1) .process-step { animation-delay: 0.2s; }

.services-section .col-lg-4:nth-child(2) .service-card,
.process-section .col-lg-3:nth-child(2) .process-step { animation-delay: 0.35s; }

.services-section .col-lg-4:nth-child(3) .service-card,
.process-section .col-lg-3:nth-child(3) .process-step { animation-delay: 0.5s; }

.process-section .col-lg-3:nth-child(4) .process-step { animation-delay: 0.65s; }

/* Keyframes for Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}