@import 'whatsapp.css';
@import 'services-layout.css';
@import 'hero-layout.css';

/* =========================================
   1. VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* Colors */
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #00ffc3;
    /* Bright Teal for buttons/highlights */
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --text-muted: #666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --bg-dark: #12002b;
    /* Very dark purple/black */

    /* Gradients */
    /* The Vibrant Purple-to-Blue Gradient */
    --gradient-main: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --gradient-hero: linear-gradient(135deg, #4c00ff 0%, #8ca6db 100%);
    /* Slightly different for Hero depth */

    /* Spacing */
    --section-padding: 6rem 0;
    --container-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(106, 17, 203, 0.1);
    --shadow-md: 0 10px 15px rgba(106, 17, 203, 0.15);
    --shadow-lg: 0 20px 25px rgba(106, 17, 203, 0.2);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* =========================================
   2. RESET & GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Utility */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    color: var(--primary-color);
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    /* White button on purple bg */
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: var(--accent-color);
    color: var(--bg-dark);
}

/*Bg Utilities*/
.bg-light {
    background-color: var(--bg-light);
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    /* Transparent initially */
    transition: var(--transition);
    padding: 1rem 0;
}

/* JS will toggle this class on scroll */
header.scrolled {
    background: var(--primary-color);
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links li a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hamburger Menu (Mobile) */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: var(--transition);
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    /* Primary Gradient Background */
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Optional geometric shapes for background interest */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    /* Large, bold typography */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-content .sub-tagline {
    font-size: 1.2rem;
    margin-top: -1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    display: block;
}

/* =========================================
   5. ABOUT US & SERVICES
   ========================================= */
.about-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(106, 17, 203, 0.05);
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, white 0%, #f0f0ff 100%);
}

.service-category h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 5px solid var(--primary-color);
    padding-left: 1.5rem;
}

.service-category h3 i {
    color: var(--primary-color);
}

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

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Gradient border effect on hover */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: var(--gradient-main);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.card:hover::after {
    opacity: 1;
}

.card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
}

/* =========================================
   6. INDUSTRIES SECTION
   ========================================= */
.industries-section {
    background: var(--bg-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    text-align: center;
}

.industry-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 1rem;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.industry-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.industry-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.industry-item:hover i {
    transform: scale(1.1);
}

/* =========================================
   7. FOOTER
   ========================================= */
footer {
    background: #000;
    color: #ccc;
    padding-top: 5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    padding: 2rem 0;
    background: #050505;
    margin-top: 0;
}

/* =========================================
   8. ANIMATIONS & RESPONSIVE
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@media screen and (max-width: 1024px) {
    .nav-links {
        width: 60%;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background: var(--gradient-main);
        /* Purple menu on mobile */
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 5rem;
        z-index: 999;
    }

    .nav-links li {
        opacity: 0;
        margin-bottom: 2rem;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    .burger {
        display: block;
        z-index: 1000;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}