
/* Modern Color Scheme */
:root {
    /* Primary Colors */
    --primary-color: #6c63ff;
    /* Vibrant purple */
    --primary-dark: #564fd8;
    /* Darker purple */
    --primary-light: #7d76ff;
    /* Lighter purple */

    /* Secondary Colors */
    --secondary-color: #ff6584;
    /* Pink */
    --accent-color: #00b8d4;
    /* Cyan */

    /* Neutral Colors */
    --dark-color: #1e293b;
    /* Dark slate */
    --light-color: #f8fafc;
    /* Lightest gray */
    --gray-color: #64748b;
    /* Medium gray */
    --light-gray: #e2e8f0;
    /* Light gray */

    /* Status Colors */
    --success-color: #10b981;
    /* Emerald */
    --error-color: #ef4444;
    /* Red */
    --warning-color: #f59e0b;
    /* Amber */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);

    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

.dark-mode {
    --dark-color: #f8fafc;
    --light-color: #0f172a;
    --light-gray: #1e293b;
    --gray-color: #94a3b8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-top: 80px;
    /* Add padding to body to account for fixed header */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-position: right center;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #e64c7a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    margin-top: 30px;
    margin-bottom: 10px;
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.more-services-btn {
    position: relative;
    margin-top: -20px;
    /* Adjust this value as needed */
}

/* Header */
.header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    /* This pushes logo left and nav right */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    /* Adjust based on your design */
    margin: 0 auto;
    padding: 0 20px;
    /* This controls the left/right gap of the entire header */
}

.header-left {
    margin-right: auto;
    /* Pushes logo as far left as possible */
    transform: translateX(-50px);
}

.nav ul {
    margin-left: auto;
    /* Pushes navigation as far right as possible */
    padding-left: 30px;
    /* Adds space between logo and nav */
    transform: translateX(50px)
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo a {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo .first-part {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-clip: text;
    color: transparent;
}

.logo .second-part {
    color: var(--secondary-color);
}

.theme-toggle {
    cursor: pointer;
}

.bulb {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    transition: var(--transition);
}

.bulb i {
    font-size: 1.2rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.bulb:hover {
    transform: translateY(-3px);
}

.nav ul {
    display: flex;
    gap: 30px;
    
}

.nav a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    z-index: 1001;
}

/* Dark mode header styles */
.dark-mode .header {
    background-color: rgba(15, 23, 42, 0.95);
}

.dark-mode .logo a {
    color: var(--dark-color);
}

.dark-mode .bulb i {
    color: var(--dark-color);
}

.dark-mode .mobile-menu {
    color: var(--dark-color);
}

/* Main Content Spacing */
.main-content {
    padding-top: 40px;
    /* Additional padding for all main content */
}

/* Page Hero Section - For all pages */
.page-hero {
    padding: 40px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.03) 0%, rgba(255, 101, 132, 0.03) 100%);
    position: relative;
    overflow: hidden;
    margin-top: -40px;
    /* Compensate for body padding */
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(108, 99, 255, 0.08) 0%, transparent 50%);
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    color: var(--gray-color);
}
/* ===== Enhanced About Page Styles ===== */
/* .page-hero {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(255, 101, 132, 0.1) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
} */

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(108, 99, 255, 0.08) 0%, transparent 50%);
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

.about-section {
    padding: 0px 0;
    position: relative;
}

.about-content, .mission-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.about-text, .mission-text {
    flex: 1;
}

.about-image, .mission-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image:hover, .mission-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-image img, .mission-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img, .mission-image:hover img {
    transform: scale(1.05);
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateX(
        5px);
}

.about-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--gray-color);
}

