/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-logo span:first-child {
    color: var(--primary-color);
}

.nav-logo span:last-child {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%2310b981" fill-opacity="0.1" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Hero Image/Animation */
.hero-image {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* Domains Section */
.domains {
    padding: 80px 0;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.domain-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.domain-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.domain-icon i {
    font-size: 1.25rem;
    color: white;
}

.domain-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.domain-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.domain-features span {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: var(--light-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.why-us-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-us-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.why-us-icon i {
    font-size: 1.25rem;
    color: white;
}

.why-us-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.why-us-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: var(--dark-color);
    color: white;
}

.process .section-header h2,
.process .section-header p {
    color: white;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.process-step p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--gray-600);
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-100);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo h3 span:last-child {
    color: var(--secondary-color);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* SEO and Accessibility Styles */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Error message styles for form validation */
.error-message {
    display: none;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.error-message.show {
    display: block;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group input.success,
.form-group textarea.success {
    border-color: #10b981;
    background-color: #f0fdf4;
}

/* Hamburger button accessibility */
.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000000;
        color: #ffffff;
    }
    
    .btn-primary {
        background: #ffffff;
        color: #000000;
        border: 2px solid #ffffff;
    }
    
    .service-card,
    .domain-card,
    .why-us-card {
        border: 2px solid var(--gray-800);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-card {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles for SEO */
@media print {
    .navbar,
    .hero-buttons,
    .hamburger,
    .floating-card {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
        padding: 20px 0;
    }
    
    .contact-form {
        display: none;
    }
    
    .contact-details a {
        color: black;
        text-decoration: underline;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .service-card,
    .domain-card,
    .why-us-card {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 10pt;
    }
}

/* Focus indicators for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
.hamburger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Improve readability */
p, li {
    max-width: 70ch;
}

/* Better link styling */
.contact-details a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover,
.contact-details a:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Loading state for forms */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* SEO-friendly image alternatives */
.service-icon,
.domain-icon,
.why-us-icon {
    position: relative;
}

.service-icon::after,
.domain-icon::after,
.why-us-icon::after {
    content: attr(data-alt);
    position: absolute;
    left: -9999px;
}

/* Structured data enhancement */
[itemscope] {
    position: relative;
}

/* Mobile Responsive Styles */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .domains-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
        min-height: 50px;
    }
    
    /* Hero Section - Single Column Layout */
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        order: 1;
    }
    
    .hero-image {
        order: 2;
        height: 300px;
        margin-top: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stat {
        text-align: center;
        min-width: 120px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    /* Floating cards - mobile optimization */
    .floating-card {
        font-size: 0.8rem;
        padding: 0.75rem 1rem;
    }
    
    .floating-card i {
        font-size: 1.2rem;
    }    
    /* Services */
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        text-align: left;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    /* Domains */
    .domains {
        padding: 60px 0;
    }
    
    .domains-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .domain-card {
        padding: 1.5rem;
        text-align: left;
    }
    
    /* Why Us */
    .why-us {
        padding: 60px 0;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-us-card {
        padding: 1.5rem;
        text-align: left;
    }
    
    /* Process */
    .process {
        padding: 60px 0;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    /* Contact - Fixed grid layout */
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 1;
        text-align: left;
    }
    
    .contact-form {
        order: 2;
        padding: 2rem 1.5rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
        text-align: left;
    }
    
    .contact-details {
        gap: 1.5rem;
    }
    
    .contact-item {
        align-items: flex-start;
        gap: 1rem;
    }
    
    .contact-item div {
        flex: 1;
    }
      /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 1rem;
        order: 1;
    }
    
    .footer-logo h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-logo p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        order: 2;
        text-align: center;
    }
    
    .footer-links div {
        margin-bottom: 1.5rem;
    }
    
    .footer-links h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links ul li a {
        font-size: 0.9rem;
        display: block;
        padding: 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-contact {
        order: 3;
        text-align: center;
    }
    
    .footer-contact h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }
    
    /* Typography adjustments */
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Spacing adjustments */
    section {
        padding: 60px 0;
    }
    
    /* Form improvements */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */        min-height: 48px;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    /* Hero */
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-container {
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stat {
        min-width: auto;
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    .hero-image {
        height: 250px;
        margin-top: 1rem;
    }
    
    .floating-card {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .floating-card i {
        font-size: 1rem;
    }
    
    /* Service and domain cards */
    .service-card,
    .domain-card,
    .why-us-card {
        padding: 1.5rem 1.25rem;
    }
    
    .service-card h3,
    .domain-card h3,
    .why-us-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card p,
    .domain-card p,
    .why-us-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Icons */
    .service-icon,
    .domain-icon,
    .why-us-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .service-icon i,
    .domain-icon i,
    .why-us-icon i {
        font-size: 1.25rem;
    }
    
    /* Process */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    /* Form improvements for mobile */
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px;
        padding: 12px 16px;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    /* Contact items */
    .contact-item {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .contact-item i {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .contact-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
      /* Footer */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-logo p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .footer-links ul li {
        width: 100%;
        max-width: 200px;
        margin-bottom: 0.25rem;
    }
    
    .footer-links ul li a {
        font-size: 0.85rem;
        padding: 0.75rem;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.05);
        transition: background-color 0.3s ease;
    }
    
    .footer-links ul li a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-contact h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
        display: inline-block;
        margin: 0.25rem;
    }
    
    .footer-bottom {
        margin-top: 1rem;
        padding-top: 1rem;
        font-size: 0.75rem;
    }
    
    /* Typography */
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    /* Spacing */
    section {
        padding: 50px 0;
    }
    
    /* Domain features tags */
    .domain-features {
        gap: 0.4rem;
        margin-top: 1rem;
    }
    
    .domain-features span {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    /* Service features list */
    .service-features li {        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        padding-left: 1.25rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stat h3 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .service-card,
    .domain-card,
    .why-us-card {
        padding: 1.25rem 1rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
      .section-header h2 {
        font-size: 1.6rem;
    }
    
    .floating-card {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
      .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    /* Footer enhancements for very small screens */
    .footer {
        padding: 25px 0 10px;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-logo h3 {
        font-size: 1.1rem;
    }
    
    .footer-logo p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-links ul li a {
        font-size: 0.8rem;
        padding: 0.6rem;
    }
    
    .footer-contact p {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .footer-bottom {
        font-size: 0.7rem;
        padding-top: 0.75rem;
        margin-top: 0.75rem;
    }
}

/* Additional Mobile Enhancements */

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
}

/* Better touch feedback */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .service-card:hover,
    .domain-card:hover,
    .why-us-card:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .service-card:active,
    .domain-card:active,
    .why-us-card:active {
        transform: translateY(-2px);
    }
}

/* Optimize animations for mobile */
@media (max-width: 768px) {
    .service-card,
    .domain-card,
    .why-us-card,
    .process-step {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    /* Reduce motion for performance */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
}

/* Safe area adjustments for notched devices */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .nav-menu.active {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Fix iOS Safari viewport height issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Better form handling on mobile */
@media (max-width: 768px) {
    .form-group input:focus,
    .form-group textarea:focus {
        transform: scale(1.02);
        transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    /* Prevent zoom on input focus for iOS */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        top: 60px;
    }
    
    section {
        padding: 40px 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-icon,
    .domain-icon,
    .why-us-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Image optimization for mobile */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Flexible video embeds */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile-friendly table styles (if needed in future) */
@media (max-width: 768px) {
    table {
        border: 0;
    }
    
    table caption {
        font-size: 1.3em;
    }
    
    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    
    table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }
    
    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }
    
    table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }
    
    table td:last-child {
        border-bottom: 0;
    }
}

/* Optimize loading states for mobile */
@media (max-width: 768px) {
    .loading-skeleton {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }
    
    @keyframes loading {
        0% {
            background-position: 200% 0;
        }
        100% {
            background-position: -200% 0;
        }
    }
}

/* Improve readability on small screens */
@media (max-width: 480px) {
    p, li {
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    /* Larger tap targets for better accessibility */
    .service-features li,
    .domain-features li {
        padding: 8px 0 8px 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* Better spacing for contact info */
    .contact-details {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        border-radius: 8px;
        background: var(--gray-100);
        margin-bottom: 1rem;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Reduce shadows for better performance */
    .service-card,
    .domain-card,
    .why-us-card {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .service-card:hover,
    .domain-card:hover,
    .why-us-card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
    
    /* Simpler gradients for better performance */
    .service-icon,
    .domain-icon,
    .why-us-icon {
        background: var(--primary-color);
    }
    
    .domain-icon {
        background: var(--secondary-color);
    }
}
