/* Base Styles */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #ffffff;
    --darker-bg: #f8fafc;
    --light-bg: #f1f5f9;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1301px;
    margin: 0 auto;
    padding: 0 15px;
}

.highlight {
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

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

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 40px;
    width: auto;
}

@media (max-width: 768px) {
    .header-logo {
        height: 35px;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 40px;
    width: auto;
}

@media (max-width: 768px) {
    .header-logo {
        height: 35px;
    }
}

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

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    transition: var(--transition);
    position: relative;
}

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

.main-nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.main-nav ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul li ul li {
    width: 100%;
}

.main-nav ul li ul li a {
    padding: 12px 20px;
    display: block;
    color: #333333;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.main-nav ul li ul li:last-child a {
    border-bottom: none;
}

.main-nav ul li ul li a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
    padding-left: 25px;
}

.submenu-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 8px 0;
}

.submenu-section-title {
    color: #666;
    font-size: 0.85em;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8f8f8;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: right 0.3s ease;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 20px;
        max-width: 400px;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav ul li a {
        padding: 20px 0;
        display: block;
        font-size: 1.1rem;
        font-weight: 600;
        text-align: center;
        position: relative;
    }
    
    .main-nav ul li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }
    
    .main-nav ul li a:hover::after,
    .main-nav ul li a.active::after {
        width: 50px;
    }
    
    .main-nav ul li ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-bg);
        border: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav ul li.show-submenu > ul {
        max-height: 500px;
    }
    
    .main-nav ul li ul li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .main-nav ul li ul li a {
        padding: 15px 20px;
        font-size: 1rem;
        text-align: left;
    }
    
    .main-nav ul li ul li a:hover {
        background: rgba(99, 102, 241, 0.1);
        padding-left: 25px;
    }
    
    .submenu-section-title {
        padding: 15px 20px;
        text-align: left;
        background: rgba(99, 102, 241, 0.05);
    }
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

.menu-toggle i {
    font-size: 1.5rem;
    color: var(--text-color);
}

.menu-toggle span {
    display: none;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(2) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(3) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(4) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
    }
    
    .menu-toggle i {
        display: none;
    }
    
    .menu-toggle span {
        display: block;
    }
}

/* Hero Section */
.hero {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero-left {
    flex: 0 0 50%;
}

.hero-right {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.image-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.image-3d-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.image-3d-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero-scroll {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hero-scroll a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.hero-scroll a:hover {
    color: var(--primary-color);
}

.hero-scroll a i {
    font-size: 1.2rem;
    margin-top: 5px;
    animation: bounce 2s infinite;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, 
        #6366f1 0%,
        #ec4899 50%,
        #6366f1 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s linear infinite;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    line-height: 1.2;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content h1::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 6%,
        rgba(255, 255, 255, 0.9) 7%,
        transparent 8%,
        transparent 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    animation: shine 3s linear infinite;
    background-size: 200% 100%;
    color: transparent;
    z-index: 2;
}

@keyframes shine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.3s;
}

.hero-content h2 .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

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

.hero-content h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: rgba(99, 102, 241, 0.1);
    z-index: -1;
    transform: skew(-15deg);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Mobile Responsive Hero Section */
@media (max-width: 1400px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-image {
        max-width: 400px;
    }
}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-left, .hero-right {
        flex: 1;
        max-width: 100%;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .slide {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        min-height: 90vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .slide {
        padding: 30px 15px;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
}

/* Mobile Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .main-nav ul li a,
    .service-card,
    .project-card {
        transition: none;
    }
    
    .main-nav ul li {
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 768px) {
    .hero,
    .partners,
    .company-partners,
    .services,
    .testimonials,
    .cta,
    .footer {
        padding: 60px 0;
    }
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.partners-logos {
    overflow: hidden;
    padding: 20px 0;
    background: white;
    white-space: nowrap;
    position: relative;
}

.partners-logos-track {
    display: flex;
    animation: slide 20s linear infinite;
}

.partners-logos-track.reverse {
    animation: slide-reverse 20s linear infinite;
}

.partner-card {
    flex: 0 0 300px;
    margin: 0 15px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes slide-reverse {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

/* Partner Logo Styles */
.partner-logo {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Description Overlay */
.description-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: normal;
}

.partner-card:hover .description-overlay {
    opacity: 1;
}

.description-overlay h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
    width: 100%;
}

.description-overlay p {
    font-size: 1em;
    line-height: 1.5;
    margin: 0;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .partner-card {
        flex: 0 0 250px;
    }
    
    .partner-logo {
        height: 150px;
    }
}

.partners .container {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@keyframes slidePartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5)); /* Move by the width of all original logos */
    }
}

