/* ===== Testimonials ===== */
.testimonials {
    padding: 6rem 0;
    position: relative;
    background-color: var(--darker-bg);
}

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

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

.testimonials .section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

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

.testimonial-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.testimonial-content p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-author h4 {
    color: var(--light-text);
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.testimonial-author p {
    color: var(--primary-color);
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

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

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* ===== Clients Slider ===== */
.clients {
    padding: 5rem 0;
    background-color: var(--darker-bg);
    overflow: hidden;
}

.clients-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
}

.clients-track {
    display: flex;
    width: 200%;
    animation: scroll 30s linear infinite;
    padding: 1rem 0;
}

.clients-slider:hover .clients-track {
    animation-play-state: paused;
}

.client-logo {
    flex: 0 0 auto;
    width: 200px;
    height: 100px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.client-logo img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5)); /* Move by width of one set of logos */
    }
}

/* ===== Base Styles ===== */
:root {
    /* Color Palette */
    --primary-color: #0066ff;
    --secondary-color: #00ff99;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --light-text: #ffffff;
    --dark-text: #333333;
    --gray-text: #a0a0a0;
    --card-bg: #1e1e1e;
    --border-color: #2d2d2d;
    --overlay: rgba(0, 0, 0, 0.7);
    
    /* Typography */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 5rem 0;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--light-text);
    background-color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

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

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    order: 2;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    order: 3;
    color: var(--gray-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-light {
    background-color: white;
    color: var(--dark-text);
}

.btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-contact {
    margin-left: 1rem;
    background-color: var(--secondary-color);
    color: var(--dark-text);
}

.btn-contact:hover {
    background-color: #00cc7a;
    color: white;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text i {
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(5px);
}

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

.services-preview .text-center {
    margin-top: 3rem;
}

/* Page Header */
.page-header {
    background-color: var(--darker-bg);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    margin-top: 80px; /* Account for fixed header */
}

.page-header h1 {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    color: var(--gray-text);
    font-size: 1.1rem;
    margin: 0;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--light-text);
}

.logo span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 2rem;
    position: relative;
}

.main-nav a {
    color: var(--light-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--card-bg);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

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

.dropdown-content a {
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    padding-left: 1.8rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--light-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--light-text);
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background-color: var(--darker-bg);
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #4d9eff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.feature-card p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
}

/* Services Intro */
.services-intro {
    padding: 100px 0 60px;
}

/* Services Preview */
.services-preview {
    padding: var(--section-padding);
    background-color: var(--dark-bg);
}

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

.service-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), #4d9eff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

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

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

.service-card p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* ===== About Intro ===== */
.about-intro {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 6rem 0;
}

.about-intro-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-intro-image {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2rem;
}

