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

:root {
    --primary: #1E355E;
    --primary-light: #2D4C82;
    --secondary: #75BE3F;
    --secondary-dark: #64A336;
    --accent: #00838F;
    --bg-light: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 2px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    transition: margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.contact-meta {
    display: flex;
    gap: 30px;
}

.contact-meta a {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    font-weight: 500;
}

.contact-meta a:hover {
    opacity: 1;
    color: var(--secondary);
}

.location-top {
    opacity: 0.8;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    transition: all 0.4s ease;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 90px;
    width: auto;
    transition: all 0.4s ease;
}

.brand {
    font-size: 26px;
    letter-spacing: -0.5px;
    color: var(--primary);
    font-weight: 800;
}

.brand span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 45px;
    align-items: center;
    margin-left: auto;
    margin-right: 60px;
}

.nav-links a {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.3px;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary);
}

.cta-button {
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(30, 53, 94, 0.2);
}

.cta-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(117, 190, 63, 0.3);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(30, 53, 94, 0.8), rgba(30, 53, 94, 0.5)), url('hero_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding-top: 160px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections Global */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
}

/* About Us */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--secondary);
    border-left: 5px solid var(--secondary);
    border-radius: 12px 0 0 0;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--primary-light);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h4 {
    font-size: 32px;
    color: var(--secondary);
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Services / Modules */
.services {
    background: var(--bg-light);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.module-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.module-card .icon {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--secondary);
    display: inline-block;
}

.module-card h3 {
    margin-bottom: 16px;
    font-size: 20px;
    color: var(--primary);
}

.module-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Table CRO Styles */
.cro-section {
    background: var(--white);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

th, td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
}

th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

tr:nth-child(even) {
    background: #fdfdfd;
}

tr:hover {
    background: #f7fafc;
}

/* Steps / How we work */
.steps {
    background: var(--primary);
    color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-card {
    border-left: 2px solid rgba(117, 190, 63, 0.3);
    padding-left: 24px;
}

.step-card h4 {
    color: var(--secondary);
    margin-bottom: 12px;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    margin-bottom: 24px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.contact-list .icon {
    color: var(--secondary);
    font-weight: bold;
}

form {
    display: grid;
    gap: 20px;
}

input, textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(117, 190, 63, 0.1);
}

/* Footer */
footer {
    padding: 60px 0;
    background: #0f172a;
    color: rgba(255,255,255,0.6);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

@media (max-width: 968px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 36px;
    }
    .nav-links {
        display: none;
    }
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}
