/* 
IT Support at Door Steps - Main CSS Styles
*/

/* ===== Base Styles ===== */
:root {
    /* Primary color - Blue */
    --primary-50: #eef2fa;
    --primary-100: #d1ddf5;
    --primary-200: #b4c7ef;
    --primary-300: #89a6e5;
    --primary-400: #5c83d8;
    --primary-500: #3964cc;
    --primary-600: #264eb2;
    --primary-700: #1c3d8f;
    --primary-800: #112a66;
    --primary-900: #1741a5c7;
    
    /* Secondary color - Blue */
    --secondary-50: #eef2fa;
    --secondary-100: #d1ddf5;
    --secondary-200: #b4c7ef;
    --secondary-300: #89a6e5;
    --secondary-400: #5c83d8;
    --secondary-500: #3964cc;
    --secondary-600: #264eb2;
    --secondary-700: #1c3d8f;
    --secondary-800: #112a66;
    --secondary-900: #1741a5c7;
    
    /* Other colors */
    --dark: #1741a5c7;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #1741a5c7;
    --white: #ffffff;
    --success: #1741a5c7;
    --error: #1741a5c7;
    
    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(23, 65, 165, 0.05);
    --shadow: 0 1px 3px 0 rgba(23, 65, 165, 0.1), 0 1px 2px 0 rgba(23, 65, 165, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(23, 65, 165, 0.1), 0 2px 4px -1px rgba(23, 65, 165, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(23, 65, 165, 0.08), 0 4px 6px -2px rgba(23, 65, 165, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(23, 65, 165, 0.08), 0 10px 10px -5px rgba(23, 65, 165, 0.03);
    
    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-50);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.page-loaded {
    opacity: 1;
}

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

h1 {
    font-size: 2.75rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.primary-text {
    color: #cc3939;
}

.success-text {
    color: var(--success);
}

.error-text {
    color: var(--error);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.025em;
}

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

.btn-primary:hover {
    background-color: var(--primary-700);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-primary,
.btn-primary * {
    color: #fff !important;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-600);
    border: 1px solid var(--primary-600);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background-color: var(--primary-50);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn i {
    margin-left: var(--spacing-sm);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

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

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo a:hover .logo-img {
    transform: rotate(15deg);
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.header.scrolled .logo-text {
    color: var(--gray-900);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .desktop-nav ul {
        display: flex;
        gap: 2rem;
    }
    
    .desktop-nav a {
        color: #000 !important;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }
    
    .desktop-nav a:hover {
        color: var(--primary-500);
    }
    
    .desktop-nav a.highlight {
        color: var(--primary-500);
        font-weight: 600;
    }
    
    .header.scrolled .desktop-nav a {
        color: var(--gray-700);
    }
    
    .header.scrolled .desktop-nav a:hover {
        color: var(--primary-500);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    font-size: 1.5rem;
    color: var(--gray-800);
    cursor: pointer;
    z-index: 1001;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    z-index: 1000;
    padding: var(--spacing-xl);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-close-btn {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
}

.mobile-nav nav {
    margin-top: var(--spacing-2xl);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.mobile-nav li {
    text-align: center;
}

.mobile-nav a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    padding: var(--spacing-sm) 0;
    display: block;
}

.mobile-nav a:hover {
    color: var(--primary-600);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 10rem 0 6rem;
    background: rgb(23,65,165);
    background: linear-gradient(90deg, rgba(23,65,165,0.9) 0%, rgba(38,78,178,0.85) 55%, rgba(57,100,204,0.8) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.3;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero-blob-1 {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background-color: var(--primary-700);
    opacity: 0.2;
}

.hero-blob-2 {
    right: 0;
    bottom: 0;
    width: 800px;
    height: 800px;
    background-color: var(--primary-600);
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-text {
    color: var(--white);
}

.hero-text h1 {
    margin-bottom: var(--spacing-lg);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: var(--spacing-xl);
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: var(--spacing-3xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-stat i {
    font-size: 2rem;
    color: var(--primary-400);
    margin-bottom: 0.5rem;
}

.hero-stat h4 {
    margin-bottom: 0.25rem;
}

.hero-stat p {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.laptop-mockup {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 90%;
    height: 90%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.laptop-header {
    height: 2rem;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.laptop-dots {
    display: flex;
    gap: 0.5rem;
}

.laptop-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.laptop-dot.red {
    background-color: var(--error);
}

.laptop-dot.yellow {
    background-color: #f59e0b;
}

.laptop-dot.green {
    background-color: var(--success);
}

.laptop-screen {
    flex-grow: 1;
    background-color: var(--gray-900);
    position: relative;
}

.screen-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

dotlottie-player {
    z-index: 2;
    position: relative;
}

.floating-card {
    position: absolute;
    background-color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
}

.floating-card-1 {
    top: 10px;
    right: 20px;
    transform: rotate(6deg);
}

.floating-card-2 {
    bottom: 50px;
    left: 20px;
    transform: rotate(-6deg);
}

.floating-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.floating-card-icon.success {
    background-color: var(--primary-900);
}

.floating-card-icon.primary {
    background-color: var(--primary-900);
}

.floating-card-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.floating-card-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

@media (min-width: 992px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
    }
    
    .hero-text {
        width: 50%;
    }
    
    .hero-image {
        width: 50%;
        height: 500px;
    }
    
    .hero-btns {
        flex-direction: row;
    }
}

/* Hero Section Mobile Fixes */
@media (max-width: 767px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-2xl);
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-btns {
        justify-content: center;
    }

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

    .hero-image {
        margin-top: var(--spacing-xl);
    }

    .floating-card {
        display: none;
    }
}

/* ===== Services Section ===== */
.services {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--primary-50);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--secondary-50);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-500);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background-color: var(--primary-50);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-500);
    font-weight: 500;
    transition: var(--transition);
}

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

.service-link i {
    font-size: 1rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Services Section Mobile Fixes */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

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

    .service-icon {
        margin: 0 auto var(--spacing-md);
    }
}

/* ===== Why Choose Section ===== */
.why-choose {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.why-choose .container {
    position: relative;
    z-index: 1;
}

.why-choose .section-header h2 {
    color: var(--white);
}

.why-choose .section-header p {
    color: var(--gray-300);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-500);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card .feature-icon {
    font-size: 2rem;
    color: var(--primary-500);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background-color: rgba(57, 100, 204, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: rgba(57, 100, 204, 0.2);
    transform: rotate(10deg);
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-300);
    margin-bottom: 0;
}

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

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

/* ===== About Section ===== */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 0;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-dot {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: var(--primary-500);
    margin-top: 0.25rem;
    flex-shrink: 0;
    position: relative;
}

.feature-dot::before {
    content: '';
    position: absolute;
    inset: 0.25rem;
    background-color: var(--primary-100);
    border-radius: 50%;
}

.feature-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.feature-content p {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .about-content {
        flex-direction: row;
    }
    
    .about-image,
    .about-text {
        width: 50%;
    }
}

/* About Section Mobile Fixes */
@media (max-width: 767px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-bottom: var(--spacing-2xl);
    }

    .about-features {
        text-align: left;
    }
}

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

.testimonials::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-100);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    color: var(--primary-500);
    opacity: 0.2;
    font-size: 3rem;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.author-image {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Testimonials Section Mobile Fixes */
@media (max-width: 767px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

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

    .testimonial-author {
        justify-content: center;
    }
}

/* ===== Contact Section ===== */
.contact {
    padding: 6rem 0;
    background-color: var(--primary-800);
    background-image: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info {
    color: var(--white);
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

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

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

.contact-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-container {
    width: 100%;
}

.form-box {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.form-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.form-group.focused label {
    color: var(--primary-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--gray-50);
}

.form-group.focused input,
.form-group.focused select,
.form-group.focused textarea {
    border-color: var(--primary-500);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: none;
}

.error-message {
    display: none;
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-group.error input,
.form-group.error select {
    border-color: var(--error);
}

.form-group.error .error-message {
    display: block;
}

.form-status {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    pointer-events: none !important;
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(23, 65, 165, 0.3);
    border-top-color: var(--primary-900);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(23, 65, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-900);
    font-size: 2rem;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .contact-content {
        flex-direction: row;
        align-items: center;
    }
    
    .contact-info {
        width: 50%;
    }
    
    .contact-form-container {
        width: 41.666667%;
    }
}

/* Contact Section Mobile Fixes */
@media (max-width: 767px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-info {
        text-align: center;
        margin-bottom: var(--spacing-2xl);
    }

    .contact-features {
        justify-content: center;
    }

    .form-box {
        padding: var(--spacing-lg);
    }
}

/* ===== Footer ===== */
.footer {
    background-color: var(--gray-900);
    background-image: linear-gradient(0deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-600), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

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

.footer-logo .logo-img {
    width: 3rem;
    height: 3rem;
}

.footer-column p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

.footer-column h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition);
}

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

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

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

.contact-item i {
    color: var(--primary-500);
    margin-top: 0.25rem;
}

.contact-item span {
    color: var(--gray-400);
}

.working-hours {
    margin-top: 0.5rem;
}

.working-hours h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.working-hours p {
    margin-bottom: 0.25rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 0.875rem;
    transition: var(--transition);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom .container {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Footer Mobile Fixes */
@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* ===== Animations ===== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-600 {
    animation-delay: 0.6s;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.delay-100 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-200 {
    transition-delay: 0.2s;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-right {
    transform: translateX(-50px);
}

.slide-right.visible {
    transform: translateX(0);
}

.slide-left {
    transform: translateX(50px);
}

.slide-left.visible {
    transform: translateX(0);
}

/* Improved Button Hover Effects */
.btn:active {
    transform: translateY(1px);
}

/* Testimonial Star Ratings */
.star-rating {
    color: var(--primary-600);
    font-size: 1rem;
    margin: 0.5rem 0 1rem;
    display: flex;
    justify-content: center;
}

.star-rating i {
    margin: 0 0.1rem;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

#submit-button {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
} 