/* ===================================
   OBRAJ (Private) Limited - Styles
   =================================== */

/* CSS Variables */
:root {
    --primary-blue: #0A2463;
    --royal-blue: #1E3A8A;
    --light-blue: #3B82F6;
    --accent-gold: #D4AF37;
    --dark-text: #0F172A;
    --light-text: #475569;
    --bg-light: #F8FAFC;
    --bg-premium: #FAFBFD;
    --error-red: #DC2626;
    --success-green: #059669;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--dark-text);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip to Content (Accessibility) */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 0;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: 1.5px;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    display: inline-block;
}

.logo img + .logo-text {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--primary-blue);
    outline: none;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 65px;
    background: linear-gradient(135deg, #0A2463 0%, #1E3A8A 100%);
    color: white;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(212,175,55,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.hero-badge {
    display: inline-block;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--accent-gold);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(10,36,99,0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Section Styles */
section {
    padding: 4rem 4rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* About Section */
.about {
    background: #FAFBFC;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    font-weight: 400;
}

/* Stats Section */
.stats {
    background: var(--primary-blue);
    padding: 3rem 4rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(212,175,55,0.3);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.3rem;
    line-height: 1;
}

.stat-label {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(10,36,99,0.08);
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(10,36,99,0.12);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
    background: var(--accent-gold);
}

.service-card:hover .service-icon svg,
.service-card:focus-within .service-icon svg {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.service-card p {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: center;
}

/* Why Choose Us Section */
.why-choose {
    background: #FAFBFC;
}

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

.feature-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(10,36,99,0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.feature-item:hover,
.feature-item:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(10,36,99,0.1);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon,
.feature-item:focus-within .feature-icon {
    background: var(--accent-gold);
}

.feature-item:hover .feature-icon svg,
.feature-item:focus-within .feature-icon svg {
    transform: scale(1.1);
}

.feature-item h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.feature-item p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 0.92rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-blue);
    padding: 4rem 4rem;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: inline-block;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    outline: 2px solid white;
    outline-offset: 2px;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--bg-premium) 0%, #ffffff 100%);
    position: relative;
}

.contact-wrapper {
    padding: 0 2rem;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.7;
    margin-top: 0.8rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--royal-blue) 100%);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(10,36,99,0.2);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.contact-info-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.contact-info-header h3 {
    font-size: 1.8rem;
    color: white;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-info-header p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.2);
    transition: all 0.3s ease;
}

.contact-info-item:hover,
.contact-info-item:focus-within {
    background: rgba(255,255,255,0.12);
    border-color: var(--accent-gold);
    transform: translateX(5px);
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-blue);
}

.contact-info-text h4 {
    color: var(--accent-gold);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-info-text p,
.contact-info-text address {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: normal;
}

.contact-info-text a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-text a:hover,
.contact-info-text a:focus {
    color: var(--accent-gold);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: white;
    transition: fill 0.3s ease;
}

.social-link:hover,
.social-link:focus {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}

.social-link:hover svg,
.social-link:focus svg {
    fill: var(--primary-blue);
}

/* Contact Form */
.contact-form-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(10,36,99,0.1);
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-header h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    color: var(--light-text);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    color: var(--dark-text);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.required {
    color: var(--error-red);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(10,36,99,0.1);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10,36,99,0.1);
}

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

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.error-message {
    display: block;
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    min-height: 20px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--royal-blue) 100%);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10,36,99,0.3);
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover:not(:disabled),
.submit-btn:focus:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10,36,99,0.4);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-block;
}

.spinner {
    animation: rotate-spinner 2s linear infinite;
    width: 20px;
    height: 20px;
}

.spinner .path {
    stroke: white;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate-spinner {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: white;
    padding: 2.5rem 4rem 1.5rem;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--accent-gold);
    text-decoration: underline;
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
}

.copyright p:last-child {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(212,175,55,0.8);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(10,36,99,0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover,
.back-to-top:focus {
    background: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(10,36,99,0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.back-to-top.show {
    display: flex;
}

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

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1200px) {
    nav {
        padding: 1rem 2rem;
    }

    section {
        padding: 4rem 2rem;
    }

    .hero {
        padding: 5rem 2rem;
    }

    .stats {
        padding: 3rem 2rem;
    }

    .cta-section {
        padding: 4rem 2rem;
    }

    footer {
        padding: 2.5rem 2rem 1.5rem;
    }
}

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

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

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

@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo img {
        height: 35px;
    }

    .hero {
        padding: 4rem 1.5rem;
        margin-top: 65px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.3rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

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

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

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .service-card,
    .feature-item {
        padding: 1.5rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 2rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }

    footer {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .footer-links {
        gap: 1.2rem;
        font-size: 0.85rem;
    }

    .about-content {
        font-size: 1rem;
        padding: 0;
    }

    .contact-intro p {
        font-size: 0.95rem;
    }

    .stats {
        padding: 2.5rem 1.5rem;
    }

    .cta-section {
        padding: 3rem 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-button,
    .submit-btn {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .contact-form-card {
        padding: 2rem 1.2rem;
    }
}