/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: rgba(249, 220, 236, 0.28);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

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

/* Pinned Contact Details */
.contact-box {
    position: fixed;
    top: 2px;
    right: 20px;
    z-index: 1001;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-box a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.contact-box a:hover {
    color: var(--primary-color);
}

.contact-box .whatsapp-link {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.contact-box .whatsapp-link img:first-of-type {
    width: 18px;
    height: 18px;
}

.contact-box .whatsapp-link .qr-code {
    position: fixed;
    top: 50px;
    right: 20px;
    width: 120px;
    height: 120px;
    padding: 8px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-box .whatsapp-link .qr-code.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Hide contact box on mobile */
@media (max-width: 768px) {
    .contact-box {
        display: none;
    }
}

/* Hide navbar contact info on desktop */
.contact-info-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .contact-info-mobile {
        display: flex !important;
    }
}

/* Transparent state for contact box */
body:not(.scrolled) .contact-box {
    background: transparent;
    border: none;
    backdrop-filter: none;
}

body:not(.scrolled) .contact-box a {
    color: var(--text-dark);
}

/* Navigation */
.navbar {
    background: var(--white) !important;
    box-shadow: var(--shadow);
    border-bottom: 3px solid rgba(149, 113, 70, 0.6);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: var(--white) !important;
    box-shadow: var(--shadow);
}

/* Keep nav text and logo dark on transparent navbar */
.navbar:not(.scrolled) .logo-container img {
    filter: none;
    transition: filter 0.3s ease;
}

.navbar:not(.scrolled) .logo-tagline {
    color: var(--text-dark) !important;
}

.navbar:not(.scrolled) .nav-link {
    color: var(--text-dark) !important;
}

.navbar:not(.scrolled) .nav-menu > li:last-child a {
    color: var(--text-dark) !important;
}

.navbar:not(.scrolled) .nav-menu > li:last-child a span {
    color: var(--text-dark) !important;
}

/* Return to normal colors when scrolled */
.navbar.scrolled .logo-container img {
    filter: none;
    transition: filter 0.3s ease;
}

.navbar.scrolled .logo-tagline {
    color: var(--text-dark) !important;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark) !important;
}

.navbar.scrolled .nav-menu > li:last-child a {
    color: var(--text-dark) !important;
}

.navbar.scrolled .nav-menu > li:last-child a span {
    color: var(--text-dark) !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
    background: transparent;
    transition: padding 0.3s ease, min-height 0.3s ease;
}

.navbar.scrolled .nav-container {
    padding: 3px 20px 3px 20px;
    min-height: 35px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-container img {
    width: 225px !important;
    height: auto !important;
    transition: width 0.3s ease;
}

.navbar.scrolled .logo-container img {
    width: 130px !important;
}

.logo-tagline {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-top: -5px;
    text-align: center;
    transition: color 0.3s ease, font-size 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
}

.navbar.scrolled .logo-tagline {
    margin-top: -2px;
    font-size: 0.75rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 74px auto 0 auto;
    padding-left: 350px;
    transition: margin 0.3s ease;
}

.navbar.scrolled .nav-menu {
    margin: 0 auto;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.5rem;
    padding: 2px 1px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(65, 54, 72, 0.15);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link i.fa-chevron-down {
    font-size: 0.75rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    list-style: none;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-top: 20px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Mega Menu */
.mega-menu {
    position: relative;
}

.mega-menu-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    gap: 40px;
    min-width: 900px;
    z-index: 1000;
}

.mega-menu:hover .mega-menu-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-column {
    flex: 1;
    min-width: 150px;
}

.mega-menu-column h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.mega-menu-column h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.mega-menu-column h3 a:hover {
    color: var(--secondary-color);
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    padding: 8px 0;
}

.mega-menu-column ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
    font-size: 0.95rem;
}

.mega-menu-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hcomb1.png');
    background-repeat: repeat;
    background-size: 800px auto;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
        #000000 0%,
        transparent 25%,
        transparent 75%,
        #000000 100%);
    pointer-events: none;
    z-index: 2;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.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;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 9, 5, 20), rgba(173, 165, 206, 0.51));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 2.4rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
    margin: 0;
    font-size: 1.1rem;
    color: var(--white);
}

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

