:root {
    --primary-color: #fbbf24;
    --primary-hover: #d97706;
    --secondary-color: #2563eb;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --container-width: 1200px;
    --transition: all 0.3s ease;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
}

img,
iframe,
video,
.container,
.section,
header,
footer,
main {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

.btn-white {
    background: #fff;
    color: var(--dark-bg);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
}

.logo-icon {
    display: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-loaded .logo-text {
    display: none !important;
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 140px;
    }
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.brand-sub {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.navbar {
    display: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    padding: 8px 16px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
}

@media (min-width: 992px) {
    .navbar {
        display: flex;
        gap: 10px;
    }

    .mobile-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    background: var(--darker-bg);
    z-index: 2000;
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.close-menu {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-links a {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.8)), url('../img/hero-bg.png') center/cover no-repeat;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0f172a 0%, rgba(15, 23, 42, 0.85) 55%, rgba(15, 23, 42, 0.25) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    background: rgba(251, 191, 36, 0.15);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    max-width: 600px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-bg .overlay {
        background: rgba(15, 23, 42, 0.85);
    }

    .hero-section {
        padding-top: 130px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .header-actions {
        gap: 10px;
    }

    .header-actions .btn-primary {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        padding-top: 30px;
    }

    .stat-item {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .stat-num {
        font-size: 1.5rem;
        min-width: 45px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        gap: 5px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn-primary {
        width: 42px;
        height: 42px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--primary-color);
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    }

    .header-actions .btn-primary span {
        display: none !important;
    }

    .header-actions .btn-primary svg {
        margin: 0;
        width: 20px;
        height: 20px;
    }

    .mobile-toggle {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 0;
    }
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-tag {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    word-break: break-word;
    /* Ensure titles wrap */
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services */
.services-section {
    background-color: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    /* Reduced padding from 30px */
    border-radius: 12px;
    /* Slightly tighter radius */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    /* Reduced hover movement */
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card .card-icon {
    color: var(--primary-color);
    background: rgba(251, 191, 36, 0.1);
    width: 50px;
    /* Reduced from 60px */
    height: 50px;
    /* Reduced from 60px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* Reduced from 1.8rem */
    margin-bottom: 15px;
    /* Reduced margin */
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: var(--primary-color);
    color: #000;
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.2rem;
    /* Reduced from 1.5rem */
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    /* Slightly smaller text */
    line-height: 1.5;
}


/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;

}

.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.img-wrapper img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.about-image:hover .img-wrapper img {
    transform: scale(1.03);
}

/* Why Us Badge (Over Image) */
.why-us-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--dark-bg);
    border: 1px solid var(--primary-color);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
    text-align: center;
}

.why-us-badge h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.why-us-badge span {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns for 6 items */
    gap: 15px;
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    /* Align to top for longer text */
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    line-height: 1.4;
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 3px;
    /* visual alignment */
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .why-us-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px 0 0 0;
        width: 100%;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

/* CTA Strip */
.cta-strip {
    background: linear-gradient(135deg, var(--primary-color) 0%, #fb923c 100%);
    padding: 60px 0;
    color: #000;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-text p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Contact */
.contact-section {
    background-color: var(--darker-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contact-info-card {
    padding: 30px;
    /* Reduced from 40px */
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 480px) {
    .contact-info-card {
        padding: 20px;
    }
}

.info-item {
    display: flex;
    gap: 15px;
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 5px;
    color: #fff;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.map-container {
    min-height: 400px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background-color: #000;
    padding: 80px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-col p {
    color: var(--text-muted);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Action Bar */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}

.call-btn {
    background: var(--primary-color);
    color: #000;
    margin-right: 10px;
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
}

@media (max-width: 768px) {
    .mobile-action-bar {
        display: flex;
    }

    .footer {
        padding-bottom: 90px;
    }
}

/* Service Regions Section */
.regions-section {
    background: linear-gradient(to bottom, var(--dark-bg), var(--darker-bg));
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

@media (max-width: 480px) {
    .regions-grid {
        grid-template-columns: 1fr;
    }
}

.region-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.region-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.region-card:hover::before {
    opacity: 1;
}

.region-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.region-name i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.region-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}



/* Gallery */
.gallery-section {
    background-color: var(--dark-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.main-item {
    grid-row: 1 / span 2;
}

.overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .main-item {
        grid-row: auto;
        height: 300px;
    }

    .gallery-item {
        height: 250px;
    }
}