.partner-logo {
    flex: 0 0 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    margin: 0 15px;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    filter: grayscale(0%);
}

.partner-logo img {
    max-width: 80%;
    max-height: 60px;
}

/* Pause animation on hover */
.partners-logos:hover {
    animation-play-state: paused;
}

/* Company Partners Slider */
.company-partners {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 0 15px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: calc(33.333% - 30px); /* Show 3 slides, with spacing */
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.partner-card {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.prev-btn,
.next-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.partner-card .partner-logo {
    width: 260px; /* Increased logo width */
    height: 260px; /* Increased logo height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: white;
    border-radius: 12px;
    padding: 15px; /* Reduced padding to show more of the image */
    z-index: 1;
}

.partner-card .partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-card .description-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.partner-card:hover .description-overlay {
    opacity: 1;
}

.partner-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.partner-card .description-overlay p {
    font-size: 0.95rem;
    color: white;
    line-height: 1.5;
    margin: 0;
    max-width: 100%;
}

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

.partner-card:hover .partner-logo img {
    transform: scale(1.05);
}

.partner-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.partner-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0;
    height: 0;
    transition: var(--transition);
}

.partner-card:hover p {
    opacity: 1;
    height: auto;
    margin-top: 8px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

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

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: var(--transition);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

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

.testimonial-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    margin: 20px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    transition: var(--transition);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    position: relative;
    pointer-events: all;
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

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

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

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

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../assets/images/cta-bg.jpg') no-repeat center center/cover;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

.cta-content h2 .highlight {
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta .btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
}

.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

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

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

/* Responsive styles for CTA */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

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

.social-icons a:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-5px);
}

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

.copyright a.branding-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.copyright a.branding-text:hover {
    color: var(--accent-color);
}

.copyright .fa-heart {
    animation: heartBeat 1.5s ease infinite;
    margin: 0 5px;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-image {
        max-width: 500px;
    }
}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content {
        max-width: 550px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-left, .hero-right {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%;
        padding: 0 20px;
    }

    .slide {
        min-width: calc(50% - 30px); /* Show 2 slides on tablets */
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 0 10px;
    }

    .slide {
        min-width: calc(100% - 30px); /* Show 1 slide on mobile */
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        padding: 0 5px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .main-nav ul li a,
    .social-icons a {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 25px;
    }

    .main-nav ul li {
        padding: 5px 0;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    .hero,
    .hero-content,
    .hero-image,
    .bubble {
        will-change: transform;
        backface-visibility: hidden;
    }
}

/* Page Banner */
.page-banner {
    padding: 150px 0 80px;
    background-color: var(--darker-bg);
    text-align: center;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-banner p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--dark-bg);
    color: var(--text-color);
    font-family: inherit;
    transition: var(--transition);
}

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

.map-section {
    padding: 50px 0 100px;
    background-color: var(--darker-bg);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Services Page Styles */
.services-page {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.service-features {
    margin-top: 20px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.cta-block {
    margin-top: 80px;
    text-align: center;
    padding: 50px;
    background: var(--light-bg);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.cta-block h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-block p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* Bubble Animation */
.bubble-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
    border-radius: 50%;
    backdrop-filter: blur(5px);
    animation: float-bubble 12s infinite;
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.2),
                0 0 30px rgba(139, 92, 246, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 0;
    transition: transform 0.3s ease;
    will-change: transform;
    pointer-events: auto;
}

.bubble::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(2px);
}

.bubble::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 20%;
    height: 20%;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    filter: blur(1px);
}

@keyframes float-bubble {
    0% {
        transform: translateY(120vh) translateZ(0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-20vh) translateZ(50px) scale(0.8);
        opacity: 0;
    }
}

/* Restore more bubbles with 3D effect */
.bubble:nth-child(1) { width: 100px; height: 100px; left: 10%; top: 20%; animation-delay: 0s; }
.bubble:nth-child(2) { width: 150px; height: 150px; left: 35%; top: 50%; animation-delay: -3s; }
.bubble:nth-child(3) { width: 80px; height: 80px; left: 60%; top: 30%; animation-delay: -6s; }
.bubble:nth-child(4) { width: 120px; height: 120px; left: 85%; top: 70%; animation-delay: -9s; }
.bubble:nth-child(5) { width: 90px; height: 90px; left: 20%; top: 80%; animation-delay: -12s; }

/* Additional 3D effects for different bubbles */
.bubble:nth-child(2n) {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(139, 92, 246, 0.15));
    animation-duration: 18s;
}

.bubble:nth-child(3n) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
    animation-duration: 20s;
}

