:root {
    --primary-blue: #0284c7;
    --dark-blue: #0b1329;
    --nav-bg: #070d19;
    --accent-orange: #ff6b00;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* --- Header & Navbar --- */
header {
    background-color: var(--nav-bg);
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Logo Image Styling */
.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.logo-text span {
    color: var(--accent-orange);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.btn-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-header:hover {
    background-color: #0369a1;
}

/* --- Hero Section --- */
.hero {
    background: radial-gradient(circle at center, #0f1c3f 0%, #050b14 100%);
    padding: 90px 8% 100px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hero-content {
    max-width: 550px;
}

.badge {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero h1 span {
    color: #38bdf8;
}

.hero p {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-secondary {
    border: 1px solid #334155;
    color: white;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    cursor: pointer;
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

.hero-graphic {
    width: 420px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(2, 132, 199, 0.4));
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .sub {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-top: 5px;
    font-weight: 700;
}

.title-line {
    width: 50px;
    height: 3px;
    background: var(--primary-blue);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- Services Section --- */
.services {
    padding: 80px 8%;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    padding: 35px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

.bg-blue { background-color: #0284c7; }
.bg-orange { background-color: #ff6b00; }
.bg-indigo { background-color: #2563eb; }
.bg-amber { background-color: #f59e0b; }

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

/* --- Why Choose Us --- */
.why-us {
    background-color: #070d19;
    padding: 80px 8%;
    color: white;
    text-align: center;
}

.why-us .section-title h2 {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.stat-card {
    background: #0f172a;
    padding: 35px 20px;
    border-radius: 10px;
    border: 1px solid #1e293b;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    color: white;
}

.stat-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.stat-desc {
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 8px;
}

/* --- About Us Section --- */
.about {
    padding: 90px 8%;
    display: flex;
    align-items: center;
    gap: 60px;
    background: white;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1;
}

.about-content .sub {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 32px;
    margin: 10px 0 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--primary-blue);
    background: #e0f2fe;
    padding: 6px;
    border-radius: 50%;
    font-size: 12px;
}

/* --- Contact Info Bar --- */
.contact-bar {
    background-color: #070d19;
    padding: 40px 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    border-bottom: 1px solid #1e293b;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.info-text span {
    font-size: 12px;
    color: #94a3b8;
    display: block;
}

.info-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 3px;
}

/* --- Contact Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    background: none;
    border: none;
}

.modal-card h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.modal-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-blue);
}

.form-group .error-text {
    color: #ef4444;
    font-size: 11px;
    margin-top: 4px;
    display: none;
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #10b981;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* --- Footer --- */
footer {
    background-color: #050b14;
    color: #94a3b8;
    padding: 60px 8% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about p {
    font-size: 13px;
    line-height: 1.7;
    margin: 15px 0 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #1e293b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-blue);
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    background: #0f172a;
    border: 1px solid #1e293b;
    padding: 10px 15px;
    color: white;
    border-radius: 5px 0 0 5px;
    outline: none;
    width: 100%;
    font-size: 13px;
}

.newsletter-form button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0 18px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
    transition: 0.3s;
    z-index: 999;
}

.copyright {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    font-size: 13px;
}

/* --- Responsive Layout --- */
@media (max-width: 900px) {
    .hero, .about { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-btns { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { text-align: left; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        padding: 20px;
    }
    nav.active { display: block; }
    nav ul { flex-direction: column; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
}