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

:root {
    --primary-color: #059669;
    --secondary-color: #047857;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

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

.btn-success {
    background: var(--primary-color);
    border: none;
}

.btn-success:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(31, 41, 55, 1);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
}

.brand-text {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 15px;
    font-weight: 500;
    position: relative;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-content h1 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    box-shadow: var(--shadow-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    color: white;
    font-size: 2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-indicator a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

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

/* About Section */
.about-section {
    background: white;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge h3 {
    font-size: 2rem;
    font-weight: 700;
}

.section-header .badge {
    font-size: 0.875rem;
    padding: 8px 20px;
    font-weight: 500;
}

.feature-card {
    padding: 20px;
    border-radius: 12px;
    background: var(--light-color);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Services Section */
.services-section {
    background: var(--light-color);
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.service-features li:last-child {
    border-bottom: none;
}

/* Gallery Section */
.gallery-section {
    background: white;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay p {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--light-color);
}

.testimonials-slider {
    margin: 0 -15px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
}

.stars i {
    font-size: 1rem;
}

/* Slick Slider Custom Styles */
.testimonials-slider .slick-dots {
    bottom: -50px;
}

.testimonials-slider .slick-dots li button:before {
    font-size: 12px;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonials-slider .slick-dots li.slick-active button:before {
    color: var(--primary-color);
    opacity: 1;
}

.testimonials-slider .slick-prev,
.testimonials-slider .slick-next {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.testimonials-slider .slick-prev:hover,
.testimonials-slider .slick-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.testimonials-slider .slick-prev {
    left: -60px;
}

.testimonials-slider .slick-next {
    right: -60px;
}

.testimonials-slider .slick-prev:before,
.testimonials-slider .slick-next:before {
    display: none;
}

.testimonials-slider .slick-prev i,
.testimonials-slider .slick-next i {
    color: white;
    font-size: 18px;
    line-height: 45px;
}

@media (max-width: 1200px) {
    .testimonials-slider .slick-prev {
        left: -40px;
    }

    .testimonials-slider .slick-next {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .testimonials-slider .slick-prev,
    .testimonials-slider .slick-next {
        display: none !important;
    }
}

/* Contact Section */
.contact-section {
    background:
        linear-gradient(rgba(5, 150, 105, 0.75), rgba(5, 150, 105, 0.75)),
        url("https://images.unsplash.com/photo-1624397640148-949b1732bb0a?w=1920") center/cover no-repeat;
    position: relative;
    background-attachment: fixed;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="contact-grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(5,150,105,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23contact-grid)" /></svg>');
    pointer-events: none;
    animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-info {
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.contact-item:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateX(10px) scale(1.02);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.4);
}

.contact-item h6 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item a:hover {
    color: var(--primary-color) !important;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    color: white;
}

.contact-form-wrapper {
    background: var(--light-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-control,
.form-select {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.15);
    transform: translateY(-2px);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer h5,
.footer h6 {
    color: white;
    font-weight: 600;
}

.footer-stats {
    display: flex;
    gap: 20px;
}

.footer-stats .stat {
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    .nav-link {
        margin: 10px 0;
    }

    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .stat-item {
        flex: 1;
        min-width: 120px;
    }

    .gallery-item img {
        height: 250px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-stats {
        justify-content: space-between;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}