.values-section {
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.value-card h3 {
    margin: 20px 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.value-card h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.value-card p {
    color: var(--gray-color);
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-content, .mission-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .mission-content {
        flex-direction: column-reverse;
    }
    
    .about-image, .mission-image, 
    .about-text, .mission-text {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-section h2, .section-title {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 80px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .about-section {
        padding: 60px 0;
    }
}
/* Section Spacing */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    /* margin-top: 30px; */
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
    margin-top: -80px;
    /* Compensate for header */
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 500px;
}

.slide-content .btn {
    margin-top: 20px;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.7) 0%, rgba(30, 41, 59, 0.4) 50%, rgba(30, 41, 59, 0.1) 100%);
    z-index: 2;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide:hover .slide-image img {
    transform: scale(1.03);
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-controls button:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Services Section */
.services-section {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(37, 99, 235, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card .btn {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.service-card:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Team Section */
.team-section {
    background-color: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.member-image {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light-gray);
}

.member-image img {
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* background-color: rgba(108, 99, 255, 0.8); */
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.team-member:hover .social-links {
    transform: translateY(0);
}

.social-links a {
    color: white;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding-bottom: 60px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ===== Updated Footer Styles ===== */
.footer {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 60px 0 30px;
}

.footer-logo a {
    color: var(--dark-color);
}

.footer p {
    color: var(--gray-color);
    opacity: 0.9;
}

.footer-col h3 {
    color: var(--dark-color);
}

.footer-col ul li a {
    color: var(--gray-color);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    color: var(--gray-color);
    border-top: 1px solid var(--light-gray);
}

.social-links a {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--dark-color);
}

.social-links a:hover {
    color: white;
}

/* Dark mode footer styles */
.dark-mode .footer {
    background-color: var(--light-color);
    /* This is actually dark in dark mode */
}

.dark-mode .footer-logo a,
.dark-mode .footer-col h3 {
    color: var(--dark-color);
    /* This is light in dark mode */
}

.dark-mode .footer p,
.dark-mode .footer-col ul li a,
.dark-mode .footer-bottom {
    color: var(--gray-color);
    /* Lighter gray in dark mode */
}

.dark-mode .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-color);
    /* Light in dark mode */
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-col h3 {

    position: relative;
    /* Needed for proper positioning */
    padding: 0px;

}


.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transform: translateY(8px);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    opacity: 0.7;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: white;
    padding-left: 5px;
}

.contact-info .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info .info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-info .info-content h3 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-info .info-content p,
.contact-info .info-content a {
    opacity: 0.7;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .slide-content {
        padding-left: 60px;
        padding-right: 60px;
    }

    .slide-content h1 {
        font-size: 3rem;
    }

    .slide-image {
        width: 45%;
    }
}

@media (max-width: 992px) {
    .hero-slider .slide {
        padding-left: 40px;
        /* This pushes content right */
        box-sizing: border-box;
        transform: translateX(40px);
    }

    .slide-content {
        width: 60%;
        padding-right: 30px;
        margin-left: 0;
        /* Ensure no negative margins */

    }

    .slide-image {
        width: 40%;
        margin-right: 0;
        /* Ensure no negative margins */
    }
}

@media (max-width: 768px) {
    .hero-slider .slide {
        padding-left: 20px;
        /* Less padding on mobile */
        flex-direction: column;
    }

    .slide-content,
    .slide-image {
        width: 100%;
        padding-right: 0;
    }

    .slide-content {
        margin-bottom: 30px;
        text-align: center;
    }
}

.contact-container {
    grid-template-columns: 1fr;
}


@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .header {
        padding: 15px 0;
    }

    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        padding: 20px;
        box-shadow: var(--shadow-hover);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }

    .dark-mode .nav {
        background-color: var(--light-color);
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
        
    }

    .mobile-menu {
        display: block;
    }

    .hero-slider {
        height: auto;
        padding: 60px 0;
    }

    .slide {
        flex-direction: column;
        position: relative;
        opacity: 1;
        height: auto;
    }

    .slide-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;

    }

    .slide-image {
        width: 100%;
    }

    .slider-controls {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        justify-content: center;
    }

    .slider-dots {
        display: none;
    }

    .page-hero {
        padding: 80px 0;
        margin-top: -20px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .page-hero {
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Header Animations */
.header {
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Service Card Animations */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background-color: var(--primary-color);
    color: white;
}

.service-card:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Team Member Animations */
.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Button Hover Animations */
.btn:hover {
    animation: pulse 0.5s;
}

/* Theme Toggle Animation */
.bulb {
    transition: transform 0.3s ease;
}

.bulb.clicked {
    transform: translateY(5px);
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 80px 0;
    background: var(--color-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: var(--color-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item i {
    margin-right: 0px;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--color-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* ===== Contact Hero Section ===== */
.contact-hero {
    padding: 40px 0 20px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(255, 101, 132, 0.05) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -20px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(108, 99, 255, 0.08) 0%, transparent 50%);
}

.contact-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero .subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.contact-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.contact-hero .hero-title span {
    color: var(--primary-color);
}

.contact-hero .hero-description {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 30px 0;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    background: var(--light-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .info-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.info-content p {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.6;
}

.social-links h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--light-color);
    color: var(--dark-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
}

.btn.btn-primary i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn.btn-primary:hover i {
    transform: translateX(5px);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 30px;
    }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
    }

    .contact-hero .hero-title {
        font-size: 2.5rem;
    }

    .contact-section {
        padding: 60px 0;
    }

    .info-item {
        margin-bottom: 25px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 15px;
    }
}

@media (max-width: 576px) {
    .contact-hero .hero-title {
        font-size: 2rem;
    }

    .contact-hero .hero-description {
        font-size: 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }

    .info-content h4 {
        font-size: 1.1rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }
}

/* ===== Footer Styles ===== */
.footer {
    background-color: var(--light-color);
    color: var(--dark-color);
    /* Text color changes with theme */
    padding: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 0px;
}

.footer-logo a {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--dark-color);
    /* Theme-aware color */
    margin-bottom: 0px;
    display: inline-block;
}


.footer-col h3 {
    color: var(--dark-color);
    /* Theme-aware color */
}

.footer-col ul li a {
    color: var(--gray-color);
    /* Theme-aware color */
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Contact info in footer */
.footer-col .contact-info li {
    color: var(--gray-color);
    /* Theme-aware color */
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-row {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    color: var(--gray-color);
    /* Theme-aware color */
}

.footer-bottom a {
    color: var(--gray-color);
    /* Theme-aware color */
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Stats Section Styles */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.03) 0%, rgba(255, 101, 132, 0.03) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-box {
    background: var(--light-color);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    transition: var(--transition);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-color);
    font-weight: 500;
}

/* Animation for the numbers */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate .stat-number {
    animation: countUp 0.5s ease-out forwards;
}

/* Social Links Grid */
.social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.social-row {
    display: flex;
    gap: 12px;
}

.social-links-grid a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.social-links-grid a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Dark mode styles */
.dark-mode .social-links-grid a {
    color: var(--dark-color);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .social-links-grid a:hover {
    color: white;
}

/* Service Tabs */
.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.tab-btn:hover {
    background-color: rgba(108, 99, 255, 0.2);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.tab-btn.active:hover {
    box-shadow: var(--shadow-hover);
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            transparent,
            transparent,
            transparent,
            var(--primary-color));
    transform: rotate(30deg);
    opacity: 0;
    transition: var(--transition);
}

.tab-btn:hover::before {
    opacity: 0.2;
    animation: shine 3s infinite;
}

.tab-btn.active::before {
    background: linear-gradient(to bottom right,
            transparent,
            transparent,
            transparent,
            white);
}

/* Dark mode adjustments */
.dark-mode .tab-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-color);
}

.dark-mode .tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .tab-btn.active {
    color: white;
}

@keyframes shine {
    0% {
        transform: rotate(30deg) translate(-30%, -30%);
    }

    100% {
        transform: rotate(30deg) translate(30%, 30%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 220px;
    }
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 0px 0;
    background-color: var(--light-color);
}

.faq-intro {
    text-align: center;
    margin-bottom: 50px;
}

.faq-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-intro p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto 25px;
}

.search-box {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid var(--light-gray);
    background-color: var(--light-color);
    color: var(--dark-color);
    font-family: var(--font-primary);
    font-size: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding-right: 50px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    transform: scale(1.05);
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 20px;
    border-radius: 50px;
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    border: none;
    font-family: var(--font-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn:hover {
    background-color: rgba(108, 99, 255, 0.2);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 20px 25px;
    background-color: var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    flex: 1;
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--light-color);
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray-color);
    line-height: 1.7;
}

.faq-item.active .faq-question {
    background-color: rgba(108, 99, 255, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* CTA Section */
.cta-section {
    padding: 0px 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(255, 101, 132, 0.05) 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Dark mode adjustments */
.dark-mode .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .faq-question {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .faq-item.active .faq-question {
    background-color: rgba(108, 99, 255, 0.1);
}

.dark-mode .search-box input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-intro h2 {
        font-size: 2rem;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .faq-intro h2 {
        font-size: 1.8rem;
    }

    .faq-categories {
        justify-content: flex-start;
    }

    .category-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* ===== Enhanced Legal Pages Styles ===== */
.page-hero.legal-hero {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.08) 0%, rgba(255, 101, 132, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(108, 99, 255, 0.1) 0%, transparent 50%);
}

/* .legal-section {
    padding: 80px 0;
    position: relative;
} */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light-color);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
    position: relative;
    padding-left: 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    padding-left: 20px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 40px;
}

.legal-content li {
    margin-bottom: 10px;
    position: relative;
    line-height: 1.7;
}

.legal-content li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--primary-dark);
}

.legal-content .highlight-box {
    background: rgba(108, 99, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.legal-content .last-updated {
    font-style: italic;
    color: var(--gray-color);
    text-align: right;
    margin-top: 40px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-content ul {
        padding-left: 30px;
    }
}

/* .contact-section {
  background-color: #0f1123;
  padding: 60px 20px;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}

.contact-left,
.contact-right {
  flex: 1 1 45%;
}

.contact-info h3 {
  color: #ffffff;
  margin: 20px 0 5px;
}

.contact-info p {
  color: #ccc;
  margin: 0 0 15px;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  background: #1a1d33;
  border: 1px solid #2a2e45;
  padding: 15px;
  border-radius: 10px;
  color: #ccc;
  font-size: 16px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666d87;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6c5dd3;
}

.submit-btn {
  padding: 15px;
  background: linear-gradient(to right, #6c5dd3, #f06595);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(to right, #5848c2, #e64980);
} */
/* Ensure dark mode applies to contact form */
.dark-mode .contact-form input,
.dark-mode .contact-form textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-color);
}

.dark-mode .contact-info {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Form Success Message */
.form-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(120%);
    animation: slideIn 0.5s forwards, slideOut 0.5s forwards 2.5s;
}

.form-success-message i {
    font-size: 1.5rem;
}

.success-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(120%);
    }
}

/* Dark mode form styles */
.dark-mode .contact-form input,
.dark-mode .contact-form textarea,
.dark-mode .contact-info {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-color);
}

.dark-mode .contact-form input::placeholder,
.dark-mode .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.dark-mode .info-content h4,
.dark-mode .info-content p {
    color: var(--dark-color);
}

/* Success Message */
.form-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(-100px);
    opacity: 0;
    animation: slideIn 0.5s forwards;
}

.form-success-message i {
    font-size: 1.5rem;
}

.form-success-message.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes slideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* Dark Mode Fixes */
.dark-mode {
    --light-color: #0f172a;
    --dark-color: #f8fafc;
    --light-gray: #1e293b;
    --gray-color: #94a3b8;
}

.dark-mode .contact-form input,
.dark-mode .contact-form textarea,
.dark-mode .contact-info {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-color);
}

.dark-mode .contact-form input::placeholder,
.dark-mode .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Usama */
/* ===== Service Hero Section ===== */
.service-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(255, 101, 132, 0.05) 100%);
    position: relative;
    overflow: hidden;
    margin-top: -20px;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(108, 99, 255, 0.08) 0%, transparent 50%);
}

