/* css/styles.css - Purple & Cyan Theme with Mobile Hamburger */

/* ==================== 
   Global Styles 
   ==================== */
:root {
    /* Primary Purple Palette */
    --primary-color: #7C3AED;
    --primary-dark: #5B21B6;
    --primary-light: #A78BFA;
    
    /* Cyan Accent Palette */
    --accent-color: #06B6D4;
    --accent-dark: #0891B2;
    --accent-light: #22D3EE;
    
    /* Neutral Colors */
    --dark-color: #1e293b;
    --text-color: #334155;
    --light-color: #f8fafc;
    --light-purple: #F5F3FF;
    --very-light-purple: #FAF5FF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    --gradient-accent: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%);
    --gradient-mixed: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
    --gradient-hero: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #0891B2 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.1);
    --shadow-md: 0 4px 16px rgba(124, 58, 237, 0.15);
    --shadow-lg: 0 10px 40px rgba(124, 58, 237, 0.2);
    --shadow-cyan: 0 4px 16px rgba(6, 182, 212, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
}

.container,
.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
}

.col, [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* ==================== 
   Navigation 
   ==================== */
#mainNav {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
    width: 100%;
    z-index: 2001;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

#mainNav.scrolled {
    background: rgba(91, 33, 182, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-text {
    color: white;
}

.brand-highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--accent-light) !important;
}

/* ==================== 
   Mobile Hamburger Menu 
   ==================== */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2001;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.hamburger {
    width: 28px;
    height: 22px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #22D3EE;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
    box-shadow: 0 2px 5px rgba(34, 211, 238, 0.3);
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
    top: 9px;
}

.hamburger span:nth-child(4) {
    top: 18px;
}

/* Hamburger Animation - Open State */
.navbar-toggler[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.15);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1) {
    top: 9px;
    width: 0%;
    left: 50%;
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) {
    transform: rotate(45deg);
    background: #A78BFA;
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.4);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    background: #A78BFA;
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.4);
}

.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(4) {
    top: 9px;
    width: 0%;
    left: 50%;
}

/* Mobile Menu Container */
.navbar-collapse {
    background: linear-gradient(180deg, rgba(91, 33, 182, 0.98) 0%, rgba(124, 58, 237, 0.98) 100%);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    padding: 100px 25px 30px;
    overflow-y: auto;
    display: none;
}

.navbar-collapse.show {
    display: block !important;
}

.navbar-collapse .navbar-nav {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.navbar-collapse .nav-item {
    margin: 0.75rem 0;
    opacity: 0;
    transform: translateX(-30px);
}

.navbar-collapse.show .nav-item {
    animation: slideInLeft 0.5s ease forwards;
}

.navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.4s; }
.navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.5s; }

.navbar-collapse .nav-link {
    font-size: 1.35rem;
    padding: 1.25rem 1.5rem !important;
    margin: 0;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-collapse .nav-link::after {
    display: none;
}

.navbar-collapse .nav-link::before {
    content: '';
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #22D3EE 0%, #06B6D4 100%);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 15px 0 0 15px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.navbar-collapse .nav-link:hover::before,
.navbar-collapse .nav-link.active::before {
    transform: scaleY(1);
}

.navbar-collapse .nav-link:hover,
.navbar-collapse .nav-link:active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(34, 211, 238, 0.4);
    transform: translateX(8px);
}

.navbar-collapse .nav-link.active {
    background: rgba(34, 211, 238, 0.15);
    border-color: rgba(34, 211, 238, 0.5);
}

.navbar-collapse .nav-link i {
    font-size: 1.4rem;
    margin-left: 10px;
    color: #22D3EE;
    filter: drop-shadow(0 2px 4px rgba(34, 211, 238, 0.4));
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Desktop Navigation - Hide hamburger */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    
    .navbar-collapse {
        position: static !important;
        background: transparent !important;
        backdrop-filter: none !important;
        height: auto !important;
        padding: 0 !important;
        overflow-y: visible !important;
        display: flex !important;
        z-index: auto !important;
    }
    
    .navbar-collapse .navbar-nav {
        flex-direction: row !important;
        max-width: none !important;
    }
    
    .navbar-collapse .nav-item {
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    .navbar-collapse .nav-link {
        font-size: 1rem !important;
        padding: 0.5rem 1rem !important;
        background: transparent !important;
        margin: 0 0.25rem !important;
        border-radius: 0 !important;
        border: none !important;
    }
    
    .navbar-collapse .nav-link::after {
        display: block !important;
    }
    
    .navbar-collapse .nav-link::before {
        display: none !important;
    }
    
    .navbar-collapse .nav-link:hover {
        background: transparent !important;
        transform: none !important;
        border-color: transparent !important;
    }
    
    .navbar-collapse .nav-link i {
        display: none !important;
    }
}

/* ==================== 
   Hero Section 
   ==================== */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

.hero-section .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.hero-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(6,182,212,0.05)" width="50" height="50"/><rect fill="rgba(124,58,237,0.05)" x="50" y="50" width="50" height="50"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-buttons .btn-primary {
    background: var(--gradient-accent);
    border: none;
    box-shadow: var(--shadow-cyan);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    border-color: white;
}

/* Floating Cards Animation */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    width: 250px;
    height: 150px;
    top: 50px;
    left: 0;
    background: var(--gradient-primary);
    animation-delay: 0s;
}

