@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Dark Mode Palette based on logo analysis */
    --bg-dark: #000204;
    --bg-darker: #040505;
    --bg-card: rgba(16, 83, 141, 0.05);

    --primary-blue: #196da4;
    --primary-blue-hover: #237eb3;
    --accent-cyan: #00e5ff;
    --accent-orange: #ff8c00;
    /* Subtle orange from logo */

    --text-white: #ffffff;
    --text-gray: #a0aec0;

    --border-subtle: rgba(25, 109, 164, 0.2);
    --glow-primary: 0 0 20px rgba(25, 109, 164, 0.4);
    --glow-accent: 0 0 15px rgba(0, 229, 255, 0.5);
    --glow-orange: 0 0 15px rgba(255, 140, 0, 0.5);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background: url('bg3.png') no-repeat top center fixed;
    background-size: cover;
}

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

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-cyan));
    border: none;
    color: var(--text-white);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(35, 126, 179, 0.6);
}

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

.btn-outline:hover {
    background: rgba(25, 109, 164, 0.1);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-accent);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all var(--transition-normal);
    background: transparent;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    padding: 0.8rem 5%;
    background: transparent;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    font-family: 'Outfit', sans-serif;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 150px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    font-family: 'Outfit', sans-serif;
    gap: 2rem;
    padding-right: 3rem;
}

.nav-links a:not(.btn) {
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    background: linear-gradient(to right, var(--accent-cyan) 50%, var(--text-white) 50%);
    background-size: 200% 100%;
    background-position: 100% 0%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-position 0.4s ease;
}

.nav-links a:not(.btn):hover,
.nav-links .dropdown:hover .dropdown-header a {
    background-position: 0% 0%;
}

.nav-links a:not(.btn).active {
    background: var(--accent-cyan);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

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

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.dropdown-toggle {
    display: flex !important;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(14, 14, 14, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    min-width: 220px;
    flex-direction: column;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    margin-top: 1rem;
}

/* Invisible bridge so hover doesn't break */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1rem;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    animation: fadeInDropdown 0.3s ease;
}

.dropdown-menu a:not(.btn) {
    padding: 0.8rem 1.5rem !important;
    font-size: 1rem !important;
    display: block !important;
    color: var(--text-gray) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: none !important;
}

.dropdown-menu a:not(.btn)::after {
    display: none !important;
}

.dropdown-menu a:not(.btn):hover {
    color: var(--text-white) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    text-shadow: none !important;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background: #080808;
    border-top: 1px solid rgba(0, 229, 255, 0.5);
    /* subtle cyan border */
    position: relative;
    padding: 4rem 0 2rem;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    color: var(--text-white);
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

.footer-col p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
    transition: transform var(--transition-fast);
}

.footer-col ul li:hover {
    transform: translateX(5px);
}

.footer-col ul li a {
    color: var(--text-gray);
    transition: color var(--transition-fast);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--text-white);
}

.contact-col {
    margin-top: 0;
}

.contact-col ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.contact-col ul li:hover {
    transform: none;
}

.contact-col i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: transparent;
    color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-normal);
    font-size: 0.9rem;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .dropdown-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-dropdown-toggle {
        padding: 0.5rem;
        cursor: pointer;
        color: var(--accent-cyan);
    }

    .section-padding {
        padding: 3rem 0;
    }

    .logo img {
        height: 50px;
    }

    .logo span {
        font-size: 1.1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(4, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 6rem 2rem;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--border-subtle);
        z-index: 2000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a:not(.btn) {
        font-size: 1.2rem;
        width: 100%;
        text-align: left;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Mobile Dropdown Fix */
    .dropdown {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        height: auto;
    }

    .dropdown-menu {
        position: static;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--accent-cyan);
        margin-left: 0.5rem;
        width: calc(100% - 0.5rem);
        display: flex;
        flex-direction: column;
        text-align: left;
        padding: 0 0 0 0.9rem;
        margin-top: 0;
        border-radius: 0 0 0 4px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-6px);
        transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease, padding 0.22s ease;
    }

    .dropdown.mobile-active .dropdown-menu {
        max-height: 260px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 0.5rem;
        padding: 0.5rem 0 0.5rem 0.9rem;
    }

    .dropdown-menu a {
        font-size: 0.95rem !important;
        padding: 0.6rem 0 !important;
        opacity: 0.8;
        border-bottom: none !important;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 2001;
    }

    /* Hero Responsive */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* =========================================================================
   Home Page Specific Styles
   ========================================================================= */

/* Hero Section */
.hero-section {
    padding: 10rem 0 5rem;
    background: transparent;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.floating {
    animation: float 6s ease-in-out infinite;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-subtle);
    width: 100%;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Services Preview */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--glow-primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--accent-cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.learn-more:hover {
    color: var(--text-white);
}

.learn-more i {
    transition: transform var(--transition-fast);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Split Layout (Why Choose Us) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .split-image {
        order: -1;
    }

    .split-image img {
        width: 100%;
    }
}

.check-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.check-list i {
    margin-top: 0.2rem;
}

/* CTA Section */
.cta-box {
    background: linear-gradient(135deg, rgba(25, 109, 164, 0.1), rgba(0, 229, 255, 0.05));
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    padding: 4rem 2rem;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5), var(--glow-primary);
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

/* Packages Grid for Services Page */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.package-card {
    background: rgba(10, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-top: 4px solid var(--primary-blue);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.pkg-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.pkg-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pkg-header h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.pkg-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkg-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-white);
    font-size: 0.95rem;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

/* Brief Services Grid Styles */
.brief-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .brief-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .brief-services-grid {
        grid-template-columns: 1fr;
    }
}

.brief-service-card {
    background: linear-gradient(135deg, rgba(8, 32, 60, 0.95), rgba(4, 18, 35, 0.95));
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.brief-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 204, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 204, 255, 0.2);
}

.brief-service-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.brief-icon {
    font-size: 3.5rem;
    color: #e0f7ff;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 204, 255, 0.5));
}

.brief-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.brief-service-card ul li {
    color: #f0f0f0;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brief-service-card ul li i {
    color: #8beaff;
    font-size: 0.4rem;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.8rem;
}

.mobile-dropdown-toggle {
    padding: 0.5rem;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.dropdown.mobile-active .mobile-dropdown-toggle {
    transform: rotate(180deg);
}

@media (min-width: 769px) {
    .mobile-dropdown-toggle {
        display: none;
    }

    .dropdown-header a::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.7em;
        margin-left: 5px;
    }
}
