/*
Theme Name: TECHHUT Legal
Theme URI: https://techhut.co.za
Author: TECHHUT
Author URI: https://techhut.co.za
Description: A beautiful one-page WordPress theme for TECHHUT Legal - Legal Tech Consulting
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techhut
*/

/* ===========================
   CSS Variables - Gold & Black Theme
   =========================== */
:root {
    --gold-primary: #B8985F;
    --gold-light: #D4B892;
    --gold-dark: #8B7355;
    --black-primary: #1a1a1a;
    --black-secondary: #2d2d2d;
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --gray-medium: #666666;
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===========================
   Advanced Animations & Keyframes
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--gold-primary), 0 0 10px var(--gold-primary);
    }
    50% {
        box-shadow: 0 0 20px var(--gold-primary), 0 0 30px var(--gold-primary), 0 0 40px var(--gold-primary);
    }
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--black-primary);
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
}

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

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

ul {
    list-style: none;
}

/* ===========================
   Header & Navigation
   =========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.8s ease-out;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 60px;
    width: auto;
    animation: fadeInLeft 1s ease-out;
}

.site-logo:hover img {
    animation: bounce 1s ease;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
}

.main-navigation ul li {
    animation: fadeInDown 0.8s ease-out backwards;
}

.main-navigation ul li:nth-child(1) { animation-delay: 0.1s; }
.main-navigation ul li:nth-child(2) { animation-delay: 0.2s; }
.main-navigation ul li:nth-child(3) { animation-delay: 0.3s; }
.main-navigation ul li:nth-child(4) { animation-delay: 0.4s; }
.main-navigation ul li:nth-child(5) { animation-delay: 0.5s; }
.main-navigation ul li:nth-child(6) { animation-delay: 0.6s; }

.main-navigation a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--gold-primary);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 80%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===========================
   Hero Slider Section
   =========================== */
.hero-slider {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.45) 0%, rgba(26, 26, 26, 0.25) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 1100px;
    padding: 2rem;
    animation: slideUp 1s ease-out;
    z-index: 4;
    position: relative;
}

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

.slide-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
}

.slide-content .gold-text {
    color: var(--gold-primary);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 0, 0, 0.6);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    background: var(--gold-primary);
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(184, 152, 95, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: var(--gold-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(184, 152, 95, 0.5);
    animation: glow 2s ease-in-out infinite;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: var(--gold-primary);
    border-color: var(--white);
    transform: scale(1.3);
    box-shadow: 0 3px 12px rgba(184, 152, 95, 0.5);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(184, 152, 95, 0.7);
    color: var(--white);
    border: none;
    font-size: 2rem;
    padding: 1.2rem 1.7rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-arrow:hover {
    background: var(--gold-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 152, 95, 0.5);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: 100px 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--black-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-primary);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--gray-medium);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* ===========================
   Stats Section
   =========================== */
.stats-section {
    background: linear-gradient(135deg, var(--black-primary) 0%, var(--black-secondary) 100%);
    padding: 80px 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.stat-icon svg {
    width: 60px;
    height: 60px;
    color: var(--gold-primary);
    filter: drop-shadow(0 4px 8px rgba(184, 152, 95, 0.3));
}

.stat-item:nth-child(1) .stat-icon { animation-delay: 0s; }
.stat-item:nth-child(2) .stat-icon { animation-delay: 0.5s; }
.stat-item:nth-child(3) .stat-icon { animation-delay: 1s; }
.stat-item:nth-child(4) .stat-icon { animation-delay: 1.5s; }

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(184, 152, 95, 0.5);
}

.stat-label-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-light);
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* ===========================
   About Section
   =========================== */
#about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2.5rem;
    color: var(--black-primary);
    margin-bottom: 1.5rem;
}

.about-text h3 .gold-text {
    color: var(--gold-primary);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.about-image-slider {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.about-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.about-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.about-dot.active {
    background: var(--gold-primary);
    border-color: var(--white);
    transform: scale(1.2);
}

/* Certification Badges */
.certification-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--gray-light);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.badge::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(184, 152, 95, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left-width: 6px;
}

.badge:hover::after {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.badge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon svg {
    width: 30px;
    height: 30px;
    color: var(--gold-primary);
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    color: var(--black-primary);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.badge-text span {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* ===========================
   Services Section
   =========================== */
#services {
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-slow);
    border-top: 4px solid var(--gold-primary);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 152, 95, 0.1), transparent);
    transition: var(--transition-slow);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top-width: 6px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-bounce);
}

