:root {
    --primary: #3F918F;
    --primary-dark: #3a3c40;
    --secondary: #7E7E7E;
    --light: #F8F8F8;
    --dark: #0F254A;
    --gradient-gray: linear-gradient(135deg, #fff, #a6a6a6);
    --gradient-green: linear-gradient(135deg, #3F918F, #0F254A);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* Header */
header {
    background: linear-gradient(to left, #a6a6a6 0%, #d9d9d9 30%, #ffffff 100%);
    color: var(--primary);
    padding: 0.8rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 75px;
    width: 250px;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 100%;
    max-width: 100%;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.15));
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-mobile {
    display: none;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

nav ul li a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    background: rgba(135, 145, 155, 0.80);
    padding: 3rem;
    border-radius: 15px;
    max-width: 800px;
    text-align: center;
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s forwards 0.5s;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-content h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline {
    background: transparent;
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--primary);
}

.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Sections */
section {
    padding: 5rem 5%;
}

.section-header {
    text-align: center;
    padding: 1.2rem 5%;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About */
.about-section {
    background: white;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--secondary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    color: white;
}

.services-grid-first {
    margin-bottom: 10px;
}

.services-grid-second {
    margin-top: 10px;
}

.service-card {
    background: var(--gradient-green);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact */
.contact-section {
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.contact-item,
.contact-combo {
    min-width: 0;
    max-width: none;
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;

    text-align: center;
    border: 1px solid gray;
    padding: 25px 12px;
    border-radius: 7px;
    background: white;
    min-height: 260px;

    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.contact-item:hover {
    cursor: pointer;
    border-color: var(--primary);
    background: rgba(63, 145, 143, 0.05);
    box-shadow: rgba(63, 145, 143, 0.2) 0px 4px 15px;
    transform: translateY(-2px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.5rem;
    color: white;
}

.contact-details h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.contact-details p {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-details a {
    color: var(--secondary);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Phone + WhatsApp in one card space */
.contact-info .contact-combo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
    border: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
    min-height: 0;
}

.contact-info .contact-combo .mini-contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;

    text-align: center;
    border: 1px solid gray;
    border-radius: 7px;
    padding: 25px 10px;
    background: #fff;
    min-height: 260px;
    height: 100%;

    text-decoration: none;
    color: inherit;

    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.contact-info .contact-combo .mini-contact-card:hover .contact-details p {
    color: var(--primary);
}

.contact-info .contact-combo .mini-contact-card:hover {
    cursor: pointer;
    border-color: var(--primary);
    background: rgba(63, 145, 143, 0.05);
    box-shadow: rgba(63, 145, 143, 0.2) 0px 4px 15px;
    transform: translateY(-2px);
}

.contact-info .contact-combo .mini-contact-card .contact-icon {
    margin: 0 auto;
    width: 60px;
    height: 60px;
}

.contact-info .contact-combo .mini-contact-card .contact-details h4 {
    font-size: 1.3rem;
}

.contact-info .contact-combo .mini-contact-card .contact-details p {
    font-size: 1rem;
    word-break: break-word;
}

/* Footer */
footer {
    font-family: 'Open Sans', sans-serif;
}

.copyright {
    background: linear-gradient(to left, #a6a6a6 0%, #d9d9d9 30%, #ffffff 100%);
    text-align: center;
    padding: 20px;
    border-top: 1px solid #3F918F;
    font-size: 14px;
    color: var(--primary);
}

/* Scroll To Top */
#scrollToTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;

    background-color: var(--primary);
    color: white;
    border: none;
    outline: none;

    width: 50px;
    height: 50px;
    border-radius: 50%;

    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }

    .about-image {
        max-width: 600px;
    }

    nav ul {
        gap: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-combo {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 70px;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;

        flex-direction: column;
        background: var(--gradient-gray);

        width: 100%;
        height: calc(100vh - 80px);

        padding: 2rem;
        transition: left 0.3s ease;
    }

    nav ul.active {
        left: 0;
    }

    .slide-content {
        padding: 2rem;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-outline {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 60px;
    }

    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
        height: 60px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .slide-content h2 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .contact-combo {
        grid-template-columns: 1fr;
    }

    .mini-contact-card {
        width: 100%;
    }
}