/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --primary: #3b82f6; /* Electric Blue */
    --accent: #8b5cf6;  /* Neon Purple */
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight { color: var(--primary); }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary);
    padding: 8px 20px;
    border-radius: 4px;
    color: white !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Abstract Background Graphic */
.hero-bg-overlay {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(15,23,42,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns { display: flex; gap: 20px; justify-content: center; }

/* Sections */
.section { padding: 100px 0; }
.bg-darker { background-color: var(--bg-darker); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--text-dim); font-size: 1.1rem; }

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255,255,255,0.05);
}

.card .icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* About Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text { flex: 1; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; color: var(--text-dim); }

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--bg-darker);
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid var(--accent);
}

.stat-box h3 { font-size: 2.5rem; color: var(--accent); margin-bottom: 5px; }

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-darker);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

textarea { resize: none; }

/* Footer */
footer {
    background: var(--bg-darker);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo h2 { font-size: 1.5rem; }
.footer-logo p { color: var(--text-dim); font-size: 0.9rem; }

.footer-links a, .socials a {
    color: var(--text-dim);
    margin-left: 20px;
    transition: var(--transition);
}

.footer-links a:hover, .socials a:hover { color: white; }

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* Mobile Responsive */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; background-color: white; margin: 5px auto; transition: var(--transition); }

@media (max-width: 768px) 
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-darker);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        transition: 0.4s;
    }
    .nav-links.active { left: 0; }
    
    .hero h1 { font-size: 2.5rem; }
    .split-layout { flex-direction: column; }
    .form-group { flex-direction: column; gap: 0; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links a { margin: 0 10px; }
}

/* Blog Card Specifics */
.blog-card {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255,255,255,0.05);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    flex: 1;
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}
.blog-link:hover { text-decoration: underline; }

.info-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff; /* Or your preferred box color */
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.info-content {
    flex: 1;
    padding: 40px;
}

.info-caption {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.info-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 0;
}

.info-image {
    flex: 1;
    height: 300px; /* Adjust height as needed */
}

.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the space without stretching */
}

/* Responsive: Stacks text on top of image for mobile */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
    }
    .info-image {
        width: 100%;
        height: 200px;
    }
}

.about-text { flex: 1; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; color: var(--text-dim); }

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 text, 1/3 image */
    gap: 60px;
    align-items: center; /* Centers image vertically relative to text */
}

.about-text-content {
    text-align: left;
}

.about-text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-image-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-content img {
    max-width: 100%;
    height: auto;
    /* No border or box-shadow as per your request */
}

/* Responsive: Stacks on mobile */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-text-content {
        text-align: center;
    }
}

/* 1. Hide the hamburger icon on ALL screens */
.hamburger-icon, .navbar-toggler, .menu-toggle {
    display: none !important;
}

/* 2. Force the menu items to stay visible on ALL screens */
.nav-links, .navbar-collapse, .menu-items {
    display: flex !important; /* or 'block' depending on your layout */
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

/* 3. Ensure the menu items stack or wrap nicely on small screens */
@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap; /* Allows items to move to a second line if too long */
        justify-content: center; /* Centers them for a cleaner look */
    }
}

/* FORCE HIDE THE HAMBURGER ICON */
.menu-toggle {
    display: none !important;
}

/* FORCE SHOW THE LINKS AND RESET POSITIONING */
.nav-links {
    position: static !important;   /* Cancels the "left: -100%" */
    display: flex !important;     /* Cancels any "display: none" */
    flex-direction: row !important; /* Keeps them side-by-side */
    opacity: 1 !important;         /* Ensures they aren't transparent */
    visibility: visible !important;
    left: 0 !important;            /* Brings them back into view */
    width: auto !important;        /* Prevents it from covering the whole screen */
    background: transparent !important; /* Removes the mobile background color */
    padding: 0 !important;         /* Removes the mobile-only padding */
}

/* Clean up the look for phones */
@media (max-width: 480px) {
    .nav-links {
        justify-content: center; /* Centers the links */
        gap: 12px;               /* Adds a small gap between each link */
        flex-wrap: wrap;         /* Lets links drop to a second line if the phone is very thin */
        padding: 10px 5px !important;
    }

    .nav-links a {
        font-size: 14px;         /* Makes text slightly smaller to fit better */
        text-decoration: none;
    }
}