* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
}

body {
    font-family: 'Segoe UI', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background: #f8fafc;
    color: #111;
    line-height: 1.6;
    scroll-behavior: smooth;
}

:root {
    --primary-blue: #0a66c2;
    --primary-dark: #0a3e7a;
    --primary-light: #1a75d2;
    --accent-blue: #0077b5;
    --pure-white: #ffffff;
    --off-white: #f9fafb;
    --black-soft: #111827;
    --gray-600: #4b5563;
    --gray-200: #e5e7eb;
    --shadow-sm: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    --shadow-md: 0 20px 25px -12px rgba(0,0,0,0.08);
}

.container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: clamp(15px, 4vw, 40px) !important;
    padding-right: clamp(15px, 4vw, 40px) !important;
}

/* Navigation */
.navbar {
    background: var(--pure-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-area:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text h1 {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--black-soft);
    margin: 0;
    text-transform: uppercase;
}

.logo-text p {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: 2.5px;
    margin: 0;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--black-soft);
    transition: color 0.3s ease;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    padding: 6px 0;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-light));
    border-radius: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #052a52 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.7rem 1.7rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.25);
}

/* Hero Section */
.hero {
    background: linear-gradient(110deg, #ffffff 0%, #eef4ff 50%, #dce9ff 100%);
    padding: 5rem 0 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 102, 194, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 320px;
}

.hero-badge {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary-dark);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(10, 102, 194, 0.15);
}

.hero-content h1 {
    font-size: clamp(1.75rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--black-soft);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.highlight {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.hero-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.hero-image i {
    font-size: 14rem;
    color: var(--primary-blue);
    opacity: 0.85;
    filter: drop-shadow(0 10px 30px rgba(10, 102, 194, 0.2));
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--black-soft);
    letter-spacing: -0.5px;
    word-wrap: break-word;
    padding: 0 10px;
}

.section-sub {
    text-align: center;
    color: var(--gray-600);
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.7;
    padding: 0 15px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    width: 100%;
}

.service-card {
    background: var(--pure-white);
    border-radius: 1.8rem;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 102, 194, 0.15);
    border-color: var(--primary-blue);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black-soft);
    word-wrap: break-word;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: clamp(0.88rem, 2vw, 1rem);
}

/* Developer Contact Section */
.developer-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 50%, #0a2f5a 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.developer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.developer-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    padding: 0 15px;
}

.developer-section > p {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    opacity: 0.95;
    padding: 0 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border-radius: 1.8rem;
    padding: 2rem 2.5rem;
    min-width: 280px;
    border: 2px solid rgba(255,255,255,0.25);
    flex: 1;
    max-width: 420px;
    width: 100%;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.contact-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.contact-card a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    word-break: break-word;
    transition: opacity 0.2s;
}

.contact-card a:hover {
    opacity: 0.8;
}

