@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ============================================
   GEORGE ELECTRICAL - PROFESSIONAL DARK THEME
   ============================================ */

:root {
    /* Brand Colors */
    --primary-color: #000010;
    --secondary-color: #ff760d;
    --accent-color: #ffffff;
    --primary-bg: #000010;
    --secondary-bg: #0a0a1a;
    --card-bg: #12122a;
    --primary-text: #ffffff;
    --secondary-text: #b0b0c0;
    --muted-text: #707080;
    --border-color: rgba(255, 118, 13, 0.2);
    --glow-color: rgba(255, 118, 13, 0.3);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --section-padding: 6rem 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    font-family: var(--font-body);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.7;
    font-size: 16px;
}

main { 
    flex-grow: 1; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin: 0 0 1rem 0;
    color: var(--secondary-text);
}

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

a:hover {
    color: var(--accent-color);
}

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

/* ============================================
   NAVIGATION
   ============================================ */

header {
    background-color: rgba(0, 0, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-medium);
}

header.scrolled {
    background-color: rgba(0, 0, 16, 0.98);
    box-shadow: 0 4px 30px rgba(255, 118, 13, 0.1);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    height: 50px;
    width: auto;
    transition: transform var(--transition-medium);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--primary-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-medium);
}

.nav-links a:hover::after,
.nav-links a:focus::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--secondary-color);
}

.nav-links a:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 4px;
}

.nav-cta {
    background: linear-gradient(135deg, var(--secondary-color), #ff9500);
    color: var(--primary-bg) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 20px var(--glow-color);
    transition: all var(--transition-medium) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover,
.nav-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--glow-color);
    color: var(--primary-bg) !important;
}

.nav-cta:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--accent-color);
    transition: all var(--transition-medium);
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--secondary-bg);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right var(--transition-medium);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 16, 0.95) 0%, rgba(0, 0, 16, 0.8) 50%, rgba(0, 0, 16, 0.95) 100%);
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animated background elements */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.hero-particles::before {
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.hero-particles::after {
    bottom: 10%;
    left: -100px;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(30px, -30px) scale(1.1); opacity: 0.5; }
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease forwards;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 118, 13, 0.1);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--secondary-color), #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.hero-image {
    position: relative;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #ff9500);
    color: var(--primary-bg);
    box-shadow: 0 4px 20px var(--glow-color);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--glow-color);
    color: var(--primary-bg);
}

.btn-primary:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--accent-color);
    color: var(--primary-bg);
    transform: translateY(-3px);
}

.btn-secondary:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

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

.btn-outline-orange:hover,
.btn-outline-orange:focus {
    background: var(--secondary-color);
    color: var(--primary-bg);
    transform: translateY(-3px);
}

.btn-outline-orange:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-dark {
    background: var(--secondary-bg);
}

.section-gradient {
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--secondary-text);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

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

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #ff9500);
    transform: scaleX(0);
    transition: transform var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(255, 118, 13, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 118, 13, 0.2), rgba(255, 118, 13, 0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    transition: gap var(--transition-medium);
}

.service-link:hover {
    gap: 1rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

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

.about-images {
    position: relative;
}

.about-image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    border: 5px solid var(--primary-bg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: 20px;
    left: -20px;
    background: var(--secondary-color);
    color: var(--primary-bg);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--glow-color);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-feature svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.about-feature span {
    font-weight: 500;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto 2rem;
    }
}

/* ============================================
   ACCREDITATIONS SECTION
   ============================================ */

.accreditations {
    background: var(--secondary-bg);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.accreditations-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.accreditation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    min-height: 80px;
}

.accreditation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 118, 13, 0.15);
}

.accreditation-item img,
.accreditation-logo-img {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: none;
}

.accreditation-item span {
    font-size: 0.8rem;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accreditation-logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.accreditation-text-item {
    background: var(--card-bg);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.accreditation-text-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-medium);
}

.accreditation-text-item a:hover {
    color: var(--text-color);
}

