/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    /* Color Palette */
    --primary-color: #fe6e00;
    --primary-dark: #d45a00;
    --primary-light: #ff8c33;
    --secondary-color: #2d2f34;
    --secondary-dark: #1f2124;
    --accent-yellow: #ffc107;
    --accent-hover: #e0a800;
    --dark-bg: #2d2f34;
    --darker-bg: #1f2124;
    --light-bg: #ffffff;
    --light-gray: #f4f4f4;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #666666;
    --border-color: #e0e0e0;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Spacing */
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Section Titles
   ======================================== */
.section-title {
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-bg);
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--accent-yellow);
    color: var(--dark-bg);
    border-color: var(--accent-yellow);
}

.btn-secondary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background-color: var(--dark-bg);
    padding: 12px 0;
    
   
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 30px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: var(--transition);
}

.top-bar-item:hover {
    color: var(--primary-color);
}

.top-bar-item i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 0.85rem;
    transition: var(--transition);
}

.top-bar-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.top-bar {
    background-color: var(--dark-bg);
    padding: 12px 0;
    position: relative;
}

/* Bottom Divider */
.top-bar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 97%;
    height: 1px;
    background-color: #d3d3d3; /* Light Grey */
}
/* ========================================
   Header / Navbar
   ======================================== */
.header {
    background-color: var(--dark-bg);
    padding: 20px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.logo i {
    color: var(--accent-yellow);
    font-size: 1.8rem;
}

.logo span {
    color: var(--primary-color);
}

.navbar {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-yellow);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
}

.header-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('image/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 20px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 33, 62, 0.85);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    color: var(--text-light);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 35px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-choose-modern {
    padding: 100px 0;
    background: #f8f9fa;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    border: 1px solid #eee;
}

.why-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
}

.why-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
}

.why-item h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}

/* Responsive */
@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   About Section
   ======================================== */
/* About Modern Section */
.about-modern {
    padding: 100px 0;
    background: #ffffff; /* Main container stays white */
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* Image Side */
.about-modern-image {
    position: relative;
}

.about-modern-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

.about-modern-image img:hover {
    transform: scale(1.03);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
}

/* Content Side with Dark Background */
.about-modern-content {
    background: #1e1e1e;
    padding: 50px;
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.about-heading {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.about-subheading {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 25px;
}

.about-modern-content p {
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Features Grid */
.about-modern-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* About Call Button */
.about-cta {
    margin-top: 30px;
}

.about-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.about-phone-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
}

.about-phone-btn i {
    font-size: 0.9rem;
}
/* Responsive */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-modern-content {
        padding: 35px;
    }

    .about-modern-features {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-yellow));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(254, 110, 0, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--text-light);
}

.service-card h3 {
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 0;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--section-padding);
    background-color: var(--dark-bg);
}

.contact .section-title {
    color: var(--text-light);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-details h3 {
    color: var(--accent-yellow);
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-details a {
    color: var(--text-light);
}

.contact-details a:hover {
    color: var(--accent-yellow);
}

.contact-cta {
    background-color: var(--darker-bg);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-cta h3 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.reviews {
    padding: 100px 0;
    background: #f8f9fa;
    text-align: center;
}

.reviews .section-title {
    font-size: 2rem;
    margin-bottom: 50px;
}

/* Row style with horizontal scroll */
.reviews-row {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.review-card {
    flex: 0 0 32%; /* 3 cards visible in desktop */
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f5c518; /* gold stars */
    margin-bottom: 15px;
}

.review-rating span {
    margin-left: 8px;
    color: #333;
    font-weight: 600;
}

.review-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.review-author {
    font-weight: 600;
    color: #222;
    font-size: 0.9rem;
}

/* Hide scrollbar for clean look */
.reviews-row::-webkit-scrollbar {
    display: none;
}
.reviews-row {
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;      /* Firefox */
}

/* Responsive */
@media (max-width: 992px) {
    .review-card {
        flex: 0 0 80%; /* show 1 card at a time */
    }
}

@media (max-width: 576px) {
    .review-card {
        flex: 0 0 100%;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--darker-bg);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h4 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Large Desktop - 1024px */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablet - 768px */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Top Bar */
    .top-bar {
        display: none;
    }
    
    /* Header */
    .hamburger {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 2;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    /* Hero */
    .hero {
        padding: 80px 20px 60px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Why Choose Us */
    .why-choose-us {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* About */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .about-list {
        grid-template-columns: 1fr;
    }
    
    /* Services */
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contact */
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Hero */
    .hero {
        padding: 70px 15px 50px;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 30px 20px;
    }
    
    /* Contact */
    @media (max-width: 576px) {
    .contact-item {
        flex-direction: row; /* icon and text side by side */
        text-align: left;    /* text aligned left */
        align-items: center; /* vertically center icon and text */
        gap: 15px;           /* space between icon and text */
    }

    .contact-icon {
        margin: 0; /* remove auto centering */
    }

    .contact-details h3,
    .contact-details p {
        text-align: left; /* text aligned left */
    }
}
    
    /* Footer */
    .footer-about h4 {
        font-size: 1.3rem;
    }
}
