@import url('fonts.css');

/* Global Vars & Reset */
:root {
    --primary-color: #056b48;
    /* Dark Green */
    --primary-dark: #034a31;
    --accent-color: #ff7b00;
    /* Orange */
    --accent-hover: #e06c00;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);

    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.3);
}

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

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

.btn-secondary {
    background-color: var(--white);
    color: var(--accent-color);
    font-weight: 700;
}

.text-highlight {
    color: var(--accent-color);
}

.d-none-mobile {
    display: none;
}

@media (min-width: 768px) {
    .d-none-mobile {
        display: inline-flex;
    }
}

/* Tip Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 8px 0;
    display: none;
}

@media (min-width: 768px) {
    .top-bar {
        display: block;
    }
}

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

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-bar a:hover {
    color: var(--accent-color);
}

/* Header */
.main-header {
    background: var(--white);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    max-height: 60px;
    width: auto;
    border-radius: 4px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

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

.brand-sub {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.desktop-nav {
    display: none;
    gap: 30px;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    display: block;
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 1002;
    padding: 20px;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.mobile-menu nav a {
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.close-menu-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.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(5, 67, 107, 0.85) 0%, rgba(5, 67, 107, 0.4) 100%);
    background: linear-gradient(90deg, rgba(5, 107, 72, 0.9) 0%, rgba(5, 107, 72, 0.3) 100%);
    /* Green gradient */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
}

.badge-hero {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
}

.hero-features {
    margin-bottom: 40px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.hero-features ion-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 576px) {
    .hero-actions {
        flex-direction: row;
    }
}

/* USP Strip */
.usp-strip {
    transform: translateY(-50px);
    position: relative;
    z-index: 10;
}

.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .usp-grid {
        grid-template-columns: 1.2fr 1.5fr;
    }
}

.usp-card {
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.usp-card.accent {
    background: var(--accent-color);
    color: var(--white);
    flex-direction: column;
    text-align: center;
    align-items: center;
}

@media (min-width: 768px) {
    .usp-card.accent {
        flex-direction: row;
        text-align: left;
    }
}

.usp-card.white {
    background: var(--white);
    justify-content: space-between;
    flex-wrap: wrap;
}

.usp-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 5px 0;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.dot {
    width: 10px;
    height: 10px;
    background: #00fa9a;
    border-radius: 50%;
    box-shadow: 0 0 10px #00fa9a;
}

/* Sections Global */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.text-center {
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

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

/* About Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.experience-badge .years {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
}

.experience-badge .label {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-item ion-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item strong {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.btn-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

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

.service-card .icon-box {
    width: 70px;
    height: 70px;
    background: #eef5f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s;
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
}

.service-card.highlight {
    background: var(--primary-color);
    color: var(--white);
}

.service-card.highlight .icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.service-card.highlight p {
    color: rgba(255, 255, 255, 0.8);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    color: var(--accent-color);
}

.service-card.highlight .read-more {
    color: var(--white);
}

.service-list-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-list-column h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-list-column ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
}

.service-list-column ul li:before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Dark / Why Us */
.dark-section {
    background-color: #111;
    color: var(--white);
}

.text-white {
    color: var(--white);
}

.accent-text {
    color: var(--accent-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.feature-item {
    position: relative;
    padding-top: 20px;
}

.feature-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -20px;
    left: 0;
    line-height: 1;
}

.feature-item h4 {
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

/* CTA Footer */
.cta-section {
    padding-bottom: 0;
    /* Overlap with footer */
}

.cta-box {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    color: var(--white);
    margin-bottom: -80px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
    .cta-box {
        grid-template-columns: 1fr 400px;
    }
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-phone {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-top: 30px;
}

.cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.quick-contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    color: var(--text-dark);
}

.quick-contact-form h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.full-width {
    width: 100%;
}

/* Footer */
.main-footer {
    background-color: #0d0d0d;
    color: #888;
    padding-top: 150px;
    /* Space for CTA overlap */
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col {
    flex: 2;
    min-width: 250px;
}

.footer-logo .brand-name {
    color: var(--white);
}

.brand-col p {
    margin: 20px 0;
}

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

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

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact ion-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 3px;
}

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

/* External Link Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.modal-content p {
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.modal-content .url-highlight {
    font-weight: 600;
    color: var(--accent-color);
    word-break: break-all;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.modal-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 2001;
}

.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}