/* ==========================================================================
   IECLATE INOVATE GLOBAL STYLESHEET
   ========================================================================== */

/* 1. Imports & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* 2. Global Variables */
:root {
    --primary: #1565FF;
    --primary-rgb: 21, 101, 255;
    --secondary: #00C6FF;
    --secondary-rgb: 0, 198, 255;
    --bg-dark: #081B3A;
    --bg-card: #0B224C;
    --white: #FFFFFF;
    --gray-muted: #BFC7D5;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-glow: linear-gradient(135deg, rgba(21, 101, 255, 0.15), rgba(0, 198, 255, 0.15));
    
    /* Shadows */
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(21, 101, 255, 0.35);
    --shadow-inset: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100%;
    position: relative;
}

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

ul {
    list-style: none;
}

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

/* 4. Common Layout Container */
.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.dark-section {
    background-color: var(--bg-card);
    position: relative;
}

/* 5. Typography & Text Utilities */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    color: var(--gray-muted);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight {
    color: var(--secondary);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header .sub-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.1rem;
}

/* Section Header Flex (used in Portfolio) */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-header-flex .sub-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    display: block;
    margin-bottom: 12px;
}

.section-header-flex h2 {
    font-size: 2.5rem;
    max-width: 600px;
}

/* 6. Custom Glassmorphism UI Elements */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow-premium), var(--shadow-inset);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 198, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 198, 255, 0.15), var(--shadow-inset);
}

/* 7. Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(21, 101, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

/* 8. Fixed Glassmorphism Navbar */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 27, 58, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: var(--transition-smooth);
}

.navbar-header.scrolled {
    background: rgba(8, 27, 58, 0.95);
    padding: 5px 0;
    box-shadow: var(--shadow-premium);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo img, .logo svg {
    height: 42px;
    width: 42px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--white);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.mobile-cta {
    display: none;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* 9. Global Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
}

/* 10. Footer Section Styles */
.footer-section {
    background-color: #041026;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.brand-desc {
    font-size: 0.95rem;
    margin-bottom: 25px;
    max-width: 320px;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray-muted);
}

.social-links a:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(21, 101, 255, 0.4);
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--gray-muted);
    font-size: 0.95rem;
}

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

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-muted);
    font-size: 0.95rem;
}

.contact-info li i {
    color: var(--secondary);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray-muted);
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}