.service-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.service-hero .subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.service-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark-color);
}

.service-hero .hero-description {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== Service Details Section ===== */
.service-details {
    padding: 0px 0;
    position: relative;
}

.service-details .container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.service-content {
    flex: 2;
}

.service-sidebar {
    flex: 1;
    position: sticky;
    top: 100px;
}

.service-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.service-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    

}

.service-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Process Steps */
.process-steps {
    margin: 50px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: -30px;
    width: 2px;
    background: var(--light-gray);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Technologies */
.technologies {
    margin: 60px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tech-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.tech-item span {
    font-weight: 500;
    color: var(--dark-color);
}

/* Sidebar Styles */
.sidebar-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    margin-bottom: 30px;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.service-meta li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--gray-color);
}

.service-meta i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.service-meta strong {
    color: var(--dark-color);
}

.related-services li {
    margin-bottom: 12px;
}

.related-services a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-color);
    transition: var(--transition);
}

.related-services a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.related-services i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.cta-card {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-card h3 {
    color: white;
}

.cta-card h3::after {
    background: white;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* ===== Testimonials Section ===== */
.service-testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.03) 0%, rgba(255, 101, 132, 0.03) 100%);
}

.service-testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    color: var(--primary-color);
    font-size: 2rem;
    font-family: serif;
    line-height: 1;
    position: absolute;
    opacity: 0.3;
}

