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

:root {
    /* Green, Yellow, and Navy Contrast Palette */
    --bg: #ffffff;
    --bg-warm: #fcfdfa;       /* Cream/Warm green-white */
    --bg-subtle: #f0fdf4;     /* Very soft green 50 */
    --bg-yellow: #fffbeb;     /* Very soft yellow 50 */
    --text: #0f172a;          /* Deep Slate / Navy */
    --text-muted: #64748b;    /* Slate 500 */
    --primary: #16a34a;       /* Vibrant Green */
    --primary-hover: #15803d; /* Deep Green */
    --secondary: #facc15;     /* Golden Yellow */
    --secondary-hover: #eab308;
    --border: #dcfce7;        /* Soft Green 100 */
    --border-subtle: #f0fdf4; /* Very soft green border */
    
    --font: 'Inter', sans-serif;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 12px;
}

/* Reset & Strict Link Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* FORCE REMOVE UNDERLINES UNDER ALL CIRCUMSTANCES */
a, 
a:hover, 
a:focus, 
a:active, 
.btn, 
.nav-link, 
.logo, 
.footer a,
.brand-logo {
    text-decoration: none !important;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.25);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--bg-subtle);
    border-color: var(--primary-hover);
    color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Premium Outlined DMS Portal Button UI */
.btn-dms {
    background-color: transparent;
    color: var(--text) !important;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-dms i {
    color: var(--primary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-dms:hover {
    background-color: var(--bg-subtle);
    border-color: var(--primary);
    color: var(--primary) !important;
}

.btn-dms:hover i {
    color: var(--primary-hover);
    transform: translateX(2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--border-subtle);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

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

.logo {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text);
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem 0;
    text-align: center;
    background: radial-gradient(40% 40% at 50% 0%, var(--bg-subtle) 0%, transparent 100%),
                radial-gradient(30% 30% at 90% 80%, var(--bg-yellow) 0%, transparent 100%);
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-hover);
    background-color: var(--bg-subtle);
    border: 1px solid var(--border);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    max-width: 850px;
    margin: 0 auto 1.5rem auto;
    letter-spacing: -0.04em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
}

/* Brands Grid */
.brands {
    border-top: 1px solid var(--border-subtle);
    background-color: var(--bg-warm);
    padding-bottom: 8rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.brand-card {
    background-color: var(--bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 180px;
}

.brand-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -12px rgba(22, 163, 74, 0.08);
}

.brand-logo-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

.brand-logo-img {
    max-width: 85%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.65);
    transition: var(--transition);
}

.brand-card:hover .brand-logo-img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.04);
}

.brand-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer Style */
.footer {
    padding: 5rem 0;
    border-top: 1px solid var(--border-subtle);
    background-color: var(--bg-warm);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-contact h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact p i {
    color: var(--primary);
    font-size: 0.95rem;
    width: 16px;
    text-align: center;
}

/* Scroll Fade In Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .hero {
        padding: 10rem 0 5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg);
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2.5rem;
        transition: var(--transition);
        border-top: 1px solid var(--border-subtle);
        align-items: flex-start;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
