/* ==================================
   CSS Variables & Resets
   ================================== */
:root {
    /* Colors */
    --primary-color: #0f172a; /* Deep Navy Blue */
    --primary-light: #1e293b;
    --accent-color: #ca8a04; /* Professional Gold */
    --accent-hover: #a16207;
    --text-dark: #334155;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Sizes */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --transition: 0.3s ease;
    --box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.badge {
    background-color: rgba(202, 138, 4, 0.1);
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

/* ==================================
   Buttons
   ================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-heading);
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(202, 138, 4, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 138, 4, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.mt-4 { margin-top: 1.5rem; }

/* ==================================
   Navbar
   ================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-color);
}

.logo i {
    color: var(--accent-color);
}

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

.nav-links li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links li a:not(.btn):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==================================
   Hero Section
   ================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 650px;
}

.hero-text-wrapper h1 {
    color: var(--bg-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-text-wrapper p {
    color: #cbd5e1;
    font-size: 1.15rem;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* ==================================
   Stats Section
   ================================== */
.stats {
    background-color: var(--bg-white);
    transform: translateY(-50px);
    position: relative;
    z-index: 10;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
}

.stat-item {
    text-align: center;
    border-right: 1px solid #e2e8f0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: #64748b;
    font-weight: 500;
}

/* ==================================
   Services Section
   ================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    border-color: rgba(202, 138, 4, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(202, 138, 4, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.service-card:hover .service-icon {
    background-color: var(--accent-color);
}

.service-card:hover .service-icon i {
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #64748b;
    margin-bottom: 25px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==================================
   About Section
   ================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
    box-shadow: var(--box-shadow);
}

.img-accent-box {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    z-index: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text > p {
    color: #475569;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-features li {
    display: flex;
    gap: 15px;
}

.about-features li i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 3px;
}

.about-features h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.about-features p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==================================
   Call to Action
   ================================== */
.cta {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%231e293b" fill-opacity="1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ==================================
   Footer
   ================================== */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding-top: 80px;
}

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

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

.brand-col p {
    color: #94a3b8;
    margin-bottom: 25px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    transition: var(--transition);
}

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

.contact-info li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    color: #94a3b8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    color: #94a3b8;
}

/* ==================================
   Responsive Design
   ================================== */
@media (max-width: 992px) {
    .hero-text-wrapper h1 { font-size: 2.8rem; }
    .stats-container { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-item { border-right: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    
    .hero-text-wrapper h1 { font-size: 2.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    
    .hero-overlay {
        background: rgba(15, 23, 42, 0.85); /* Darker overlay for mobile */
    }
}

@media (max-width: 576px) {
    .stats-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
}