.testimonial-content p::before {
    content: '\201C';
    top: -10px;
    left: -15px;
}

.testimonial-content p::after {
    content: '\201D';
    bottom: -30px;
    right: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* ===== FAQ Section ===== */
.service-faq {
    padding: 0px 0;
}

.service-faq h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 20px 25px;
    background-color: var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    flex: 1;
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--light-color);
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray-color);
    line-height: 1.7;
}

.faq-item.active .faq-question {
    background-color: rgba(108, 99, 255, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(255, 101, 132, 0.05) 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Dark Mode Adjustments */
.dark-mode .service-hero {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.03) 0%, rgba(255, 101, 132, 0.03) 100%);
}

.dark-mode .service-testimonials {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.03) 0%, rgba(255, 101, 132, 0.03) 100%);
}

.dark-mode .cta-section {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.03) 0%, rgba(255, 101, 132, 0.03) 100%);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-hero .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 30px;
        ;
    }

    .hero-buttons {
        justify-content: center;
    }

    .service-details .container {
        flex-direction: column;
    }

    .service-sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 80px 0;
    }

    .service-hero .hero-title {
        font-size: 2.5rem;
    }

    .service-content h2 {
        font-size: 1.8rem;
    }

    .step {
        flex-direction: column;
        gap: 15px;
    }

    .step:not(:last-child)::after {
        left: 30px;
        top: 80px;
        bottom: -30px;
    }
}

