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

:root {
    --primary-color: #FFB800;
    --primary-dark: #E6A600;
    --secondary-color: #1A1A1A;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 17px; /* slightly larger base type for readability */
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px); /* subtle glass effect */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.75rem; /* increase logo text size by ~4px */
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo-text {
    font-size: 2.75rem; /* increase logo text size */
    letter-spacing: 0.02em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-left: 1.5rem;
}

.logo-image {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
    color: var(--bg-white);
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

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

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(0.9);
    transform-origin: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 184, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 184, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(44, 44, 44, 0.75) 100%),
                url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

/* Hero Slider Controls */
.hero-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--bg-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255, 184, 0, 0.8);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Hero Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary-color);
    border-color: var(--bg-white);
    width: 30px;
    border-radius: 6px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 2.1875rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

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

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-white);
    transition: width 0.3s ease;
    z-index: -1;
}

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

.btn-secondary:hover::before {
    width: 100%;
}

.btn-full {
    width: 100%;
}

/* Services Section */
.services {
    padding: 80px 0 60px; /* reduce bottom space */
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem; /* slightly tighter section header gap */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: bold;
}

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

/* On larger screens, keep the three main service cards on one line */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    height: 3rem;          /* uniform icon area so titles align */
    display: flex;
    align-items: center;
}

.service-icon img {
    max-width: 3rem;   /* match emoji icon size */
    max-height: 3rem;
    width: auto;
    height: auto;
    display: block;    /* left-aligned within the icon area */
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-title-single-line {
    white-space: nowrap;
    font-size: 1.4rem; /* slightly smaller to help fit */
}

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

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 30px 0 100px; /* less space above buttons */
    background: var(--bg-white);
}

.about-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Secondary button variant for light backgrounds */
.about .btn-secondary {
    background: var(--secondary-color);
    color: var(--bg-white);
    border: 2px solid var(--secondary-color);
}

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

/* Clients Section */
.clients-section {
    text-align: center;
    margin-bottom: 4rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
}

.client-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: swirlIn 0.8s ease-out backwards, continuousSwirl 3s ease-in-out infinite;
    animation-delay: 0s, 1s;
}

.client-item:nth-child(1) { animation-delay: 0.1s, 1.0s; }
.client-item:nth-child(2) { animation-delay: 0.2s, 1.1s; }
.client-item:nth-child(3) { animation-delay: 0.3s, 1.2s; }
.client-item:nth-child(4) { animation-delay: 0.4s, 1.3s; }
.client-item:nth-child(5) { animation-delay: 0.5s, 1.4s; }
.client-item:nth-child(6) { animation-delay: 0.6s, 1.5s; }
.client-item:nth-child(7) { animation-delay: 0.7s, 1.6s; }
.client-item:nth-child(8) { animation-delay: 0.8s, 1.7s; }
.client-item:nth-child(9) { animation-delay: 0.9s, 1.8s; }
.client-item:nth-child(10) { animation-delay: 1.0s, 1.9s; }
.client-item:nth-child(11) { animation-delay: 1.1s, 2.0s; }
.client-item:nth-child(12) { animation-delay: 1.2s, 2.1s; }
.client-item:nth-child(13) { animation-delay: 1.3s, 2.2s; }
.client-item:nth-child(14) { animation-delay: 1.4s, 2.3s; }
.client-item:nth-child(15) { animation-delay: 1.5s, 2.4s; }
.client-item:nth-child(16) { animation-delay: 1.6s, 2.5s; }
.client-item:nth-child(17) { animation-delay: 1.7s, 2.6s; }
.client-item:nth-child(18) { animation-delay: 1.8s, 2.7s; }

.client-item:hover {
    transform: translateY(-5px) rotate(5deg) scale(1.05);
    box-shadow: var(--shadow-lg);
    animation: swirlHover 0.6s ease-in-out, continuousSwirl 3s ease-in-out infinite;
}

.client-item:hover .client-logo {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.client-item .client-logo {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.client-logo {
    width: 120px;
    height: 80px;
    object-fit: contain;
    background: var(--bg-white);
    padding: 0.5rem;
    border-radius: 8px;
    display: block !important;
    border: 2px solid #000000;
    opacity: 1 !important;
    visibility: visible !important;
}

.client-logo-placeholder {
    width: 120px;
    height: 80px;
    background: var(--bg-white);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.875rem;
    text-align: center;
}

.client-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

@keyframes swirlIn {
    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5) translateY(50px);
    }
    50% {
        transform: rotate(10deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1) translateY(0);
    }
}

@keyframes swirlHover {
    0% {
        transform: translateY(-5px) rotate(0deg) scale(1.05);
    }
    25% {
        transform: translateY(-5px) rotate(5deg) scale(1.05);
    }
    50% {
        transform: translateY(-5px) rotate(-5deg) scale(1.05);
    }
    75% {
        transform: translateY(-5px) rotate(3deg) scale(1.05);
    }
    100% {
        transform: translateY(-5px) rotate(5deg) scale(1.05);
    }
}

