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

/* Reset & Base Styles */
:root {
    /* Dark Theme */
    --bg-color: #07090f;
    --text-color: #e0e6f0;
    --heading-color: #f0f6ff;
    --primary-color-cyan: #00FFFF;
    --primary-color-magenta: #FF00FF;
    --card-bg: #1a1c24;
    --border-color: #2a2d3a;
    --shadow-color: rgba(0, 255, 255, 0.2); /* Cyan glow shadow */
    --hover-shadow-color: rgba(0, 255, 255, 0.5); /* Stronger cyan glow */
    --header-bg: rgba(7, 9, 15, 0.8); /* Semi-transparent for blur */

    /* Light Theme (will be overridden by .light-mode) */
    --light-bg-color: #f0f2f5;
    --light-text-color: #333;
    --light-heading-color: #1a1a1a;
    --light-card-bg: #ffffff;
    --light-border-color: #e0e0e0;
    --light-shadow-color: rgba(0, 0, 0, 0.1);
    --light-hover-shadow-color: rgba(0, 0, 0, 0.2);
    --light-header-bg: rgba(255, 255, 255, 0.8);
}

/* Light Mode Overrides */
body.light-mode {
    --bg-color: var(--light-bg-color);
    --text-color: var(--light-text-color);
    --heading-color: var(--light-heading-color);
    --primary-color-cyan: #007bff; /* Brighter blue for light mode */
    --primary-color-magenta: #e91e63; /* Brighter pink for light mode */
    --card-bg: var(--light-card-bg);
    --border-color: var(--light-border-color);
    --shadow-color: var(--light-shadow-color);
    --hover-shadow-color: var(--light-hover-shadow-color);
    --header-bg: var(--light-header-bg);

    .logo-text, .main-nav a, .hero h1, h2, h3, .footer-logo .logo-text, .footer-nav a, .footer-bottom p {
        background-image: none !important; /* Remove gradient text */
        color: var(--heading-color) !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
    }
    .hero p, .solutions-section .subtitle, .solution-card p, .section-placeholder p {
        color: var(--text-color) !important;
    }
    .main-nav .nav-links li a.active {
        border-color: var(--primary-color-cyan);
    }
    .btn-primary {
        background: var(--primary-color-cyan) !important;
        color: white !important;
    }
    .btn-secondary {
        border-color: var(--primary-color-cyan) !important;
        color: var(--primary-color-cyan) !important;
    }
    .btn-secondary:hover {
        background: var(--primary-color-cyan) !important;
        color: white !important;
    }
    .solution-card:hover {
        border-color: var(--primary-color-cyan) !important;
        box-shadow: 0 8px 16px var(--light-hover-shadow-color) !important;
    }
    .social-icons a:hover {
        color: var(--primary-color-cyan) !important;
    }
    .header {
        border-bottom: 1px solid var(--light-border-color);
    }
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 {
    font-size: 4.5rem; /* Huge, shadowed header */
    text-align: center;
    background-image: linear-gradient(45deg, var(--primary-color-cyan), var(--primary-color-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6), 0 0 20px rgba(255, 0, 255, 0.4);
}

h2 {
    font-size: 3rem;
    text-align: center;
    background-image: linear-gradient(45deg, var(--primary-color-magenta), var(--primary-color-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.4), 0 0 15px rgba(0, 255, 255, 0.3);
}

h3 {
    font-size: 1.75rem;
    margin-top: 1em;
    margin-bottom: 0.5em;
    background-image: linear-gradient(45deg, var(--primary-color-cyan), var(--primary-color-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 1.125rem; /* 18px */
    margin-bottom: 1em;
}

.subtitle {
    font-size: 1.25rem; /* 20px */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3em;
    color: rgba(224, 230, 240, 0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color-cyan), var(--primary-color-magenta));
    color: var(--heading-color);
    border: none;
    box-shadow: 0 0 15px var(--shadow-color);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-color-magenta), var(--primary-color-cyan));
    box-shadow: 0 0 25px var(--hover-shadow-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color-cyan);
    border: 2px solid var(--primary-color-cyan);
    box-shadow: 0 0 10px var(--shadow-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color-cyan);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--hover-shadow-color);
    transform: translateY(-3px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(42, 45, 58, 0.5);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--primary-color-cyan));
}

