/* ==========================================================================
   Base & Variables
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --bg-color: #050a14;
    --bg-secondary: #0c1527;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;

    /* Accents */
    --accent-blue: #45df7f;
    --accent-blue-dark: #45df7f;
    --accent-neon: #00f0ff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-blue-dark), var(--accent-blue));
    --gradient-text: linear-gradient(to right, #00d2ff, #00d2ff);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-main: 'Poppins', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

.logo-img {
    max-width: 100px;
    /* Adjust the width of the logo */
    height: auto;
    /* Maintain aspect ratio */
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.flex {
    display: flex;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
}

/* My Utilities */
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gap-10 {
    gap: 10px;
}

.gap-15 {
    gap: 15px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.gap-40 {
    gap: 40px;
}

.gap-50 {
    gap: 50px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.p-0 {
    padding: 0 !important;
}

.px-40 {
    padding-left: 40px;
    padding-right: 40px;
}

.py-15 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.d-none-mobile {
    display: block;
}

.display-block {
    display: block;
}

.w-100 {
    width: 100%;
}

.max-w-700 {
    max-width: 700px;
}

.basis-50 {
    flex-basis: 50%;
}

.font-lg {
    font-size: 1.1rem;
}

.font-2x {
    font-size: 2rem;
}

.font-3x {
    font-size: 3rem;
}

.bold {
    font-weight: bold;
}

.text-xs {
    font-size: 0.8rem;
}

.text-sm {
    font-size: 0.9rem;
}

.text-center {
    text-align: center;
}

.wrap-reverse {
    flex-wrap: wrap-reverse;
}

.align-center {
    align-items: center;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.overflow-hidden {
    overflow: hidden;
}


/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    z-index: -1;
    transition: opacity var(--transition-normal);
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--accent-blue);
}

.btn-outline:hover {
    background: rgba(0, 210, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.2);
    transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Home Page Specifics */
.hero {
    min-height: 100vh;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
}


.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 210, 255, 0.15);
    top: -100px;
    right: -100px;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: rgba(251, 191, 71, 0.1);
    bottom: 10%;
    left: -50px;
}

.floating-badge {
    bottom: -20px;
    left: -20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(12, 21, 39, 0.9);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    background: rgba(5, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

header.scrolled {
    padding: 10px 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-dot {
    color: var(--accent-neon);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-blue);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.mobile-back-btn {
    display: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.mobile-back-btn:hover {
    color: var(--accent-blue);
    transform: translateX(-3px);
}

.hamburger {
    width: 30px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background: #fff;
    transition: var(--transition-normal);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #03060c;
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-widget h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-blue);
}

.footer-widget p {
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade-in {
    transform: translateY(0);
    opacity: 0;
}

.reveal.fade-in.active {
    opacity: 1;
}

.reveal.left {
    transform: translateX(-50px);
}

.reveal.left.active {
    transform: translateX(0);
}

.reveal.right {
    transform: translateX(50px);
}

.reveal.right.active {
    transform: translateX(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   Dropdown Menu
   ========================================================================== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-blue);
    padding-left: 25px;
}

/* ==========================================================================
   Image Slider (Featured Projects)
   ========================================================================== */
.img-slider-container {
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
}

.img-slider-track {
    height: 100%;
    transition: transform var(--transition-slow);
}

.img-slide {
    min-width: 100%;
    height: 100%;
}

.img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 10, 20, 0.9) 0%, rgba(5, 10, 20, 0.6) 50%, rgba(5, 10, 20, 0.3) 100%);
    padding: 0;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all var(--transition-slow);
}

.img-slide.active .img-slide-overlay {
    opacity: 1;
}

.img-slide-overlay h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;

}

.img-slide-overlay p {
    color: #eee;
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.img-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition-normal);
}

.img-slider-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.prev-img-btn {
    left: 20px;
}

.next-img-btn {
    right: 20px;
}

.img-slider-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 30;
    /* Keep above slides */
}

.img-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.img-slider-dots .dot.active {
    background: var(--accent-blue);
    width: 30px;
    border-radius: 10px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .basis-50 {
        flex-basis: 100%;
    }

    .wrap-reverse {
        flex-direction: column-reverse;
    }

    .hero {
        min-height: 80vh;
        padding-top: 120px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 10, 20, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        border: none;
        background: transparent;
        display: none;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 0 10px 20px;
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }

    .mobile-back-btn {
        display: block;
    }

    header .btn {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .gap-50 {
        gap: 30px;
    }

    .hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .d-none-mobile {
        display: none !important;
    }

    .px-40 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .why-content {
        text-align: center;
    }

    .why-content ul {
        text-align: left;
    }

    .floating-badge {
        bottom: 10px;
        left: 5%;
        right: 5%;
        width: 90%;
        justify-content: center;
    }

    .img-slider-container {
        height: 100vh;
    }

    .img-slide-overlay h1 {
        font-size: 2.2rem;
    }

    .img-slide-overlay p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.7);
    color: #ffffff;
}
