/* =============================
   GENERAL STYLES & RESET
   ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fbbf24;
    --secondary-color: #1a2332;
    --dark-gray: #2d3748;
    --light-gray: #f9fafb;
    --white: #ffffff;
    --text-dark: #4a5568;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

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

/* =============================
   TOP BAR
   ============================= */
.top-bar {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    color: #e2e8f0;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar a {
    color: #e2e8f0;
    transition: color 0.3s;
}

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

.top-bar .text-warning {
    color: var(--primary-color) !important;
}

.review {
    background: var(--primary-color);
    padding: 5px 12px;
    border-radius: var(--border-radius);
    font-weight: 700;
    color: #515151!important;
}

.review:hover {
    background: #dda925;
    color: var(--white) !important;
}

/* =============================
   NAVIGATION
   ============================= */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
}

.navbar .logo {
    max-height: 55px;
    width: auto;
    transition: transform 0.4s ease;
}

.navbar .logo:hover {
    transform: scale(1.04) rotate(2deg);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.35s ease;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
    background: rgba(251, 191, 36, 0.1);
}

/* =============================
   HERO SECTION
   ============================= */
.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.85), rgba(45, 55, 72, 0.75));
    z-index: 2;
    animation: subtlePulse 8s infinite alternate;
}

@keyframes subtlePulse {
    0% {
        opacity: 0.92;
    }
    100% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 15px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* Contact Form in Hero */
.contact-form {
    background: rgba(26, 35, 50, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.contact-form button {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #000;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

/* =============================
   ABOUT SECTION
   ============================= */
.about {
    padding: 40px 15px;
    background: var(--white);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-dark);
}

.about a {
    color: black;
    font-weight: 700;
}

.about a:hover {
    text-decoration: underline;
}

/* =============================
   CORE VALUES SECTION
   ============================= */
.core-values {
    padding: 40px 15px;
    background: var(--secondary-color);
    color: var(--white);
}

.core-values h2 {
    font-size: 2.5rem;
    color: var(--white);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.core-values > .container > p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.value-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.15);
}

.value-box .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.5s ease;
}

.value-box:hover .icon {
    transform: scale(1.2) rotate(10deg);
}

.value-box h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 12px;
}

.value-box p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* =============================
   SERVICES SECTION
   ============================= */
.services {
    padding: 40px 15px;
    background: var(--light-gray);
}

.services h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.services > .container > p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 50px;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

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

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    padding: 20px 25px 10px;
}

.service-card ul {
    list-style: none;
    padding: 0 25px;
    margin-bottom: 20px;
}

.service-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-learn {
    display: inline-block;
    margin: 0 25px 25px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: black;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-learn:hover {
    background: #f59e0b;
    transform: translateX(5px);
}

/* =============================
   COMPANY ABOUT SECTION
   ============================= */
.company-about {
    padding: 40px 15px;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* =============================
   SERVICE AREAS SECTION
   ============================= */
.service-areas {
    padding: 40px 15px;
    background: var(--primary-color);
}

.service-areas h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.areas-list ul {
    list-style: none;
    padding: 0;
}

.areas-list ul li {
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
    text-align: center;
}

.areas-list ul li:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateX(5px);
}

.areas-map iframe {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.5s ease;
}

.areas-map:hover iframe {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* =============================
   TESTIMONIALS SECTION
   ============================= */
.testimonials {
    padding: 40px 15px;
    background: var(--white);
}

.testimonials h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.testimonial-card .rating {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card .rating i {
    animation: twinkle 1.5s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    flex-grow: 1;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-card span {
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
    text-align: right;
}

/* Swiper Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    color: var(--primary-color);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #b45309;
}

/* =============================
   FOOTER
   ============================= */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px 15px 20px;
}

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

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-col a {
    color: var(--white);
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footera {
    color: var(--primary-color);
    font-weight: 500;
}

.footera:hover {
    text-decoration: underline;
}

.maps{
    width: 100%;
    height: 500px;
    border: 0;
}

.cards{
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px; 
    max-width: 200px;
}

/* =============================
   RESPONSIVE DESIGN
   ============================= */

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
    .cards{
        max-width: 80%;
        margin: 5% 10%;
    }

    .maps{
        width: 100%;
        height: 300px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 40px 15px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: 8px;
    }

    .navmob {
        font-size: 0.85rem;
    }

    .hero {
        min-height: 550px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .about h2,
    .core-values h2,
    .services h2,
    .service-areas h2,
    .testimonials h2 {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 20px;
    }

    .value-box,
    .service-card {
        padding: 20px;
    }

    .about h2,
    .core-values h2,
    .services h2 {
        font-size: 1.75rem;
    }
}