.logo-text {
    background-image: linear-gradient(45deg, var(--primary-color-cyan), var(--primary-color-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav .nav-links {
    display: flex;
    gap: 30px;
}

.main-nav .nav-links li a {
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.main-nav .nav-links li a:hover,
.main-nav .nav-links li a.active {
    border-color: var(--primary-color-cyan);
    color: var(--primary-color-cyan);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
}
.theme-toggle:hover {
    color: var(--primary-color-cyan);
}
.theme-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}
.theme-toggle .moon { display: none; }
body.light-mode .theme-toggle .sun { display: none; }
body.light-mode .theme-toggle .moon { display: block; }
body.light-mode .theme-toggle:hover {
    color: var(--primary-color-magenta);
}


.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin: 25px 0;
}

.mobile-nav-links a {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--heading-color);
    background-image: linear-gradient(45deg, var(--primary-color-cyan), var(--primary-color-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.mobile-nav-links a:hover {
    transform: scale(1.05);
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, rgba(255, 0, 255, 0.1) 20%, rgba(7, 9, 15, 0.8) 70%),
        url('../img/hero-globe.jpg') no-repeat center center/cover; /* Placeholder, replace with actual image */
    background-attachment: fixed; /* Parallax effect */
    overflow: hidden;
    padding-top: 80px; /* Offset for fixed header */
}

/* For actual image replacement: 
.hero {
    background: linear-gradient(to bottom, rgba(7,9,15,0.7) 0%, rgba(7,9,15,0.9) 100%), 
                url('../img/hero-globe.jpg') no-repeat center center/cover;
}
*/

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle particle glow effect - advanced would be JS */
    background: radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.05) 0%, transparent 40%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* For mobile stacking */
}


/* Solutions Section */
.solutions-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
    z-index: 5;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    opacity: 0; /* For fade-in animation */
    transform: translateY(20px); /* For fade-in animation */
}

.solution-card.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color-cyan);
    box-shadow: 0 8px 25px var(--hover-shadow-color);
}

.solution-card .icon {
    width: 60px;
    height: 60px;
    color: var(--primary-color-cyan);
    margin: 0 auto 15px;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.4));
}

.solution-card h3 {
    margin-bottom: 0.5em;
}

.solution-card p {
    font-size: 1rem;
    color: rgba(224, 230, 240, 0.7);
}

.section-placeholder {
    padding: 60px 0;
    text-align: center;
    border-top: 1px dashed rgba(224, 230, 240, 0.1);
}
.section-placeholder h2 {
    margin-bottom: 0.5em;
}
.section-placeholder p {
    color: rgba(224, 230, 240, 0.6);
}


/* Footer */
.footer {
    background-color: #0c0f16;
    padding: 40px 0;
    border-top: 1px solid rgba(42, 45, 58, 0.5);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-logo .logo-img {
    height: 35px;
    filter: drop-shadow(0 0 3px var(--primary-color-magenta)); /* Different glow for footer */
}

.footer-logo .logo-text {
    background-image: linear-gradient(45deg, var(--primary-color-magenta), var(--primary-color-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav a {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(224, 230, 240, 0.7);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color-cyan);
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(224, 230, 240, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(224, 230, 240, 0.6);
    margin-bottom: 0;
}

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

.social-icons a {
    color: rgba(224, 230, 240, 0.7);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color-cyan);
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
}


/* Responsive Design */
@media (max-width: 1024px) {
    .main-nav {
        display: none; /* Hide main nav on tablet/mobile */
    }
    .hamburger-menu {
        display: flex; /* Show hamburger */
    }
    .header-content {
        padding: 0 20px; /* Add padding to header content */
    }
    h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-nav ul {
        justify-content: center;
        margin-bottom: 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero-content {
        padding: 0 15px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .btn {
        width: 100%;
        max-width: 300px; /* Limit button width */
        margin: 0 auto;
    }
    .solution-card {
        padding: 25px;
    }
    .solution-card .icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }
    .logo-img {
        height: 35px;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .mobile-nav-links a {
        font-size: 1.8rem;
    }
    .solutions-grid {
        grid-template-columns: 1fr; /* Single column on smallest screens */
    }
}