.about-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-intro-image:hover img {
    transform: scale(1.03);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .about-intro-image img {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ===== Our Team ===== */
.our-team {
    padding: 6rem 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

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

.team-member {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.team-member-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    transition: all 0.3s ease;
    z-index: 2;
}

.team-member:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

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

.team-member-info h3 {
    font-size: 1.4rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.position {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member-info p {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== Certifications ===== */
.certifications {
    padding: 6rem 0;
    background: var(--bg-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.certification-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.certification-icon {
    width: 80px;
    height: 80px;
    background: rgba(41, 128, 185, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.certification-item:hover .certification-icon {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.certification-item h3 {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.certification-item p {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .team-grid,
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .team-member-image {
        height: 250px;
    }
}

/* ===== Why Choose Us ===== */
.why-choose-us {
    padding: 6rem 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 30, 0.9) 100%);
}

.why-choose-us .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.why-choose-us .section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.why-choose-us h2 {
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.advantage-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5276 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

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

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

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(41, 128, 185, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
}

.advantage-card:hover .advantage-icon {
    background: #2c3e50;
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.advantage-card h3 {
    font-size: 1.4rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
}

.advantage-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.advantage-card:hover h3,
.advantage-card:hover p {
    color: white;
}

/* Decorative Elements */
.why-choose-us::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, rgba(0, 102, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.why-choose-us::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 153, 0.1) 0%, rgba(0, 255, 153, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-us {
        padding: 5rem 0;
    }
    
    .why-choose-us h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .why-choose-us h2 {
        font-size: 2rem;
    }
    
    .why-choose-us::before,
    .why-choose-us::after {
        display: none;
    }
}

/* CTA Section */
.cta {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    color: var(--light-text);
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/cta-bg.jpg') no-repeat center center/cover;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 5rem 0 0;
    color: var(--gray-text);
}

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

.footer h3, .footer h4 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer h3::after, .footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--light-text);
    transition: var(--transition);
}

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

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

.footer-links a, .footer-services a {
    color: var(--gray-text);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: center;
}

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

.footer-legal a {
    color: var(--gray-text);
    transition: var(--transition);
}

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

.footer-legal span {
    color: var(--border-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 3rem;
    }
    
    .features-grid, .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* ===== Mission & Vision ===== */
.mission-vision {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card,
.vision-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transition: height 0.3s ease;
    z-index: -1;
}

.mission-card {
    border-top: 3px solid var(--primary-color);
}

.vision-card {
    border-top: 3px solid var(--secondary-color);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.mission-card:hover::before,
.vision-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.mission-icon,
.vision-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.vision-icon {
    color: var(--secondary-color);
}

.mission-card:hover .mission-icon,
.vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(5deg);
}

.mission-card h3,
.vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    position: relative;
    display: inline-block;
}

.mission-card h3::after,
.vision-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.vision-card h3::after {
    background: var(--secondary-color);
}

.mission-card p,
.vision-card p {
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.mission-card:hover p,
.vision-card:hover p {
    color: var(--light-text);
}

/* ===== Core Values ===== */
.our-values {
    padding: 6rem 0;
    background-color: var(--dark-bg);
    position: relative;
}

.our-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.value-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: 1;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.value-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
}

.value-card:hover .value-icon {
    transform: rotateY(180deg);
    background: rgba(0, 102, 255, 0.2);
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--light-text);
    position: relative;
    z-index: 2;
}

.value-card p {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.value-card:hover p {
    color: var(--light-text);
}

/* ===== About Page Stats ===== */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 2rem 0;
    position: relative;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.5;
}

.stat-label {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--darker-bg);
        padding: 6rem 2rem 2rem;
        transition: var(--transition);
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav li {
        margin: 0 0 1.5rem;
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 0.5rem 0;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: transparent;
        padding: 0.5rem 0 0 1.5rem;
    }
    
    .dropdown-content a {
        padding: 0.5rem 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header .btn-contact {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-card, .service-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ===== Services Section ===== */
.main-services {
    padding: 4rem 0;
    position: relative;
}

.main-services.alt-bg {
    background-color: rgba(0, 0, 0, 0.1);
}

.service-detail {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.service-detail-content {
    flex: 1;
    max-width: 50%;
}

.service-detail-image {
    flex: 1;
    max-width: 50%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.service-detail-image:hover {
    transform: translateY(-5px);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-detail-image:hover img {
    transform: scale(1.03);
}

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

.service-detail h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.3;
}

.service-detail p {
    color: var(--gray-text);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

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

.feature i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.feature span {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .service-detail {
        gap: 3rem;
    }
    
    .service-detail h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .service-detail {
        flex-direction: column;
        gap: 2rem;
    }
    
    .service-detail.reverse {
        flex-direction: column;
    }
    
    .service-detail-content,
    .service-detail-image {
        max-width: 100%;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .main-services {
        padding: 4rem 0;
    }
}

/* ===== Additional Services ===== */
.additional-services {
    padding: 4rem 0;
    background-color: var(--bg-color);
    color: var(--light-text);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.additional-services .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.additional-services h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.additional-services p {
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.service-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(41, 128, 185, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-card p {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-services {
        padding: 4rem 0;
    }
    
    .additional-services h2 {
        font-size: 2rem;
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(0) !important;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
    }
}

/* Clients Section */
.clients-section {
    padding: 5rem 0;
    background-color: var(--darker-bg);
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.client-logo {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    filter: grayscale(100%) opacity(0.7);
    height: 100px;
}

.client-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: translateY(-5px);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .client-logo {
        padding: 1rem;
        height: 80px;
    }
    
    .client-logo img {
        max-height: 50px;
    }
}
