/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    
    /* Dark Mode Variables */
    --dark-bg: #1f2937;
    --dark-text: #f9fafb;
    --dark-card: #374151;
    --dark-navbar: #111827;
    --dark-border: #4b5563;
}

.dark-mode {
    --bg-light: var(--dark-bg);
    --text-dark: var(--dark-text);
    --white: var(--dark-card);
    --text-light: #d1d5db;
}

/* Enhanced dark mode text colors */
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
    color: var(--dark-text) !important;
}

.dark-mode p,
.dark-mode span,
.dark-mode li {
    color: var(--text-light) !important;
}

.dark-mode .section-title {
    color: var(--primary-color) !important;
}

.dark-mode .service-card h3 {
    color: var(--primary-color) !important;
}

.dark-mode .feature h3 {
    color: var(--dark-text) !important;
}

.dark-mode .contact-form h3 {
    color: var(--primary-color) !important;
}

.dark-mode .hero-content h2 {
    color: var(--dark-text) !important;
}

.dark-mode .hero-content p {
    color: var(--text-light) !important;
}

.dark-mode .contact-details h4 {
    color: var(--dark-text) !important;
}

.dark-mode .contact-details p {
    color: var(--text-light) !important;
}

.dark-mode .navbar {
    background-color: rgba(17, 24, 39, 0.95);
}

.dark-mode .nav-links a {
    color: var(--dark-text);
}

.dark-mode .hamburger span {
    background-color: var(--dark-text);
}

.dark-mode .hero {
    background: var(--dark-bg);
}

.dark-mode .services {
    background-color: var(--dark-bg);
}

.dark-mode .about {
    background-color: var(--dark-card);
}

.dark-mode .contact {
    background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-bg) 100%);
}

.dark-mode .service-card {
    background-color: var(--dark-card);
    border-color: var(--dark-border);
}

.dark-mode .service-card:hover {
    border-color: var(--primary-color);
}

.dark-mode .contact-card {
    background: var(--dark-card);
}

.dark-mode .contact-item {
    background: var(--dark-bg);
}

.dark-mode .contact-item:hover {
    background: var(--dark-border);
}

.dark-mode .modal-content {
    background-color: var(--dark-card);
    color: var(--dark-text);
}

.dark-mode .form-control {
    background-color: var(--dark-bg);
    border-color: var(--dark-border);
    color: var(--dark-text);
}