.accreditation-text-item a span {
    text-transform: none;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.testimonial-stars {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-info span {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 118, 13, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.team-info span {
    color: var(--secondary-color);
    font-weight: 500;
}

/* ============================================
   PRICING SECTION
   ============================================ */

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

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition-medium);
}

.pricing-card.featured {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--primary-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(255, 118, 13, 0.1);
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
}

.pricing-header .price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

.pricing-header .price span {
    font-size: 1rem;
    color: var(--muted-text);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 118, 13, 0.2), rgba(255, 118, 13, 0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    transition: all var(--transition-medium);
}

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

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--primary-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 118, 13, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

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

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

/* ============================================
   CAROUSEL / SLIDER
   ============================================ */

.clients-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    width: 100%;
    --item-width: 200px;
    --item-gap: 3rem;
    --item-count: 8;
}

.carousel-track {
    display: flex;
    gap: var(--item-gap);
    width: max-content;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly one set of 8 items */
        transform: translateX(calc(-1 * (var(--item-width, 200px) + var(--item-gap, 3rem)) * var(--item-count, 8)));
    }
}

.carousel-item {
    flex-shrink: 0;
    width: var(--item-width);
    height: 100px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-medium);
}

.carousel-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================
   IMAGE GALLERY
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 16, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--accent-color);
    font-weight: 500;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    background: linear-gradient(135deg, var(--secondary-color), #ff9500);
    padding: 4rem 0;
}

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

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 16, 0.95), rgba(0, 0, 16, 0.85));
    z-index: 1;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ============================================
   QUOTE FORM
   ============================================ */

.quote-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 16, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.quote-modal.active {
    opacity: 1;
    visibility: visible;
}

.quote-modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform var(--transition-medium);
}

.quote-modal.active .quote-modal-content {
    transform: translateY(0);
}

.quote-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-bg);
    border: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quote-close:hover {
    background: var(--secondary-color);
    color: var(--primary-bg);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    width: 100%;
    padding: 0;
}

.footer-main {
    padding: 4rem 0 3rem;
}

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

.footer-brand img {
    height: 50px;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    max-width: 280px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    transition: all var(--transition-medium);
}

.footer-social a:hover,
.footer-social a:focus {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-bg);
    transform: translateY(-2px);
    outline: none;
}

.footer-social a:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.footer-heading {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--secondary-text);
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--secondary-color);
}

