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

:root {
    --primary-color: rgb(15, 38, 61);
    --secondary-color: rgb(56, 193, 198);
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4f6b 100%);
    overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.sphere-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 193, 198, 0.5) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: -10s;
}

.sphere-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    bottom: 20%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(15, 38, 61, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
    background: rgba(15, 38, 61, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

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

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section with Slider - FIXED */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
    width: 600%;
    /* 100% × 6 slides */
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    width: 16.666667%;
    /* 100% ÷ 6 slides = 16.666667% each */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    flex-shrink: 0;
    /* IMPORTANT: Each slide must maintain its own centering */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay for better text readability */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 38, 61, 0.7) 0%, rgba(15, 38, 61, 0.5) 100%);
    z-index: 1;
}

.slide-content {
    /* FIXED: Use viewport width instead of container width */
    width: 100vw;
    max-width: 800px;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 5;
    /* FIXED: Remove transform that causes positioning issues */
    opacity: 0;
    transition: opacity 0.8s ease-out 0.3s;
}

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

.slide-text h1,
.slide-text h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.slide-text p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: var(--secondary-color);
    border: none;
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(56, 193, 198, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 6;
}

.cta-button:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.cta-button i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.nav-dots {
    display: flex;
    gap: 1.2rem;
}

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

.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.dot.active {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    transform: scale(1.3);
}

.dot.active::after {
    opacity: 1;
    background: var(--white);
}

.dot:hover {
    border-color: var(--white);
    transform: scale(1.1);
}

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

.prev-btn,
.next-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(56, 193, 198, 0.4);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--white) 100%);
    width: 0%;
    transition: width 5s linear;
    box-shadow: 0 0 10px rgba(56, 193, 198, 0.5);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* What We Do Section */
.what-we-do {
    padding: 6rem 0;
    position: relative;
}

.services-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.service-tabs {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab-button {
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 100%;
    border: none;
    color: var(--white);
}

.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.tab-button.active {
    background: var(--secondary-color);
    color: var(--white);
}

.tab-button i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.tab-button.active i {
    color: var(--white);
}

.tab-button span {
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.service-content-container {
    flex: 1;
    position: relative;
    min-height: 500px;
}

.service-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-content.active {
    opacity: 1;
    visibility: visible;
}

.service-image {
    height: 250px;
    overflow: hidden;
}

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

.service-content:hover .service-image img {
    transform: scale(1.05);
}

.service-info {
    padding: 2rem;
}

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

.service-info p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.service-btn {
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 193, 198, 0.4);
}

/* About Section */
.about-us-section {
    padding: 7rem 0 6rem 0;
    background: linear-gradient(135deg, rgba(15, 38, 61, 0.98) 60%, rgba(56, 193, 198, 0.08)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    color: var(--white);
    position: relative;
    z-index: 2;
}

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

.about-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.about-header .subtitle {
    color: var(--secondary-color);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0;
}

.about-content-wrapper {
    display: flex;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.about-text {
    flex: 2;
    min-width: 260px;
    font-size: 1.18rem;
    line-height: 1.85;
    opacity: 0.96;
    margin-bottom: 1rem;
}

.about-features {
    flex: 1.2;
    min-width: 220px;
    background: var(--glass-bg);
    border-radius: 18px;
    padding: 2.2rem 1.7rem;
    box-shadow: 0 8px 32px rgba(56, 193, 198, 0.07);
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
}

.about-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-features li {
    margin-bottom: 1.1rem;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--white);
    opacity: 0.93;
}

.about-features li i {
    color: var(--secondary-color);
    font-size: 1.22rem;
}

.about-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    align-items: flex-end;
}

.about-stats .stat {
    text-align: center;
}

.about-stats .stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
    display: block;
}

.about-stats .stat-label {
    font-size: 1.08rem;
    color: var(--white);
    opacity: 0.9;
}

.about-vision {
    max-width: 540px;
    margin-left: auto;
}

.about-vision h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--secondary-color);
}

.about-vision p {
    font-size: 1.08rem;
    color: var(--white);
    opacity: 0.93;
    line-height: 1.7;
}

@media (max-width: 1000px) {

    .about-content-wrapper,
    .about-bottom {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }

    .about-vision {
        margin-left: 0;
    }

    .about-stats {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .about-header h2 {
        font-size: 2rem;
    }

    .about-header .subtitle {
        font-size: 1.05rem;
    }

    .about-us-section {
        padding: 3.5rem 0 2.5rem 0;
    }

    .about-stats .stat-num {
        font-size: 1.5rem;
    }

    .about-stats .stat-label {
        font-size: 0.95rem;
    }

    .about-features {
        padding: 1.0rem 0.7rem;
    }
}

/* Branches Section */
.branches-section {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(135deg, rgba(15, 38, 61, 0.95) 0%, rgba(15, 38, 61, 0.8) 100%);
}

.branches-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.branch-card {
    position: relative;
    padding: 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    overflow: hidden;
    min-height: 280px;
}

.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(56, 193, 198, 0.2);
    border-color: var(--secondary-color);
}

.branch-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--white) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.branch-card:hover::after {
    transform: scaleX(1);
}

.branch-flag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.branch-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.branch-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.branch-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
}

.branch-contact-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
}

