:root {
    --primary: #1e3a8a;      /* Corporate Navy */
    --accent: #3b82f6;       /* Bright Blue */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* Responsive */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
}
/* Removed the extra } that was here */
body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f8fafc;
}

/* --- Header & Nav --- */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.main-header.scrolled .logo { color: var(--primary); }
.logo .accent { color: var(--accent); }

.desktop-nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.main-header.scrolled .desktop-nav a { color: var(--text-dark); }

.nav-cta {
    background: var(--accent);
    padding: 10px 20px;
    border-radius: 50px;
    color: white !important;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.main-header.scrolled .menu-toggle { color: var(--text-dark); }

/* --- Sidebar --- */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background-color: var(--primary);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebar-links a {
    padding: 15px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #cbd5e1;
    display: block;
    transition: 0.3s;
}

.sidebar-links a:hover { color: var(--white); padding-left: 40px; }
.sidebar .closebtn { position: absolute; top: 20px; right: 25px; font-size: 36px; color: white; text-decoration: none; }

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
}

.myslide {
    display: none;
    height: 100%;
    width: 100%;
}

.myslide.active { display: block; }

.myslide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

.hero-text h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 20px; }
.hero-text p { font-size: 1.25rem; margin-bottom: 30px; font-weight: 300; }

.btn-primary {
    padding: 15px 40px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover { background: var(--white); color: var(--primary); }

/* --- Sections & Cards --- */
.section-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.underline { width: 60px; height: 4px; background: var(--accent); margin: 15px auto; }

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); }

.card-img img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 30px; }
.card-content h3 { margin-bottom: 15px; color: var(--primary); }
.card-content p { color: var(--text-light); font-size: 0.95rem; }

/* --- Footer --- */
.main-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 40px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.main-footer h4 { color: white; margin-bottom: 25px; font-size: 1.2rem; }
.footer-contact p { margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact i { margin-right: 10px; color: var(--accent); }

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    font-size: 0.8rem;
}

/* Animations */
.fade { animation: fadeAnim 1.5s ease-in-out; }
@keyframes fadeAnim { from { opacity: 0.4; } to { opacity: 1; } }

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
}