@media (max-width: 576px) {
    .service-hero .hero-title {
        font-size: 2rem;
    }

    .service-hero .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ===== Simple Service Header ===== */
.simple-service-header {
    padding: 60px 0 30px;
    text-align: center;
}

.simple-service-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.header-line {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .simple-service-header {
        padding: 40px 0 20px;
    }
    
    .simple-service-header h1 {
        font-size: 2rem;
    }
}
/* Sidebar Card Animations */
.sidebar-card {
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: var(--shadow);
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Service Details Card */
.sidebar-card .service-meta li {
    transition: all 0.3s ease;
    padding-left: 0;
}

.sidebar-card:hover .service-meta li {
    padding-left: 5px;
}

.sidebar-card .service-meta i {
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.sidebar-card:hover .service-meta i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Related Services Card */
.sidebar-card .related-services li a {
    transition: all 0.3s ease;
}

.sidebar-card:hover .related-services li a {
    color: var(--primary-color);
}

.sidebar-card .related-services i {
    transition: all 0.3s ease;
    transform: translateX(0);
}

.sidebar-card:hover .related-services i {
    transform: translateX(3px);
    color: var(--secondary-color);
}

/* Staggered animations for list items */
.sidebar-card:hover .service-meta li:nth-child(1),
.sidebar-card:hover .related-services li:nth-child(1) {
    transition-delay: 0.05s;
}

.sidebar-card:hover .service-meta li:nth-child(2),
.sidebar-card:hover .related-services li:nth-child(2) {
    transition-delay: 0.1s;
}

.sidebar-card:hover .service-meta li:nth-child(3),
.sidebar-card:hover .related-services li:nth-child(3) {
    transition-delay: 0.15s;
}

/* CTA Card Special Animation */
.cta-card {
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0),
        rgba(255,255,255,0),
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.2)
    );
    transform: rotate(30deg);
    opacity: 0;
    transition: all 0.6s ease;
}

.cta-card:hover::before {
    opacity: 1;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(30deg) translate(-30%, -30%);
    }
    100% {
        transform: rotate(30deg) translate(30%, 30%);
    }
}

.cta-card .btn {
    transition: all 0.3s ease;
    transform: scale(1);
}

.cta-card:hover .btn {
    transform: scale(1.05);
}
/* Mobile-first responsive updates */

/* Header adjustments */
@media (max-width: 992px) {
    .header .container {
        padding: 0 15px;
    }
    
    .header-left {
        transform: translateX(0);
    }
    
    .nav ul {
        transform: translateX(0);
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        padding: 20px;
        box-shadow: var(--shadow-hover);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--dark-color);
    }
    
    .dark-mode .nav {
        background-color: var(--light-color);
    }
}

