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

:root {
    /* Color Palette - Modern & Premium */
    --primary: #0a2540;
    --primary-light: #153a5f;
    --accent: #3b82f6;
    /* Modern Blue */
    --accent-amber: #fbbf24;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Transitions */
    --section-padding: 120px 0;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --border-radius: 16px;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

/* Buttons - Premium Feel */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 37, 64, 0.2);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

/* Navbar - Modern Glass */
.navbar-custom {
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar-custom.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand img {
    height: 60px;
    transition: var(--transition);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--primary) !important;
    margin: 0 10px;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hero Section - Full Bleed & Immersive */
#hero {
    height: 100vh;
    min-height: 800px;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: var(--primary);
}

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

#hero h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: white;
}

#hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 3rem;
    }
}

/* Cards - Floating Aesthetic */
.feature-card,
.service-card {
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    display: inline-block;
}

/* Feature Row - Equal Height Alignment */
.feature-row {
    align-items: stretch !important;
}

.feature-row>div {
    display: flex;
    flex-direction: column;
}

.feature-img-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.feature-img-wrapper img {
    flex: 1;
    width: 100%;
    height: 0;
    /* Prevents image from pushing parent height */
    min-height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-img-wrapper:hover img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .feature-img-wrapper {
        height: auto;
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .feature-img-wrapper {
        min-height: 300px;
    }
}

/* Section Title */
.section-title {
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer - Sophisticated & Clean */
.footer {
    background: var(--primary);
    color: #94a3b8;
    padding-top: 100px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0;
    margin-top: 64px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: var(--transition);
    color: var(--white);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* Article Section Styling */
article {
    font-size: 1.1rem;
    line-height: 1.8;
}

article h2 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

article h3 {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 16px;
}

article h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    border-radius: 2px;
}

article .border-bottom {
    border-color: rgba(59, 130, 246, 0.2) !important;
    padding-bottom: 2rem !important;
}

article p.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
}

article .btn-accent {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

article .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

article .reveal {
    transition: all 0.6s ease-out;
}

.spam {
    display: none;
}