/* CSS Reset and Variables */
:root {
    --primary-color: #1F4D3A; /* Deep Green */
    --primary-dark: #2E6B52; /* Secondary Green */
    --primary-light: #A3B86C; /* Soft Olive */
    --secondary-color: #C5A059; /* Elegant Gold */
    --secondary-hover: #b08d4b; /* Darker Gold */
    --accent-color: #14402F; /* Deep Green matching logo background */
    --text-dark: #2C2C2C;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --light-bg: #F7F9F7; /* Very light green */
    --border-color: #E5E7EB;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(31, 77, 58, 0.15);
    --border-radius: 12px;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 5rem 0;
}

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

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

.mt-4 {
    margin-top: 2rem;
}

/* Typography Utility */
.section-header {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

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

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

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navbar */
.top-bar {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.top-bar a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

.logo-text p {
    font-size: 0.8rem;
    color: inherit;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

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

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

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    z-index: 10;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding-left: 2rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1F4D3A 0%, #17382a 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero .hero-title {
    color: var(--white);
}

.hero .hero-subtitle {
    color: #cbd5e1;
}

.hero .feature-item {
    color: var(--white);
}

.hero .badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
}

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

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.hero-image-container img.main-image {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Image Placeholders */
.image-placeholder {
    background-color: #e2e8f0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.main-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 8px solid var(--white);
    transform: rotate(2deg);
    transition: var(--transition);
}

.main-image:hover {
    transform: rotate(0deg);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.floating-card i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.floating-card h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
}

.floating-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-bottom: 4px solid transparent;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Why Trust Us Section */
.why-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.trust-card {
    border-radius: 20px;
    padding: 2.5rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-card.bg-primary { background-color: var(--primary-dark); }
.trust-card.bg-light { background-color: var(--light-bg); color: var(--text-dark); border: 1px solid var(--border-color); }
.trust-card.bg-dark { background-color: var(--primary-dark); }

.trust-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.trust-card h4 { font-size: 1.2rem; margin-bottom: 1rem; font-weight: 500; }
.trust-card.bg-light h3 { color: var(--primary-color); font-size: 1.5rem; margin-bottom: 1rem; }
.trust-card.bg-dark h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 1rem; }

.trust-card p { margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.6; }
.trust-card.bg-primary p { color: white; }
.trust-card.bg-dark p { color: rgba(255, 255, 255, 0.9); }

.trust-image { border-radius: 20px; width: 100%; height: 350px; object-fit: cover; }

@media (max-width: 992px) {
    .why-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .why-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-button {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
}

.loader-button::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 3px solid var(--primary-light);
    border-top-color: #00B8D4;
    animation: spin 1s linear infinite;
}

.loader-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.portrait-image {
    width: 100%;
    height: 600px;
    border-radius: 20px 20px 20px 20px;
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow);
    border: 5px solid var(--white);
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.about-content h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.qualifications {
    color: var(--secondary-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.check-list {
    margin-top: 2rem;
}

.check-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.check-list i {
    color: var(--secondary-color);
    background-color: #fcf4f0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background-color: var(--primary-light);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 0 5px var(--white);
}

.timeline-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin: 0;
    color: var(--text-light);
}

/* FAQs */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: var(--white);
    padding: 1.5rem;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--light-bg);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    margin: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-box {
    background-color: rgba(255,255,255,0.1);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(5px);
}

.contact-box i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-box h5 {
    color: var(--white);
    margin: 0 0 0.2rem 0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-box p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

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

.cta-section .btn-primary:hover {
    background-color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: var(--light-bg);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo .logo-text h3 {
    color: var(--white);
    margin: 0;
}

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

.footer-brand p {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    margin-bottom: 0.5rem;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero .container, .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image-container {
        min-height: auto;
    }
    
    .main-image {
        min-height: auto;
        height: auto;
    }
    
    .floating-card {
        left: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1.5rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 1rem;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-contact {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* Animations */
.animate-pop {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-slide-up {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

.animate-visible {
    opacity: 1 !important;
    transform: translateX(0) scale(1) translateY(0) !important;
}
