@import url('fonts.css');

:root {
    --primary: #223E3D; /* Dark Teal/Green */
    --primary-light: #325655;
    --gray-dark: #4A4A4A;
    --gray: #7D837C;
    --gray-light: #F4F6F5;
    --white: #FFFFFF;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

.section-padding {
    padding: 100px 0;
}

.text-green { color: var(--primary); }
.text-white { color: var(--white) !important; }
.bg-gray { background-color: var(--gray-light); }
.text-center { text-align: center; }

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}
.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 62, 61, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Top Bar */
.top-bar {
    background: var(--gray-light);
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--gray);
}
.tb-flex {
    display: flex;
    justify-content: space-between;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 12px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand img {
    height: 50px;
    transition: var(--transition);
}
.navbar.scrolled .brand img {
    height: 40px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}
.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    text-transform: uppercase;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.menu-toggle span {
    width: 30px; height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 130px);
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--primary); /* Fallback */
}
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.slide {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(34,62,61,0.9) 0%, rgba(34,62,61,0.4) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}
.hero-text {
    max-width: 650px;
}
.hero-subtitle {
    color: var(--white);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 500;
}
.hero-title {
    color: var(--white);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}
.hero-text p {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 550px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About / Stats */
.tag {
    color: var(--gray);
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 1rem;
    text-transform: uppercase;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary);
}
.lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 20px;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.stat-box {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid transparent;
    transition: var(--transition);
}
.stat-box:hover {
    transform: translateY(-5px);
    border-left-color: var(--primary);
}
.stat-icon {
    width: 40px; height: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}
.stat-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.stat-box p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Divisions */
.div-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.div-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.div-card:hover {
    transform: translateY(-10px);
}
.div-img {
    height: 200px;
    overflow: hidden;
}
.div-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.div-card:hover .div-img img {
    transform: scale(1.1);
}
.div-content {
    padding: 25px;
}
.div-content h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 10px;
}
.div-content ul {
    list-style: none;
}
.div-content ul li {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}
.div-content ul li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Banner CTA */
.banner {
    background: var(--primary);
    padding: 80px 0;
    color: var(--white);
}
.banner h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.banner .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.banner .btn-primary:hover {
    background: transparent;
    color: var(--white);
}

/* Footer */
.footer {
    background: #1A2E2D; /* Darker variant of primary */
    padding: 80px 0 20px;
    color: #A0ABA9;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.f-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}
.f-links h4, .f-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.f-links ul { list-style: none; }
.f-links ul li { margin-bottom: 10px; }
.f-links a:hover { color: var(--white); }

.contact-info { list-style: none; }
.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}
.contact-info svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* Detailed Divisions */
.div-grid-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.div-card-large {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.div-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.div-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}
.div-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.div-card-large:hover .div-image img {
    transform: scale(1.05);
}
.div-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    width: 50px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.div-info {
    padding: 30px;
    flex: 1;
}
.div-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.div-desc {
    color: var(--gray-dark);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}
.div-list {
    list-style: none;
}
.div-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.div-list span {
    color: var(--primary);
    font-weight: bold;
}

/* Value Proposition */
.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.value-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.feat-icon {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
    opacity: 0.5;
    line-height: 1;
}
.feat-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.feat-content p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Footer Map */
.contact-card {
    background: rgba(255,255,255,0.03);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid rgba(255,255,255,0.3);
}
.contact-card h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transition: 0.8s ease-out;
}
[data-animate="fade-up"] { transform: translateY(30px); }
[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate="fade-left"] { transform: translateX(30px); }

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .div-grid { grid-template-columns: repeat(2, 1fr); }
    .div-grid-detailed { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .tb-flex { flex-direction: column; text-align: center; gap: 5px; }
    
    .menu-toggle { display: flex; z-index: 1001; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-menu {
        position: fixed;
        top: 0; left: 100%;
        width: 100%; height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    .nav-menu.active { left: 0; }
    
    .hero-title { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    
    .about-grid, .stats-grid, .value-grid { grid-template-columns: 1fr; }
    .div-grid, .div-grid-detailed { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    
    .contact-info li { justify-content: center; text-align: left; }
    .contact-card { border-left: none; border-top: 4px solid rgba(255,255,255,0.3); }
}