/* Hero slider adjustments */
@media (max-width: 992px) {
    .hero-slider {
        height: auto;
        padding: 100px 0;
    }
    
    .slide {
        flex-direction: column;
        position: relative;
        height: auto;
    }
    
    .slide-content {
        width: 100%;
        padding: 0 20px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
        margin: 0 auto 15px;
    }
    
    .slide-content p {
        margin: 0 auto 20px;
        font-size: 1.1rem;
    }
    
    .slider-controls {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        justify-content: center;
    }
}

/* Services section adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

/* Footer adjustments */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
    
    .social-links-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* General mobile adjustments */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .container {
        padding: 20px;
    }
}

/* Mobile menu toggle functionality */
.mobile-menu {
    display: none; /* Hidden by default on desktop */
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        z-index: 1000;
    }
    
    .nav {
        display: none;
    }
    
    .nav.active {
        display: block;
    }
}

/* Ensure all interactive elements are tappable on mobile */
button, a, input, .service-card {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent layout shifts on mobile */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Improve form input sizes on mobile */
input, textarea, select {
    font-size: 16px !important;
}
/* Responsive Styles */
@media (max-width: 1024px) {
    /* Tablet Landscape and Small Laptops */
    .hero-slider {
        height: 80vh;
    }
    
    .slide-content {
        padding: 0 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-col:last-child {
        grid-column: span 2;
        text-align: center;
    }
    
    .social-links-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Tablets and Large Phones */
    body {
        padding-top: 70px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        padding: 20px;
        box-shadow: var(--shadow-hover);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-slider {
        height: 70vh;
        padding: 80px 0;
    }
    
    .slide {
        flex-direction: column;
    }
    
    .slide-content {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .slide-content h1,
    .slide-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .slider-controls {
        position: relative;
        bottom: auto;
        margin-top: 30px;
    }
    
    .services-section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    /* Mobile Phones */
    .hero-slider {
        height: 85vh;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col:last-child {
        grid-column: span 1;
        text-align: left;
    }
    
    .social-links-grid {
        justify-content: flex-start;
    }
}

/* iPad Specific Adjustments */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) {
    /* General iPad styles */
    .hero-slider {
        height: 85vh;
    }
    
    .slide-content h1 {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Portrait */
    @media (orientation: portrait) {
        .hero-slider {
            height: 70vh;
        }
        
        .slide-content h1 {
            font-size: 2.5rem;
        }
    }
    
    /* Landscape */
    @media (orientation: landscape) {
        .hero-slider {
            height: 100vh;
        }
        
        .slide {
            flex-direction: row;
        }
        
        .slide-content {
            width: 60%;
        }
        
        .slide-image {
            width: 40%;
        }
        
        .services-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
}

/* iPad Pro Specific */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) {
    .hero-slider {
        height: 90vh;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Safari on iOS fixes */
@supports (-webkit-touch-callout: none) {
    .hero-slider {
        height: 100vh;
        max-height: -webkit-fill-available;
    }
    
    /* Fix sticky hover states */
    @media (hover: none) {
        .service-card:hover,
        .btn:hover,
        .nav a:hover {
            transform: none !important;
        }
    }
}

/* Touch device detection */
@media (pointer: coarse) {
    /* Adjust hover effects for touch devices */
    .service-card:hover .service-icon {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    /* Increase tap target sizes */
    a, button, [role="button"] {
        min-height: 44px;
        min-width: 44px;
    }
}
/* Contact Page Specific Menu Fix */
.contact-page .header {
    position: relative; /* Change from fixed to relative */
    padding: 15px 0;
}

.contact-page body {
    padding-top: 0; /* Remove padding since header isn't fixed */
}

.contact-page .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    padding: 20px;
    box-shadow: var(--shadow-hover);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.contact-page .nav.active {
    transform: translateY(0);
}

.contact-page .nav ul {
    flex-direction: column;
    gap: 30px;
}

.contact-page .mobile-menu {
    display: block;
}

@media (min-width: 1025px) {
    .contact-page .header {
        position: fixed;
    }
    
    .contact-page body {
        padding-top: 80px;
    }
    
    .contact-page .nav {
        position: static;
        width: auto;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        transform: none;
    }
    
    .contact-page .nav ul {
        flex-direction: row;
    }
    
    .contact-page .mobile-menu {
        display: none;
    }
}