/* Hide extra bubbles on mobile */
@media (max-width: 768px) {
    .bubble:nth-child(4),
    .bubble:nth-child(5) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bubble {
        animation: none;
        display: none;
    }
}

/* Mobile Scroll Button (Hidden by default) */
.hero-scroll-mobile {
    display: none;
    text-align: center;
    padding: 15px 0;
    margin-top: 10px;
}

.hero-scroll-mobile a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.hero-scroll-mobile a:hover {
    color: var(--primary-color);
}

.hero-scroll-mobile a span {
    margin-bottom: 8px;
}

.hero-scroll-mobile a i {
    font-size: 1.1rem;
    animation: scrollBounce 2s infinite;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .hero-scroll {
        display: none; /* Hide desktop scroll */
    }

    .hero-scroll-mobile {
        display: block; /* Show mobile scroll */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-scroll-mobile {
        padding: 12px 0;
    }

    .hero-scroll-mobile a {
        font-size: 0.8rem;
    }

    .hero-scroll-mobile a i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-scroll-mobile {
        padding: 10px 0;
    }

    .hero-scroll-mobile a {
        font-size: 0.75rem;
    }

    .hero-scroll-mobile a i {
        font-size: 0.9rem;
    }
}

/* Projects Page Styles */
.projects-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-view {
    padding: 12px 25px;
    background: var(--primary-color);
    color: #000;
    border-radius: 30px;
    font-weight: 500;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .btn-view {
    transform: translateY(0);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tags span {
    padding: 5px 15px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--darker-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(120deg, var(--primary-color) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Responsive Styles for Projects Page */
@media (max-width: 768px) {
    .projects-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .project-image {
        height: 200px;
    }

    .project-info {
        padding: 20px;
    }

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

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

    .project-card {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Experience Page Styles */
.timeline-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.timeline-content {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    width: calc(50% - 50px);
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 50px);
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.timeline-date {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.timeline-achievements {
    list-style: none;
}

.timeline-achievements li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.timeline-achievements li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Expertise Section */
.expertise-section {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.expertise-card:hover .expertise-icon {
    background: var(--primary-color);
    color: #000;
}

.expertise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.expertise-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.expertise-list {
    list-style: none;
    text-align: left;
}

.expertise-list li {
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.expertise-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

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

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

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

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.member-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    width: 35px;
    height: 35px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--primary-color);
    color: #000;
}

/* Responsive Styles for Experience Page */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        left: 0;
    }
}

@media (max-width: 768px) {
    .expertise-grid,
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-date {
        font-size: 1.1rem;
    }

    .timeline-content h3 {
        font-size: 1.3rem;
    }

    .expertise-card {
        padding: 25px;
    }

    .member-image {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .expertise-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .team-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* About Page Styles */
.story-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.story-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.story-text {
    flex: 1;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.story-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.story-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.story-image {
    flex: 1;
    position: relative;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

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

/* Values Section */
.values-section {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

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

.value-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--primary-color);
    color: #000;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mission-image {
    flex: 1;
    position: relative;
}

.mission-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

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

.mission-text {
    flex: 1;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.mission-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.mission-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.point {
    display: flex;
    align-items: center;
    gap: 15px;
}

.point i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.point p {
    color: var(--text-muted);
    margin: 0;
}

/* Responsive Styles for About Page */
@media (max-width: 992px) {
    .story-content,
    .mission-content {
        flex-direction: column;
    }

    .story-image,
    .mission-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .story-text,
    .mission-text {
        text-align: center;
    }

    .story-stats {
        justify-content: center;
    }

    .mission-points {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .story-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat {
        flex: 1;
        min-width: 150px;
    }

    .mission-points {
        grid-template-columns: 1fr;
    }

    .point {
        justify-content: center;
    }

    .story-image::before,
    .mission-image::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .story-text h2,
    .mission-text h2 {
        font-size: 2rem;
    }

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

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Terms & Privacy Pages Styles */
.terms-section,
.privacy-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.terms-content,
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-block,
.privacy-block {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.terms-block:hover,
.privacy-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.terms-block h2,
.privacy-block h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.terms-block p,
.privacy-block p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.terms-block ul,
.privacy-block ul {
    list-style: none;
    margin-left: 20px;
}

.terms-block ul li,
.privacy-block ul li {
    color: var(--text-muted);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.terms-block ul li::before,
.privacy-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.contact-list {
    margin-top: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Responsive Styles for Terms & Privacy Pages */
@media (max-width: 768px) {
    .terms-block,
    .privacy-block {
        padding: 25px;
    }

    .terms-block h2,
    .privacy-block h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .terms-block,
    .privacy-block {
        padding: 20px;
    }

    .terms-block h2,
    .privacy-block h2 {
        font-size: 1.2rem;
    }

    .terms-block ul,
    .privacy-block ul {
        margin-left: 10px;
    }
}

/* Contact Form Styles */
.contact-form-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-items {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.info-item:hover .icon {
    background: var(--primary-color);
    color: #000;
}

.info-item .info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-item .info p {
    color: var(--text-muted);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.contact-form {
    flex: 1;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
}

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

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input.has-value + label,
.form-group textarea.has-value + label {
    transform: translateY(-25px);
    font-size: 0.85rem;
    color: var(--primary-color);
    background: var(--card-bg);
    padding: 0 5px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Responsive Styles for Contact Form */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px;
    }

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

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-item .icon {
        margin: 0 0 15px 0;
    }
}

/* Support Widget */
.support-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.support-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.support-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.support-content {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.support-content.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.support-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.support-header i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 10px;
}

.support-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.support-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-option i {
    margin-right: 10px;
    color: var(--primary-color);
}

.support-option:hover {
    background: var(--primary-color);
    color: white;
}

.support-option:hover i {
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

@media (max-width: 768px) {
    .support-widget {
        bottom: 20px;
        right: 20px;
    }

    .support-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .support-content {
        width: 260px;
        bottom: 70px;
    }
}

.premium-tag {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.premium-tag::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.welcome-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: var(--bg-light);
    margin: 60px 0;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.feature-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-us {
        padding: 50px 0;
        margin: 40px 0;
    }
    
    .why-choose-us h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .feature {
        padding: 25px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Additional Mobile Responsive Improvements */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Better touch targets */
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve card layouts */
    .service-card,
    .project-card,
    .testimonial-card,
    .partner-card {
        margin-bottom: 20px;
    }
    
    /* Better spacing for mobile */
    .hero-buttons {
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 15px 30px;
        font-size: 0.9rem;
    }
    
    /* Improve partner logos on mobile */
    .partners-logos {
        gap: 20px;
    }
    
    .partner-logo {
        min-width: 120px;
        height: 80px;
    }
    
    .partner-logo img {
        max-height: 60px;
        object-fit: contain;
    }
    
    /* Better form inputs on mobile */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 15px;
    }
    
    /* Improve footer on mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    /* Better social icons on mobile */
    .social-icons {
        justify-content: center;
        gap: 15px;
    }
    
    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    /* Stack buttons vertically on very small screens */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Better partner logos on very small screens */
    .partner-logo {
        min-width: 100px;
        height: 70px;
    }
    
    .partner-logo img {
        max-height: 50px;
    }
    
    /* Improve form layout on very small screens */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    /* Better spacing for mobile */
    .hero,
    .partners,
    .company-partners,
    .services,
    .testimonials,
    .cta,
    .footer {
        padding: 40px 0;
    }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .hero-content h1 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Improve mobile navigation accessibility */
@media (max-width: 768px) {
    .main-nav ul li a {
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav ul li ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Better mobile animations */
@media (max-width: 768px) {
    .hero-content h1,
    .hero-content h2,
    .hero-content p {
        animation-duration: 0.6s;
    }
    
    .bubble {
        display: none; /* Hide bubbles on mobile for better performance */
    }
}

/* Mobile-specific improvements for better UX */
@media (max-width: 768px) {
    /* Better scroll behavior */
    html {
        scroll-behavior: smooth;
    }
    
    /* Improve button feedback */
    .btn:active {
        transform: scale(0.98);
    }
    
    /* Better focus states for accessibility */
    .btn:focus,
    .main-nav ul li a:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Improve text readability */
    .hero-content p,
    .section-header p {
        line-height: 1.7;
    }
}

