:root {
    --primary-color: #2c5282;
    --secondary-color: #4a5568;
    --accent-color: #48bb78;
    --background-color: #f7fafc;
    --text-color: #2d3748;
    --light-gray: #edf2f7;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .nav-container {
        padding: 0.5rem 1.5rem;
        max-width: 1100px;
    }
}

@media (max-width: 992px) {
    .nav-container {
        padding: 0.5rem 1.25rem;
        max-width: 960px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.25rem 1rem;
        max-width: 720px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.25rem 0.75rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

.logo-image {
    height: 70px;
    width: auto;
    margin-right: 15px;
}

@media (max-width: 1200px) {
    .logo-image {
        height: 60px;
    }
}

@media (max-width: 992px) {
    .logo-image {
        height: 55px;
    }
}

@media (max-width: 768px) {
    .logo {
        padding: 10px 0;
    }
    
    .logo-image {
        height: 45px;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 40px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 80px;
    background: linear-gradient(rgba(44, 82, 130, 0.9), rgba(44, 82, 130, 0.9)),
                url('../images/gettyimages-1177551049-2048x2048.jpg') center/cover;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

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

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.hero-feature-icon {
    color: var(--accent-color);
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(72, 187, 120, 0.5);
}

.hero-feature-text {
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-feature {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
        justify-content: center;
    }
    
    .hero-feature-icon {
        font-size: 1.2rem;
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #3da066;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .service-image {
        height: 220px;
    }
}

.service-content {
    padding: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .services-section h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
    
    .service-image {
        height: 200px;
    }
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.team-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.team-intro {
    text-align: center;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 3rem auto;
    max-width: 1000px;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
    }
}

.team-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
    max-height: 400px;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.95);
}

.team-image:hover .team-photo {
    filter: brightness(1);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-overlay p {
    color: white;
    text-align: center;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.team-image:hover .team-photo {
    transform: scale(1.05);
}

.team-image:hover .team-overlay {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .team-section h2 {
        font-size: 2rem;
    }
    
    .team-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .team-grid {
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.about-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.benefits-list li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-intro {
    text-align: center;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.contact-info {
    background-color: var(--primary-color);
    padding: 3rem 2rem;
}

.contact-card {
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.company-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    padding: 3rem 2rem;
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #234876;
    transform: translateY(-2px);
}

.button-icon {
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(5px);
}

/* Form message and reCAPTCHA styles */
#form-message {
    margin: 15px 0;
    padding: 10px;
    border-radius: 8px;
    display: none;
}

#form-message:not(:empty) {
    display: block;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.g-recaptcha {
    margin: 15px 0;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .contact-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    overflow: hidden;
}

.testimonials-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    margin: 0 40px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.testimonial-card.current-slide {
    opacity: 1;
    visibility: visible;
}

.testimonial-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: auto;
    min-height: 100px;
}

.testimonial-image {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
}

.silhouette-icon {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
    opacity: 0.8;
}

.testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 320px;
}

.testimonial-content p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--light-gray);
}

.author-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.author-title {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin: 0;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    left: -1rem;
    top: -1rem;
    line-height: 1;
}

.testimonial-author {
    border-top: 2px solid var(--light-gray);
    padding-top: 1rem;
}

.author-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    left: -1rem;
    right: -1rem;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.carousel-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

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

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

.carousel-nav {
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.carousel-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-card {
        max-width: 320px;
    }

    .testimonial-inner {
        padding: 0.875rem;
        gap: 0.625rem;
        min-height: 90px;
    }

    .testimonial-image {
        width: 32px;
        height: 32px;
    }

    .silhouette-icon {
        width: 16px;
        height: 16px;
    }

    .testimonial-content {
        max-width: 260px;
    }

    .testimonial-content p {
        font-size: 0.85rem;
    }

    .carousel-nav {
        left: -15px;
        right: -15px;
    }

    .carousel-btn {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }

    .carousel-dots {
        margin-top: 0.75rem;
    }

    .dot {
        width: 6px;
        height: 6px;
    }
}

/* Seasonal visibility fallback */
.season-hidden {
    display: none !important;
}

/* Service card button styling */
.service-card .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.service-card .btn:hover {
    background-color: #234876;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-section h2 {
        font-size: 2rem;
    }
}