.service-icon svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(184, 152, 95, 0.4);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--black-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-medium);
    line-height: 1.7;
}

/* ===========================
   Why Choose Us Section
   =========================== */
#why-choose {
    background: var(--black-primary);
    color: var(--white);
}

#why-choose .section-title h2,
#why-choose .section-title p {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    background: var(--black-secondary);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(184, 152, 95, 0.1);
    transform: translateX(10px);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(184, 152, 95, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.why-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold-primary);
}

.why-item:hover .why-icon {
    background: var(--gold-primary);
    transform: scale(1.1);
}

.why-item:hover .why-icon svg {
    color: var(--white);
}

.why-item h4 {
    color: var(--gold-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.why-item p {
    color: var(--gray-light);
}

/* ===========================
   Who We Serve Section
   =========================== */
#who-we-serve {
    background: var(--white);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.serve-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.serve-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.serve-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95), transparent);
    padding: 2rem;
    transform: translateY(60%);
    transition: var(--transition);
}

.serve-card:hover .serve-overlay {
    transform: translateY(0);
}

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

.serve-overlay h3 {
    color: var(--gold-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.serve-overlay p {
    color: var(--white);
    line-height: 1.7;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials-section {
    background: var(--gray-light);
}

.testimonials-slider {
    position: relative;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 60px;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    overflow: hidden;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}


.testimonial-stars {
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    display: inline-block;
}

/* Testimonial Slider Controls */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold-primary);
    color: var(--white);
    border: none;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.testimonial-arrow:hover {
    background: var(--gold-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 152, 95, 0.4);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gray-medium);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonial-dot:hover {
    background: var(--gold-light);
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: var(--gold-primary);
    border-color: var(--gold-light);
    transform: scale(1.3);
    box-shadow: 0 3px 12px rgba(184, 152, 95, 0.5);
}

.testimonial-text {
    color: var(--gray-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-light);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--black-primary);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* ===========================
   CTA Banner Section
   =========================== */
.cta-banner {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
    padding: 80px 2rem;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: var(--white);
    color: var(--gold-primary);
}

.cta-button.primary:hover {
    background: var(--black-primary);
    color: var(--white);
    transform: translateY(-3px);
}

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

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--gold-primary);
    transform: translateY(-3px);
}

/* ===========================
   Contact Section
   =========================== */
#contact {
    background: var(--gray-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--black-primary);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    color: var(--white);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(184, 152, 95, 0.4);
}

.contact-details h4 {
    color: var(--black-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-medium);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* ===========================
   Contact Form 7 Custom Styling
   =========================== */

/* Form paragraph spacing */
.wpcf7 p {
    margin-bottom: 1.5rem;
}

/* Label styling */
.wpcf7 label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black-primary);
    font-weight: 500;
    font-size: 1rem;
}

/* Input field styling */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-select,
.wpcf7-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

/* Focus state */
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(184, 152, 95, 0.1);
}

/* Textarea specific */
.wpcf7-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Select dropdown styling */
.wpcf7-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
}

/* Checkbox styling */
.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: center;
}

.wpcf7-acceptance input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--gold-primary);
}

.wpcf7-acceptance label {
    display: inline;
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

/* Submit button */
.wpcf7-submit {
    background: var(--gold-primary);
    color: var(--white);
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    position: relative;
}

.wpcf7-submit:hover:not(:disabled) {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 152, 95, 0.3);
}