@keyframes continuousSwirl {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(5px, -5px) rotate(2deg);
    }
    50% {
        transform: translate(0, -8px) rotate(0deg);
    }
    75% {
        transform: translate(-5px, -5px) rotate(-2deg);
    }
}

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

.about-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: left;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: center;
    text-align: left;
    min-height: 80px;
}

.feature-content {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
}

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

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 184, 0, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-number-small {
    font-size: 2.4rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

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

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

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

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

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-top: 1rem;
}

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

.footer-section .logo-text {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section .logo-image {
    height: 48px;
    width: auto;
    display: block;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact {
    list-style: none;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
    }

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

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

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

    .hero-subtitle {
        font-size: 2.0625rem;
    }

    .hero-slider-controls {
        padding: 0 1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

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

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

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

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

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

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

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .btn {
        width: 100%;
    }

    .hero-slider-controls {
        padding: 0 0.5rem;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }

    .hero-slider-dots {
        bottom: 20px;
        gap: 0.75rem;
    }

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

    .dot.active {
        width: 25px;
    }
}

/* Services Page Header */
.services-page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.services-page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* Services Content Wrapper */
.services-content-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    padding: 2rem 20px;
    box-sizing: border-box;
    margin: 0;
}

.services-content-wrapper > .service-links-section {
    flex: 0 0 250px;
    max-width: 250px;
}

.services-content-wrapper > .services-grid-powercontrol {
    flex: 1;
    min-width: 0;
}

/* Service Links Section */
.service-links-section {
    flex: 0 0 250px;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.service-links-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-links-list li {
    margin: 0;
}

.service-links-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    transition: all 3s ease;
    text-align: left;
}

.service-links-list a:hover {
    background: var(--secondary-color);
    color: var(--bg-white);
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-links-list a.active {
    background: var(--secondary-color);
    color: var(--bg-white);
    font-weight: 600;
    transition: all 3s ease;
}

/* PowerControl Services Grid Styles */
.services-grid-powercontrol {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-width: 0;
    width: 100%;
}

.service-card-powercontrol[style*="display: block"] {
    grid-column: 1 / -1;
    width: 100%;
}

.service-card-powercontrol {
    background: var(--bg-white);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    animation: fadeIn 0.5s ease-in;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.service-card-image {
    width: 100%;
    margin: 0 0 1rem 0;
    text-align: center;
}

.service-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.service-card-powercontrol:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card-powercontrol.distribution-systems-card {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.distribution-systems-content {
    flex: 1;
    min-width: 0;
}

.distribution-systems-content .service-card-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.distribution-systems-image {
    flex: 0 0 400px;
    max-width: 400px;
    align-self: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.distribution-systems-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.service-card-powercontrol.communication-systems-card {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.communication-systems-content {
    flex: 1;
    min-width: 0;
}

.communication-systems-content .service-card-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.communication-systems-image {
    flex: 0 0 400px;
    max-width: 400px;
    align-self: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.communication-systems-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.service-card-powercontrol.lighting-installation-card {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.lighting-installation-content {
    flex: 1;
    min-width: 0;
}

.lighting-installation-content .service-card-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.lighting-installation-image {
    flex: 0 0 400px;
    max-width: 400px;
    align-self: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.lighting-installation-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.service-card-powercontrol.fire-alarm-systems-card {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.fire-alarm-systems-content {
    flex: 1;
    min-width: 0;
}

.fire-alarm-systems-content .service-card-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.fire-alarm-systems-image {
    flex: 0 0 400px;
    max-width: 400px;
    align-self: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.fire-alarm-systems-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.service-card-powercontrol.security-system-card {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.security-system-content {
    flex: 1;
    min-width: 0;
}

.security-system-content .service-card-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.security-system-image {
    flex: 0 0 400px;
    max-width: 400px;
    align-self: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.security-system-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.service-card-powercontrol.low-voltage-systems-card {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.low-voltage-systems-content {
    flex: 1;
    min-width: 0;
}

.low-voltage-systems-content .service-card-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.low-voltage-systems-image {
    flex: 0 0 400px;
    max-width: 400px;
    align-self: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.low-voltage-systems-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.4rem 1rem;
}

.service-card-list li {
    padding: 0.25rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.service-card-description {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0.75rem 0 0 0;
    padding: 0.75rem 0 0 0;
    border-top: 1px solid var(--border-color);
    text-align: justify;
}

@media (max-width: 968px) {
    .services-content-wrapper {
        flex-direction: column;
        padding: 2rem 20px;
    }

    .service-links-section {
        flex: 0 0 auto;
        position: relative;
        top: 0;
        max-height: none;
        width: 100%;
        max-width: 100%;
    }
    
    .services-content-wrapper > .services-grid-powercontrol {
        max-width: 100%;
    }

    .service-links-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-links-list a {
    transition: all 3s ease;
        text-align: center;
    }

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

    .distribution-systems-image {
        flex: 0 0 300px;
        max-width: 300px;
    }

    .communication-systems-image {
        flex: 0 0 300px;
        max-width: 300px;
    }

    .lighting-installation-image {
        flex: 0 0 300px;
        max-width: 300px;
    }

    .fire-alarm-systems-image {
        flex: 0 0 300px;
        max-width: 300px;
    }

    .security-system-image {
        flex: 0 0 300px;
        max-width: 300px;
    }

    .low-voltage-systems-image {
        flex: 0 0 300px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .services-page-title {
        font-size: 2.5rem;
    }

    .service-links-section {
        padding: 1.5rem;
    }

    .service-links-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .service-links-list {
        flex-direction: column;
        gap: 0.75rem;
    }

    .service-links-list a {
    transition: all 3s ease;
        text-align: center;
        width: 100%;
    }

    .services-grid-powercontrol {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card-powercontrol {
        padding: 1.25rem;
    }

    .service-card-title {
        font-size: 1.125rem;
    }

    .distribution-systems-card {
        flex-direction: column;
        gap: 1rem;
    }

    .distribution-systems-image {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }

    .communication-systems-card {
        flex-direction: column;
        gap: 1rem;
    }

    .communication-systems-image {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }

    .lighting-installation-card {
        flex-direction: column;
        gap: 1rem;
    }

    .lighting-installation-image {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }

    .fire-alarm-systems-card {
        flex-direction: column;
        gap: 1rem;
    }

    .fire-alarm-systems-image {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }

    .security-system-card {
        flex-direction: column;
        gap: 1rem;
    }

    .security-system-image {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }

    .low-voltage-systems-card {
        flex-direction: column;
        gap: 1rem;
    }

    .low-voltage-systems-image {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }
}

/* Services Page Styles */
.services-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2C2C2C 100%);
    color: var(--bg-white);
    text-align: center;
    margin-top: 70px;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.services-hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.services-detailed {
    padding: 100px 0;
    background: var(--bg-white);
}

.services-detailed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.service-detailed-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

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

.service-detailed-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-icon-large {
    font-size: 4rem;
    flex-shrink: 0;
}

.service-icon-large img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.service-detailed-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.service-detailed-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    margin-top: 2rem;
}

.service-features h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.service-features-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.service-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.services-why-choose {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.why-choose-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-choose-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.why-choose-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.why-choose-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.services-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2C2C2C 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.services-cta .btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

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

.services-cta .btn-secondary:hover {
    background: var(--bg-white);
    color: var(--secondary-color);
}

/* Responsive for Services Page */
@media (max-width: 768px) {
    .services-hero-title {
        font-size: 2.5rem;
    }

    .services-hero-subtitle {
        font-size: 1.25rem;
    }

    .service-detailed-card {
        padding: 2rem;
    }

    .service-detailed-header {
        flex-direction: column;
        text-align: center;
    }

    .service-features-list {
        grid-template-columns: 1fr;
    }

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

/* About Us Page Styles */
.about-us-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-us-section .container {
    position: relative;
}

.about-us-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-us-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.about-us-subtitle-wrapper {
    position: relative;
    padding: 4rem 2rem;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.about-us-subtitle-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('electrical team.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px);
    opacity: 0.6;
    z-index: 0;
}

.about-us-subtitle {
    font-size: 3.5rem;
    color: #FFFFFF;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.about-us-content {
    margin-bottom: 3rem;
}

.about-us-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Vision and Mission */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.vision-mission-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.vision-mission-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.vision-mission-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* People Section */
.people-section {
    margin-bottom: 4rem;
}

.people-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.people-section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.person-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.person-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.founder-emeritus {
    display: block;
    text-align: center;
    font-weight: 700;
}

.person-name-text {
    display: block;
    text-align: left;
    line-height: 1;
    margin-bottom: 0;
}

.person-qualification {
    display: inline-block;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: -1.3rem;
    line-height: 0.7;
}

.person-years {
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    white-space: nowrap;
    text-align: left;
    margin-top: 0.25rem;
}

.linkedin-icon-link {
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.linkedin-icon-link:hover {
    transform: scale(1.1);
}

.linkedin-icon {
    color: #0077b5;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.person-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-top: 1.5rem;
}

/* Team Section */
.team-section {
    margin-bottom: 3rem;
    text-align: center;
}

.team-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.team-section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
}

/* Values Section */
.values-section {
    margin-bottom: 4rem;
}

.values-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.values-section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

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

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.value-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Quality Section */
.quality-section {
    margin-bottom: 1rem;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.quality-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.quality-section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: justify;
}

.quality-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.quality-list li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.quality-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Safety Section */
.safety-section {
    margin-bottom: 4rem;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.safety-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.safety-section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

/* About CTA */
.about-cta {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Responsive Styles for About Us */
@media (max-width: 968px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 640px) {
    .about-us-title {
        font-size: 2.5rem;
    }

    .about-us-subtitle {
        font-size: 1.25rem;
    }

    .people-section-title,
    .team-section-title,
    .values-section-title {
        font-size: 2rem;
    }

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

    .quality-section,
    .safety-section {
        padding: 2rem;
    }
}