.contact-card p {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Footer - Blue Theme */
footer {
    background: linear-gradient(135deg, #0a3e7a 0%, #052a52 50%, #041d3a 100%);
    color: #e0e7ef;
    padding: 3.5rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-light), var(--primary-blue));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p, .footer-section a {
    color: #c7d3e0;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.7rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-section i {
    color: var(--primary-light);
    margin-right: 0.5rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-bottom p {
    color: #c7d3e0;
    font-size: 0.95rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* RESPONSIVE - Desktop, Tablet & Mobile */

/* Large Desktop */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px !important;
        margin: 0 auto !important;
    }
}

/* Tablet Landscape & Small Desktop */
@media (max-width: 1024px) {
    .hero { padding: 4rem 0; }
    .hero-content h1 { font-size: 2.6rem; }
    .hero-content p { font-size: 1.1rem; }
    .card-grid { 
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
        gap: 2rem;
    }
    .section-title { font-size: 2.2rem; }
    .section-sub { font-size: 1.05rem; }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .nav-container { 
        flex-direction: column; 
        gap: 1.2rem; 
        padding: 1rem 0; 
        align-items: center;
    }
    
    .logo-area {
        gap: 12px;
    }
    
    .logo-img {
        width: 48px;
        height: 48px;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-text p {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }
    
    .nav-links { 
        gap: 1.5rem; 
        justify-content: center; 
        width: 100%;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        font-size: 0.92rem;
    }
    
    .hero { 
        padding: 3.5rem 0; 
    }
    
    .hero-grid { 
        flex-direction: column; 
        text-align: center; 
        gap: 2rem; 
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content h1 { 
        font-size: 2.2rem; 
        line-height: 1.25; 
    }
    
    .hero-content p {
        font-size: 1.05rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image i { 
        font-size: 10rem; 
    }
    
    .section-title { 
        font-size: 2rem; 
        line-height: 1.2;
    }
    
    .section-sub {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .service-card { 
        padding: 2rem 1.5rem; 
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .contact-card {
        min-width: 250px;
        padding: 1.8rem 2rem;
    }
    
    .contact-card i {
        font-size: 2.2rem;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
    }
    
    .contact-card a {
        font-size: 1.15rem;
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
    }
    
    .footer-bottom { 
        flex-direction: column; 
        text-align: center; 
        gap: 1.2rem;
    }
}

/* Mobile Landscape & Large Phones */
@media (max-width: 640px) {
    .hero { 
        padding: 3rem 0; 
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.35rem 1rem;
    }
    
    .hero-content h1 { 
        font-size: 1.95rem;
        letter-spacing: -0.5px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-image i { 
        font-size: 8rem; 
    }
    
    .section-title { 
        font-size: 1.85rem; 
    }
    
    .section-sub {
        font-size: 0.95rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .service-card { 
        padding: 1.8rem 1.4rem; 
    }
    
    .btn-primary, .btn-outline { 
        padding: 0.75rem 1.6rem; 
        font-size: 0.92rem;
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .hero-buttons a {
        width: 100%;
    }
    
    .contact-cards {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .contact-card {
        max-width: 100%;
        width: 100%;
    }
    
    .developer-section h2 {
        font-size: 2rem;
    }
    
    .developer-section > p {
        font-size: 1.05rem;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo-img {
        width: 42px;
        height: 42px;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .logo-text p {
        font-size: 0.6rem;
        letter-spacing: 1.8px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a { 
        font-size: 0.88rem;
        padding: 4px 0;
    }
    
    .hero { 
        padding: 2.5rem 0; 
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.9rem;
        gap: 0.4rem;
    }
    
    .hero-content h1 { 
        font-size: 1.75rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .hero-image i { 
        font-size: 7rem; 
    }
    
    .section-title { 
        font-size: 1.7rem;
        padding: 0 5px;
    }
    
    .section-sub {
        font-size: 0.92rem;
        padding: 0 5px;
        margin-bottom: 2.5rem;
    }
    
    .service-card { 
        padding: 1.6rem 1.2rem; 
        border-radius: 1.4rem;
    }
    
    .service-icon {
        font-size: 2.3rem;
        margin-bottom: 1.2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .btn-primary, .btn-outline { 
        padding: 0.7rem 1.4rem; 
        font-size: 0.88rem;
        gap: 0.5rem;
    }
    
    .contact-card {
        padding: 1.6rem 1.5rem;
        border-radius: 1.4rem;
    }
    
    .contact-card i {
        font-size: 2rem;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-card a {
        font-size: 1.05rem;
    }
    
    .developer-section {
        padding: 4rem 0;
    }
    
    .developer-section h2 {
        font-size: 1.85rem;
    }
    
    .developer-section > p {
        font-size: 1rem;
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section p, .footer-section a {
        font-size: 0.9rem;
    }
    
    footer {
        padding: 3rem 0 1.5rem 0;
    }
}

/* Extra Small Phones */
@media (max-width: 360px) {
    .logo-img {
        width: 38px;
        height: 38px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text p {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .hero-content h1 { 
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .hero-image i { 
        font-size: 6rem; 
    }
    
    .section-title { 
        font-size: 1.55rem;
    }
    
    .section-sub {
        font-size: 0.88rem;
    }
    
    .service-card {
        padding: 1.4rem 1rem;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.88rem;
    }
    
    .btn-primary, .btn-outline {
        padding: 0.65rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .developer-section h2 {
        font-size: 1.7rem;
    }
    
    .contact-card {
        padding: 1.4rem 1.2rem;
    }
}

/* Prevent horizontal scroll on all devices */
* {
    max-width: 100%;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .btn-primary, .btn-outline, .service-card, .contact-card {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px !important;
    }
}

/* Landscape orientation fixes */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        margin-bottom: 1.5rem;
    }
}

/* Print styles */
@media print {
    .navbar, .hero-buttons, footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .service-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}


/* Additional Mobile Optimizations */

/* Improve button tap targets on mobile */
@media (max-width: 768px) {
    .btn-primary, .btn-outline {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Fix iOS Safari bottom bar issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Smooth font rendering on all devices */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Improve touch scrolling on iOS */
.service-card, .contact-card {
    -webkit-overflow-scrolling: touch;
}

/* Better text selection on mobile */
::selection {
    background-color: var(--primary-blue);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-blue);
    color: white;
}

/* Disable text inflation on Android */
html {
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}

/* Safe area for devices with notches */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(env(safe-area-inset-left), 0px);
        padding-right: max(env(safe-area-inset-right), 0px);
    }
    
    .container {
        padding-left: max(env(safe-area-inset-left), clamp(15px, 4vw, 40px)) !important;
        padding-right: max(env(safe-area-inset-right), clamp(15px, 4vw, 40px)) !important;
    }
}

/* Improved focus states for keyboard navigation */
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Loading state optimization */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Lazy loading support */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([loading]) {
    opacity: 1;
}

/* Small screen specific improvements */
@media (max-width: 375px) {
    html {
        font-size: 15px;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .btn-primary, .btn-outline {
        font-size: 0.85rem;
        padding: 0.65rem 1.2rem;
    }
}

/* Very large screens */
@media (min-width: 2560px) {
    html {
        font-size: 18px;
    }
    
    .container {
        max-width: 1800px !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary, .btn-outline {
        border-width: 3px;
    }
    
    .service-card {
        border-width: 3px;
    }
}

/* Dark mode readiness (future enhancement) */
@media (prefers-color-scheme: dark) {
    /* Can be implemented later */
}

/* Foldable device support */
@media (horizontal-viewport-segments: 2) {
    .container {
        max-width: none;
    }
}

/* Better loading performance */
.service-card, .contact-card {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Prevent layout shift */
.hero-image i {
    aspect-ratio: 1;
    width: 100%;
    max-width: 14rem;
    height: auto;
}


/* WhatsApp Styling */
.fa-whatsapp {
    color: #25D366 !important;
}

.footer-social a:has(.fa-whatsapp):hover {
    background: #25D366 !important;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Mobile WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 1.6rem;
    }
}

/* Legal Pages Link Styling */
.footer-bottom a {
    transition: opacity 0.3s ease;
}

.footer-bottom a:hover {
    opacity: 0.7;
}