.card-2 {
    width: 200px;
    height: 180px;
    top: 150px;
    right: 50px;
    background: var(--gradient-accent);
    animation-delay: 2s;
}

.card-3 {
    width: 220px;
    height: 140px;
    bottom: 100px;
    left: 80px;
    background: var(--gradient-mixed);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.scroll-indicator a {
    color: var(--accent-light);
    font-size: 2rem;
    text-decoration: none;
    display: inline-block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==================== 
   About Section 
   ==================== */
.about-image img {
    transition: transform 0.3s ease;
    border-radius: 20px;
    max-width: 100%;
    height: auto;
}

.about-image:hover img {
    transform: scale(1.05);
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
}

/* ==================== 
   Services Section 
   ==================== */
#services {
    background: var(--very-light-purple);
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-mixed);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ==================== 
   Portfolio Section 
   ==================== */
.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background: white;
    border: 2px solid transparent;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

@media (min-width: 768px) {
    .portfolio-image {
        height: 300px;
    }
}

@media (min-width: 992px) {
    .portfolio-image {
        height: 350px;
    }
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(124, 58, 237, 0.95) 0%, rgba(6, 182, 212, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.portfolio-tags {
    margin-top: 1rem;
}

.portfolio-tags .badge {
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.portfolio-info p {
    color: var(--text-color);
    margin: 0;
}

/* ==================== 
   Contact Section 
   ==================== */
#contact {
    background: var(--light-purple);
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 2px solid var(--primary-light);
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin: 2rem 0;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: var(--light-purple);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.contact-item h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--text-color);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.social-links a:hover {
    transform: translateY(-5px);
    background: var(--gradient-accent);
    box-shadow: var(--shadow-cyan);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.contact-form .form-control {
    border: 2px solid #e2e8f0;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.15);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn-primary {
    background: var(--gradient-accent);
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-cyan);
}

/* ==================== 
   Footer 
   ==================== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-color) 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer h4,
.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* ==================== 
   Back to Top Button 
   ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

@media (max-width: 768px) {
    .back-to-top {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
    
    .back-to-top:hover {
        transform: translateX(-50%) scale(1.1) !important;
    }
}

/* ==================== 
   Responsive Design 
   ==================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        height: 300px;
        margin-top: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-card {
        width: 150px !important;
        height: 100px !important;
    }
}

@media (max-width: 768px) {
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative;
    }
    
    * {
        max-width: 100%;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-section {
        overflow-x: hidden !important;
    }
    
    .hero-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
        padding: 0 10px;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        padding: 0 10px;
        word-wrap: break-word;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 20px;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        margin: 0;
    }
    
    .hero-buttons .btn-lg {
        margin-bottom: 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    .hero-title {
        font-size: 1.75rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-subtitle {
        text-align: center;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-buttons {
        padding: 0 15px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .col-12,
    .col-md-6,
    .col-lg-4,
    .col-lg-6 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-brand img {
        height: 50px;
    }
}