.wpcf7-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Spinner */
.wpcf7-spinner {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Response messages */
.wpcf7-response-output {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.wpcf7-mail-sent-ng {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* Validation error text */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* Invalid field styling */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc3545;
}

/* Screen reader text */
.screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

/* Hidden fields */
.hidden-fields-container {
    display: none;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background: var(--black-primary);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-column h4 {
    color: var(--gold-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 70px;
}

.footer-description {
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gold-primary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.contact-icon-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.contact-icon-small svg {
    width: 18px;
    height: 18px;
    color: var(--gold-primary);
}

.footer-contact a {
    color: var(--gray-light);
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-medium);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-links a {
    color: var(--gray-light);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--gold-primary);
}

.footer-bottom .gold-text {
    color: var(--gold-primary);
}

/* ===========================
   Floating WhatsApp Button
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-button {
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* WhatsApp tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--black-primary);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--black-primary);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Mobile WhatsApp adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 60px;
        height: 60px;
    }

    .whatsapp-button svg {
        width: 32px;
        height: 32px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
    }

    .whatsapp-button svg {
        width: 30px;
        height: 30px;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black-primary);
        padding: 2rem;
        display: none;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }

    /* Hero Slider Mobile Improvements */
    .hero-slider {
        height: 100vh;
        width: 100vw;
    }

    .slide-content {
        padding: 1.5rem;
        max-width: 100%;
    }

    .slide-content h1 {
        font-size: 2.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    /* Slider Controls Mobile */
    .slider-arrow {
        padding: 0.8rem 1.2rem;
        font-size: 1.5rem;
        background: rgba(184, 152, 95, 0.8);
        top: auto;
        bottom: 80px;
        transform: translateY(0);
    }

    .slider-arrow:hover {
        transform: translateY(0) scale(1.05);
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-controls {
        bottom: 30px;
        gap: 15px;
    }

    .slider-dot {
        width: 12px;
        height: 12px;
    }

    /* Section adjustments */
    .section-title h2 {
        font-size: 2rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image-slider {
        height: 350px;
    }

    .services-grid,
    .serve-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* New sections mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .service-card,
    .why-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label-title {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .certification-badges {
        flex-direction: column;
    }

    .testimonials-slider {
        padding: 0 40px;
    }

    .testimonial-arrow {
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .hero-slider {
        height: 100vh;
        width: 100vw;
    }

    .slide-content {
        padding: 1rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .slider-arrow {
        padding: 0.6rem 1rem;
        font-size: 1.3rem;
        bottom: 70px;
    }

    .slider-arrow.prev {
        left: 5px;
    }

    .slider-arrow.next {
        right: 5px;
    }

    .slider-controls {
        bottom: 20px;
        gap: 12px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    section {
        padding: 50px 1rem;
    }

    .testimonials-slider {
        padding: 0 20px;
    }

    .testimonial-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-dots {
        gap: 8px;
    }

    .testimonial-dot {
        width: 10px;
        height: 10px;
    }

    /* Contact Form 7 mobile adjustments */
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .wpcf7-text,
    .wpcf7-email,
    .wpcf7-tel,
    .wpcf7-select,
    .wpcf7-textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .wpcf7-submit {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .site-logo img {
        height: 45px;
    }

    .header-container {
        padding: 0.8rem 1rem;
    }

    /* Extra small mobile - new sections */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label-title {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .stat-icon svg {
        width: 40px;
        height: 40px;
    }

    .about-image-slider {
        height: 280px;
    }

    .service-card,
    .why-item,
    .serve-card {
        padding: 1.2rem;
    }

    .service-icon svg,
    .why-icon svg {
        width: 24px;
        height: 24px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .contact-info-item {
        padding: 1rem;
    }

    .contact-info-item svg {
        width: 28px;
        height: 28px;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-column h4 {
        font-size: 1.1rem;
    }
}

/* ===========================
   Tablet Landscape Optimization
   =========================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        padding: 1rem 1.5rem;
    }

    section {
        padding: 80px 2rem;
    }

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

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

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

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

}

/* Remove old testimonials grid reference for tablet */

/* ===========================
   Small Tablet Optimization
   =========================== */
@media (min-width: 481px) and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .service-card h3 {
        font-size: 1.2rem;
    }

    .slide-content h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .about-slider-dots {
        gap: 12px;
    }

    .about-dot {
        width: 12px;
        height: 12px;
    }
}

/* ===========================
   Touch Target Improvements
   =========================== */
@media (max-width: 768px) {
    /* Ensure all interactive elements are at least 44x44px for touch */
    .nav-link {
        padding: 1rem;
        display: block;
    }

    .slider-arrow {
        min-width: 44px;
        min-height: 44px;
    }

    .slider-dot {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
    }

    .about-dot {
        min-width: 44px;
        min-height: 44px;
        padding: 12px;
    }

    .social-icon {
        min-width: 48px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .submit-button,
    .cta-button {
        min-height: 48px;
        padding: 1rem 2rem;
    }
}