/* Hero Section - Laptop Version */
.hero-laptop {
    background: transparent;
    flex-direction: column;
    padding: 120px 20px 40px 20px;
}

.laptop-container {
    position: relative;
    z-index: 10;
    width: 55%;
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 5;
}

.laptop-screen-content {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 60%;
    padding: 20px;
}

.hero-laptop .hero-title {
    font-size: clamp(1rem, 4.5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
    animation: fadeInUp 1s ease;
}

.hero-laptop .hero-tagline {
    font-size: clamp(0.5rem, 1.2vw, 0.9rem);
    margin-bottom: 0;
    color: var(--text-dark);
    line-height: 1.3;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons-bottom {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    animation: fadeInUp 1s ease 0.4s both;
    flex-wrap: wrap;
}

.hero-buttons-bottom .hero-subtitle {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Responsive adjustments for laptop hero */
@media (max-width: 1200px) {
    .laptop-screen-content {
        width: 55%;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .hero-laptop {
        padding: 20px 10px;
    }

    .laptop-container {
        width: 95%;
    }

    .laptop-screen-content {
        width: 50%;
        padding: 10px;
    }

    .hero-laptop .hero-title {
        margin-bottom: 8px;
    }

    .hero-buttons-bottom {
        flex-direction: row;
        gap: 15px;
        margin-top: 20px;
    }

    .hero-buttons-bottom .hero-subtitle {
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .laptop-screen-content {
        width: 48%;
        padding: 5px;
    }

    .hero-laptop .hero-tagline {
        line-height: 1.2;
    }

    .hero-buttons-bottom {
        gap: 10px;
    }
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: var(--white);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
}

.services-overview h1,
.services-overview h3,
.services-overview p {
    text-align: left;
    color: var(--text-dark);
}

.services-overview h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services-overview h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: normal;
}

.services-overview p {
    font-size: 1.1rem;
}

.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 12px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 10px 0;
    position: relative;
    background: var(--white);
}

.contact-form-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 102%;
    height: 112%;
    background-image: url('../images/hcomb1.png');
    background-repeat: repeat;
    background-size: 328px auto;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, white 30%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, white 30%);
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

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

.form-group textarea {
    resize: vertical;
}

.captcha-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.captcha-placeholder {
    background: #f0f0f0;
    padding: 20px 40px;
    border-radius: 8px;
    color: var(--text-light);
    border: 2px dashed #d1d5db;
    text-align: center;
}

/* Form Messages */
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

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

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

/* Content Pages */
.page-header {
    background: #2d2d2d;
    color: var(--white);
    padding: 90px 0 90px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hcomb1.png');
    background-repeat: repeat;
    background-size: 400px auto;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Contact Layout - Side by Side */
.contact-layout {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.contact-details {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    border-radius: 25px;
    flex: 0 0 auto;
    width: 635px;
}

.contact-form-wrapper {
    flex: 1;
}

@media (max-width: 992px) {
    .contact-layout {
        flex-direction: column;
    }

    .contact-details {
        width: 100%;
    }
}

.page-header .contact-details {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    margin-top: 0;
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-header .contact-item {
    color: var(--text-dark);
}

.page-header .contact-item i {
    color: var(--primary-color);
}

.page-header .contact-item-content h4 {
    color: var(--text-dark);
}

.page-header .contact-item-content p {
    color: var(--text-light);
}

.content-section {
    padding: 80px 0;
    position: relative;
    background: var(--white);
}

/* Add honeycomb overlay to all content sections */
.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/honeycomb_texture.png');
    background-repeat: repeat;
    background-size: 200px auto;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.content-section .container {
    position: relative;
    z-index: 1;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

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

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-details {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.contact-details h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item-content p {
    color: var(--text-light);
}

/* Contact Methods Grid */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .contact-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
}

.contact-item-content h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-icon-inline {
    font-size: 20px;
    color: var(--primary-color);
}

.page-header .contact-icon-inline {
    color: var(--primary-color);
}

/* Contact Table - Simple Plain Styling */
.contact-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-table td {
    padding: 8px 12px;
    vertical-align: top;
    color: #000;
}

.contact-table tr:not(:last-child) td {
    border-bottom: 1px solid #ddd;
}

.contact-table td:first-child {
    border-right: 1px solid #ddd;
    width: 30%;
    font-weight: 600;
}

.contact-table .contact-icon-inline {
    margin-right: 10px;
    vertical-align: middle;
}

.contact-table p {
    color: #000;
    margin: 5px 0;
}

/* Services Page Layout with Floating Menu */
.services-page-layout {
    display: flex;
    gap: 40px;
    position: relative;
}

.services-floating-menu {
    position: sticky;
    top: 120px;
    align-self: flex-start;
    width: 250px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 10;
}

.services-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-nav-item {
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.service-nav-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.service-nav-item.active {
    background: var(--primary-color);
    color: var(--white);
}

.services-content-area {
    flex: 1;
}

.service-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.service-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.service-item {
    margin-bottom: 30px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .services-page-layout {
        flex-direction: column;
    }

    .services-floating-menu {
        position: static;
        width: 100%;
    }

    .services-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-nav-item {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* WhatsApp Contact Section */
.whatsapp-contact {
    text-align: center;
}

.whatsapp-icon-inline {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.whatsapp-qr-display {
    width: 150px;
    height: 150px;
    margin-top: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 8px;
    background: white;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Services Layout */
.services-layout {
    display: flex;
    gap: 0;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    min-height: 500px;
}

.services-sidebar {
    width: 30%;
    background: var(--bg-light);
    border-right: 3px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.service-category-item {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.service-category-item:last-child {
    border-bottom: none;
}

.service-category-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
    transition: all 0.3s ease;
}

.service-category-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-category-item:hover {
    background: #f3f4f6;
}

.service-category-item.active {
    background: #e0e7ff;
}

.service-category-item.active i {
    font-size: 2.3rem;
}

.service-category-item.active h3 {
    font-size: 1.2rem;
}

.services-detail-panel {
    width: 70%;
    background: var(--white);
    position: relative;
    min-height: 500px;
}

.service-content {
    padding: 40px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-content.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

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

.service-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0 0 30px 0;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
}

.detail-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.detail-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive layout */
@media (max-width: 768px) {
    .services-layout {
        flex-direction: column;
    }

    .services-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 3px solid var(--primary-color);
    }

    .service-category-item {
        padding: 20px;
    }

    .services-detail-panel {
        width: 100%;
    }

    .service-content {
        padding: 25px;
    }

    .service-content h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .detail-item h4 {
        font-size: 1.1rem;
    }
}

.download-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
}

.download-box i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.download-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.download-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section:nth-child(1) {
    text-align: left;
}

.footer-section:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section:nth-child(2) h4,
.footer-section:nth-child(2) ul {
    text-align: left;
    align-self: flex-start;
}

.footer-section:nth-child(3) {
    text-align: right;
}

.footer-section:nth-child(3) ul {
    text-align: right;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul a:hover {
    color: var(--white);
}

.contact-info li {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #d1d5db;
}

.contact-info i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-contact-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact-btn:hover {
    background: #d4b319;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.floating-contact-btn i {
    font-size: 1.2rem;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 15px 0;
    }

    /* Keep contact info visible on mobile in nav bar, always visible */
    .nav-container {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-rows: auto auto !important;
        align-items: flex-start !important;
        gap: 5px 10px !important;
        padding-top: 15px !important;
    }

    /* Logo stays on left, spans both rows */
    .logo-container {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        align-self: center !important;
        justify-self: start !important;
    }

    /* Make logo smaller on mobile */
    .logo-container img {
        width: 130px !important;
        height: auto !important;
    }

    .logo-tagline {
        font-size: 0.7rem !important;
    }

    /* Hide nav menu on mobile */
    .nav-menu {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    /* Contact info in top right */
    .contact-info-mobile {
        grid-column: 2 !important;
        grid-row: 1 !important;
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 3px !important;
        padding: 0 !important;
        justify-self: end !important;
    }

    /* Hamburger below contact info */
    .hamburger {
        grid-column: 2 !important;
        grid-row: 2 !important;
        justify-self: end !important;
        margin-top: 0 !important;
    }

    /* Show phone, email, and WhatsApp stacked vertically on mobile - remove borders */
    .contact-info-mobile a[href^="tel"],
    .contact-info-mobile a[href^="mailto"] {
        display: block !important;
        font-size: 0.6rem !important;
        padding: 2px 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        white-space: nowrap !important;
        line-height: 1.3 !important;
    }

    /* Make WhatsApp link match the style - remove border */
    .contact-info-mobile .whatsapp-link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 3px !important;
        font-size: 0.85rem !important;
        padding: 2px 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        white-space: nowrap !important;
        line-height: 1.3 !important;
    }

    .contact-info-mobile .whatsapp-link img[alt="WhatsApp"] {
        width: 14px !important;
        height: 14px !important;
    }

    .contact-info-mobile .whatsapp-link span {
        font-size: 0.75rem !important;
    }

    @keyframes whatsappPulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.3);
        }
        100% {
            transform: scale(1);
        }
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        background: var(--bg-light);
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Contact form mobile adjustments - match contact-details width */
    .contact-form {
        padding: 24px;
        margin: 0 auto;
        width: 100%;
        max-width: 635px;
    }

    .page-header .contact-layout {
        padding: 0 15px;
    }

    .contact-form-wrapper {
        padding: 0;
        width: 100%;
        max-width: 635px;
        margin: 0 auto;
    }

    /* Make friendly team section text smaller on mobile */
    .container h2 {
        font-size: 2rem !important;
    }

    .container p {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .services-overview h2,
    .contact-form-section h2,
    .content-section h2 {
        font-size: 1.8rem;
    }
}

/* WhatsApp responsive display */
@media (min-width: 769px) {
    /* Desktop: Show all text including WhatsApp, hide QR code initially */
    .whatsapp-link span {
        display: inline-block !important;
        cursor: pointer;
    }
    .whatsapp-link img[alt="QR Code"] {
        display: inline-block !important;
        transition: all 0.3s ease;
        transform-origin: top right;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        width: 40px;
        height: 40px;
    }
    .whatsapp-link img[alt="WhatsApp"] {
        display: inline-block !important;
    }

    /* Make WhatsApp link not clickable on desktop - it's just for display and hover */
    .whatsapp-link {
        pointer-events: none !important;
        cursor: default !important;
    }

    /* Make text and QR code hoverable but not clickable */
    .whatsapp-link span,
    .whatsapp-link img {
        pointer-events: auto;
        cursor: default;
    }

}

@media (max-width: 768px) {
    /* Mobile: Show WhatsApp logo only, hide text and QR code, keep link active */
    .whatsapp-link img[alt="QR Code"] {
        display: none !important;
    }
    .whatsapp-link img[alt="WhatsApp"] {
        display: inline-block !important;
    }
    .whatsapp-link span {
        display: none !important;
    }

    /* Enable link on mobile */
    .whatsapp-link {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
}

/* Logo Carousel */
.logo-carousel-container {
    overflow: hidden;
    padding: 20px 0;
    background: var(--white);
    position: relative;
}

.logo-carousel {
    display: flex;
    gap: 60px;
    animation: scroll 60s linear infinite;
    width: fit-content;
    will-change: transform;
}

.logo-slide {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.logo-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.logo-carousel:hover {
    animation-play-state: paused;
}

.logo-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-260px * 9));
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-carousel {
        gap: 40px;
        animation: scroll 45s linear infinite;
    }

    .logo-slide {
        width: 150px;
        height: 80px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-190px * 9));
        }
    }
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 60px;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
}

.blog-date i {
    margin-right: 5px;
}

.blog-category {
    background: #667eea;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.blog-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Blog Post Page Styles */
.blog-post-header {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #764ba2;
}

.back-link i {
    margin-right: 8px;
}

.blog-post-header .blog-category {
    display: inline-block;
    margin-bottom: 15px;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

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

.blog-post-content .lead {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-post-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.blog-post-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-post-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.blog-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 50px;
}

.blog-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.blog-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fff;
}

.blog-cta .btn {
    background: #fff;
    color: #667eea;
}

.blog-cta .btn:hover {
    background: #f0f0f0;
    color: #764ba2;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-post-content h2 {
        font-size: 1.5rem;
    }

    .blog-cta {
        padding: 30px 20px;
    }
}