.footer-links a:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.footer-contact li {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.footer-copyright {
    color: var(--muted-text);
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

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

/* ============================================
   PAGE HEADERS
   ============================================ */

.page-header {
    padding: 10rem 0 4rem;
    background: var(--secondary-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    opacity: 0.3;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: var(--muted-text);
}

.breadcrumb a {
    color: var(--secondary-color);
}

.breadcrumb span {
    color: var(--muted-text);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-orange { color: var(--secondary-color); }
.text-white { color: var(--accent-color); }
.text-muted { color: var(--muted-text); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   QUOTE IFRAME SECTION
   ============================================ */

.quote-iframe-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

.quote-iframe-container iframe {
    width: 100%;
    height: 900px;
    min-height: 700px;
    border: none;
    background: #fff;
}

@media (max-width: 768px) {
    .quote-iframe-container {
        max-width: 100%;
    }

    .quote-iframe-container iframe {
        height: 800px;
    }
}

/* ============================================
   FOOTER ACCREDITATIONS
   ============================================ */

.footer-accreditations {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-accreditations .footer-heading {
    margin-bottom: 1.5rem;
}

.accreditations-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.accreditation-logo {
    max-height: 80px;
    width: auto;
    transition: all var(--transition-medium);
}

.accreditation-logo:hover {
    transform: scale(1.05);
}

.accreditation-pdf-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-medium);
}

.accreditation-pdf-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.accreditation-pdf-link svg {
    flex-shrink: 0;
}

/* ============================================
   REVIEWS PAGE STYLES
   ============================================ */

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-rating {
    background: linear-gradient(135deg, var(--secondary-color), #ff9500);
    color: var(--primary-bg);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.review-date {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.review-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
}

.review-meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.review-verified {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.review-location {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* ============================================
   COMPREHENSIVE MOBILE STYLES
   ============================================ */

@media (max-width: 768px) {
    /* Base typography adjustments */
    body {
        font-size: 15px;
    }

    h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    h3 { font-size: clamp(1.25rem, 5vw, 1.5rem); }

    /* Container padding */
    .container {
        padding: 0 1.25rem;
    }

    /* Section padding */
    .section {
        padding: 3rem 0;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: auto;
        padding: 100px 0 3rem;
    }

    .hero-content {
        padding: 0 1.25rem;
        gap: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-image {
        max-width: 280px;
        margin: 0 auto 1rem;
    }

    .hero-image::before {
        top: -10px;
        right: -10px;
    }

    /* Hide hero particles on mobile for performance */
    .hero-particles {
        display: none;
    }

    /* Accreditations Bar */
    .accreditations {
        padding: 1.5rem 0;
    }

    .accreditations-wrapper {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .accreditation-item {
        flex: 0 0 auto;
        padding: 0.75rem 1rem;
        min-height: 60px;
    }

    .accreditation-item img,
    .accreditation-logo-img {
        height: 40px;
        max-width: 100px;
    }

    .accreditation-item span {
        font-size: 0.7rem;
    }

    /* Section headers */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1rem;
    }

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

    /* Stats Section */
    .stats-section {
        padding: 2.5rem 0;
    }

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

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

    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    /* About Section */
    .about-content {
        gap: 2rem;
    }

    .about-images {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .about-image-secondary {
        width: 120px;
        height: 120px;
        bottom: -15px;
        right: -15px;
    }

    .experience-badge {
        padding: 1rem;
        left: -10px;
        top: 10px;
    }

    .experience-badge .number {
        font-size: 1.75rem;
    }

    .experience-badge .text {
        font-size: 0.7rem;
    }

    .about-text .lead {
        font-size: 1rem;
    }

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

    .about-feature {
        font-size: 0.9rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-item {
        border-radius: 10px;
    }

    /* Carousel */
    .clients-carousel {
        padding: 1.5rem 0;
        --item-width: 140px;
        --item-gap: 2rem;
    }

    .carousel-track {
        gap: var(--item-gap);
    }

    .carousel-item {
        width: var(--item-width);
        height: 70px;
        padding: 0.5rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-stars {
        font-size: 1.25rem;
    }

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

    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }

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

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

    /* Page Headers */
    .page-header {
        padding: 7rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .team-info {
        padding: 1rem;
    }

    .team-info h3 {
        font-size: 1rem;
    }

    .team-info span {
        font-size: 0.85rem;
    }

    /* Pricing Cards */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-header .price {
        font-size: 2rem;
    }

    /* Contact Form */
    .contact-content {
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem 1rem;
    }

    /* Reviews */
    .review-card {
        padding: 1.5rem;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .review-title {
        font-size: 1.1rem;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .review-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Quote iframe */
    .quote-iframe-container {
        border-radius: 12px;
    }

    .quote-iframe-container iframe {
        height: 750px;
        min-height: 600px;
    }

    /* Footer */
    .footer-main {
        padding: 2.5rem 0 2rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-brand img {
        height: 40px;
    }

    .footer-heading {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 0.9rem;
    }

    .footer-accreditations {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .accreditation-logo {
        max-height: 60px;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-image {
        max-width: 220px;
    }

    .stats-grid {
        gap: 1rem;
    }

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

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

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

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

    .service-card {
        padding: 1.25rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .page-header {
        padding: 6rem 0 2rem;
    }
}

/* Landscape mobile adjustments */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
        flex-direction: row;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .hero-image {
        order: 0;
        max-width: 100%;
    }
}