.dark-mode .form-control:focus {
    background-color: var(--dark-bg);
    border-color: var(--primary-color);
    color: var(--dark-text);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.dark-mode .form-select {
    background-color: var(--dark-bg);
    border-color: var(--dark-border);
    color: var(--dark-text);
}

.dark-mode .form-label {
    color: var(--dark-text);
}

.dark-mode .bg-light {
    background-color: var(--dark-border) !important;
}

.dark-mode .btn-close {
    filter: invert(1);
}

.dark-mode .footer {
    background-color: var(--dark-bg);
}

/* Squares Animation Styles */
.squares-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.squares-canvas {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    pointer-events: auto;
}

.hero-squares {
    opacity: 0.6;
}

.dark-mode .squares-background {
    opacity: 0.4;
}

.dark-mode .hero-squares {
    opacity: 0.3;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text h1 {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2c5aa0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Dark Mode Toggle Slider */
.dark-mode-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 1rem;
}

.toggle-label {
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Dark mode toggle label opacity */
.dark-mode .toggle-label:first-child {
    opacity: 0.5;
}

.dark-mode .toggle-label:last-child {
    opacity: 1;
}

body:not(.dark-mode) .toggle-label:first-child {
    opacity: 1;
}

body:not(.dark-mode) .toggle-label:last-child {
    opacity: 0.5;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 100px;
    text-align: center;
    margin-top: 70px;
    background: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-shape-1 {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-shape-2 {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-button {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #2c5aa0;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    color: #666;
}

.book-btn {
    background-color: #2c5aa0;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.book-btn:hover {
    background-color: #1e3c72;
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature p {
    color: #666;
}

/* Enhanced Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-details p {
    color: #1f2937;
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #f9fafb;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    width: 100%;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Modal Styles - Bootstrap Override and Custom */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block !important;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    outline: 0;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1.5rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
}

.btn-close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    opacity: 0.5;
}

.btn-close:hover {
    color: #000;
    opacity: 0.75;
}

.success-modal {
    text-align: center;
    padding: 2rem;
}

.success-modal .modal-content {
    max-width: 400px;
    margin: auto;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

/* Modal backdrop */
.modal-open {
    overflow: hidden;
}

/* Fix modal display issues */
#successModal .modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    animation: slideIn 0.3s ease;
    text-align: center;
}

#successModal .cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

#successModal .cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: #2c5aa0;
}

/* Form Styles - Bootstrap Enhancement */
.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Payment Section Styles */
.payment-section {
    background-color: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.payment-section h6 {
    color: var(--primary-color);
    font-weight: 600;
}

.payment-section strong {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.125rem;
    }

/* Responsive Design */
/* Hamburger Menu Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 3rem;
        gap: 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.2rem;
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background-color: var(--bg-light);
        color: var(--primary-color);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Mobile First Responsive Enhancements */
@media (max-width: 576px) {
    /* General Layout */
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        display: none;
    }
    
    .dark-mode-toggle-container {
        margin-left: 0.5rem;
        gap: 6px;
    }
    
    .toggle-switch {
        width: 44px;
        height: 22px;
    }
    
    .toggle-label {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 2rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat strong {
        font-size: 1.5rem;
    }
    
    .stat span {
        font-size: 0.75rem;
    }
    
    /* Services Section */
    .services {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-list {
        font-size: 0.9rem;
    }
    
    /* About Section */
    .about {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature h3 {
        font-size: 1.1rem;
    }
    
    .feature p {
        font-size: 0.9rem;
    }
    
/* Contact Section */
    .contact {
        padding: 60px 0;
    }
    
    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .contact-details h4 {
        font-size: 0.75rem;
    }
    
    .contact-details p {
        font-size: 0.875rem;
    }
    
    .contact-form {
        width: 100%;
        order: 2; /* Place form after contact info on mobile */
    }
    
    .contact-card {
        width: 100%;
        order: 1;
    }
    
    .contact-form h3 {
        font-size: 1.25rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Modal Styles */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-content {
        border-radius: 10px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
        max-height: calc(100vh - 150px);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .form-control, .form-select {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-label {
        font-size: 0.875rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0;
        font-size: 0.875rem;
    }
}

/* Mobile Responsive for forms */
@media (max-width: 768px) {
    /* Modal Form Adjustments */
    .modal-body form {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-body .row {
        display: flex;
        flex-direction: column;
        margin: 0;
    }
    
    .modal-body .col-4,
    .modal-body .col-8,
    .modal-body .col-md-6 {
        width: 100%;
        padding: 0;
        margin-bottom: 0.75rem;
    }
    
    .modal-body .mb-3 {
        margin-bottom: 0.75rem !important;
    }
    
    /* Contact form specific */
    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form {
        width: 100%;
        order: 2; /* Place form after contact info on mobile */
    }
    
    .contact-card {
        width: 100%;
        order: 1;
    }
    
    /* Ensure all form elements stack vertically */
    .form-control, 
    .form-select,
    .contact-form input,
    .contact-form textarea {
        width: 100% !important;
        display: block;
        box-sizing: border-box;
    }
    
    /* Payment section in modal */
    .payment-section {
        margin-top: 1rem !important;
        padding: 1rem !important;
    }
    
    /* Submit button full width */
    .d-grid .btn,
    .submit-btn {
        width: 100%;
        display: block;
    }
}

/* Tablet Responsive */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        gap: 2rem;
    }
    
    .contact-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Tablet / Small Desktop */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-wrapper {
        flex-direction: row;
        align-items: stretch;
    }
    
    .contact-card,
    .contact-form {
        flex: 1;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .contact-wrapper {
        flex-direction: row;
        gap: 3rem;
        align-items: stretch;
    }
    
    .contact-card,
    .contact-form {
        flex: 1;
    }
    
    .contact-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}