.branch-contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.branch-contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.branch-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(56, 193, 198, 0.8) 100%);
    transition: height 0.3s ease;
    z-index: -1;
}

.branch-card:hover .branch-overlay {
    height: 5px;
}

/* Global Stats */
.global-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(56, 193, 198, 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
    margin-top: 0.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .branches-section {
        padding: 6rem 0;
    }

    .branches-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .branch-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .branch-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .branch-contact-item {
        font-size: 0.9rem;
    }

    .branch-flag {
        width: 50px;
        height: 33px;
        top: 1rem;
        right: 1rem;
    }

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

    .stat-item {
        padding: 1rem;
        gap: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

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

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

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

    .branch-card {
        padding: 1.5rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .branch-contact-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .branch-contact-item i {
        width: 16px;
    }
}

/* Animation for counters */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item.visible {
    animation: countUp 0.6s ease-out;
}

/* Hover effects for mobile touch */
@media (hover: none) and (pointer: coarse) {
    .branch-card:active {
        transform: scale(0.98);
    }

    .stat-item:active {
        transform: scale(0.98);
    }
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    position: relative;
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

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

.contact-details p {
    opacity: 0.8;
}

.contact-form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(56, 193, 198, 0.1);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--secondary-color);
    background: var(--primary-color);
    padding: 0 0.5rem;
    border-radius: 4px;
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 193, 198, 0.4);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: rgba(15, 38, 61, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .what-we-do {
        padding: 5rem 0;
    }

    .services-container {
        gap: 1.5rem;
    }

    .service-tabs {
        flex: 0 0 280px;
        gap: 0.8rem;
    }

    .tab-button {
        padding: 1.2rem;
        gap: 0.8rem;
    }

    .tab-button span {
        font-size: 0.9rem;
    }

    .service-content-container {
        min-height: 400px;
    }

    .service-info {
        padding: 1.8rem;
    }

    .service-info h3 {
        font-size: 1.4rem;
    }

    .service-info p {
        font-size: 0.95rem;
    }
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 38, 61, 0.95);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        backdrop-filter: blur(20px);
        padding: 2rem 0;
    }

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

    .slide-text h1,
    .slide-text h2 {
        font-size: 2.5rem;
    }

    .slide-text p {
        font-size: 1.1rem;
    }

    .slide-content {
        max-width: 90vw;
        padding: 0 1rem;
    }

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

    .prev-btn,
    .next-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .services-container {
        flex-direction: column;
        gap: 2rem;
    }

    .service-tabs {
        flex: none;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
        order: 2;
    }

    .tab-button {
        padding: 1rem 0.8rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        min-height: 80px;
        justify-content: center;
    }

    .tab-button i {
        font-size: 1.2rem;
    }

    .tab-button span {
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1.2;
        white-space: normal;
    }

    .service-content-container {
        min-height: auto;
        order: 1;
    }

    .service-content {
        position: relative;
        margin-bottom: 0;
        display: none;
    }

    .service-content.active {
        position: relative;
        display: block;
    }

    .service-image {
        height: 200px;
    }

    .service-info {
        padding: 1.5rem;
    }

    .service-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .service-info p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .tab-button {
        padding: 1rem;
    }

    .tab-button span {
        font-size: 0.85rem;
    }

    .slider-nav {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .slide-text h1,
    .slide-text h2 {
        font-size: 2rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .what-we-do,
    .contact {
        padding: 3rem 0;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

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

    .tab-button {
        padding: 0.8rem 0.5rem;
        min-height: 75px;
        font-size: 0.85rem;
    }

    .tab-button i {
        font-size: 1.1rem;
    }

    .tab-button span {
        font-size: 0.75rem;
        line-height: 1.1;
    }

    .service-content-container {
        min-height: auto;
    }

    .service-image {
        height: 180px;
    }

    .service-info {
        padding: 1.2rem;
    }

    .service-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .service-info p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }

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

    .slider-controls {
        padding: 0 0.5rem;
        /* Ensure controls don't overlap with content */
        pointer-events: none;
    }

    .prev-btn,
    .next-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        /* Re-enable pointer events for buttons */
        pointer-events: auto;
        /* Ensure buttons stay above other content */
        z-index: 15;
        position: relative;
    }

    .slide-content {
        max-width: 95vw;
        /* Add extra padding on sides to avoid overlap with controls */
        padding: 0 3.5rem;
    }
}

/* Additional mobile styles for extra small screens */
@media (max-width: 320px) {
    .what-we-do {
        padding: 2.5rem 0;
    }

    .slide-content {
        padding: 0 4rem;
        /* Increase padding even more on very small screens */
    }

    .slider-controls {
        padding: 0 0.25rem;
        /* Reduce padding further to prevent overlap */
    }

    .prev-btn,
    .next-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        z-index: 20;
        /* Ensure they're above everything */
    }

    .service-tabs {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .tab-button {
        padding: 0.8rem;
        min-height: 70px;
        flex-direction: row;
        gap: 0.8rem;
        text-align: left;
    }

    .tab-button i {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .tab-button span {
        font-size: 0.8rem;
        line-height: 1.2;
        white-space: normal;
    }

    .service-content-container {
        min-height: auto;
    }

    .service-image {
        height: 160px;
    }

    .service-info {
        padding: 1rem;
    }

    .service-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .service-info p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }

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

    .section-header p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
}