/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #111827;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow-x: hidden;
    padding-top: 85px;
    font-size: 16px;
    margin: 0;
    min-height: 100vh;
    /* Mobile-specific improvements */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Prevent zoom on input focus for iOS */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography - Headers moved to headers.css */

/* Improved text readability */
p, span, div {
    color: #374151;
    font-weight: 500;
}

/* Default section headers moved to headers.css */

.section-header p {
    color: #4b5563 !important;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-logo i {
    color: #3b82f6;
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: #60a5fa !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Images */
.hero-image {
    margin-bottom: 0.1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-image-first {
    min-height: 150px;
}

.hero-image-second {
    min-height: 80px;
}

.hero-main-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    background-color: transparent;
    display: block;
}

.hero-second-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    background-color: transparent;
    display: block;
}

.hero-secondary-image {
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Download Section */
.download-section {
    margin: 0.5rem 0;
    text-align: center;
    position: relative;
    transform: none !important;
    z-index: 10;
}

.download-title {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    min-width: 160px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
    border-color: #6366f1;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.download-btn i {
    font-size: 2rem;
    color: #6366f1;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-platform {
    font-size: 0.8rem;
    color: #666;
    line-height: 1;
}

.download-store {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

/* Green Download Buttons */
.download-buttons-green {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    justify-content: center;
    margin: 0.8rem auto;
    max-width: 350px;
    padding: 0 1rem;
    position: relative;
    transform: none !important;
}

.download-btn-green {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.4s ease;
    width: 100%;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.download-btn-green:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.download-btn-green:hover::before {
    left: 100%;
}

.download-btn-green:active {
    transform: translateY(-2px) scale(1.02);
}

/* Hero Section Updates */
.hero {
    min-height: 40vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 50px 0 15px;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: auto;
}

.hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    display: inline-block;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
}

/* Missing Button Styles */
.order-now-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #006A4E 0%, #00A86B 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 106, 78, 0.3);
}

.order-now-btn:hover {
    background: linear-gradient(135deg, #00A86B 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.4);
}

.contact-us-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #006A4E 0%, #00A86B 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 106, 78, 0.3);
    margin-top: 1rem;
}

.contact-us-btn:hover {
    background: linear-gradient(135deg, #00A86B 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.4);
    color: #ffffff !important;
}

.plan-note {
    color: #6b7280 !important;
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #006A4E 0%, #00A86B 100%);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 40vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 50px 0 15px;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: auto;
}

.hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Urdu Content Styling */
.urdu-content {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #333;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.urdu-text {
    font-size: 1.1rem;
    color: #333;
    text-align: center;
    line-height: 1.8;
    font-family: 'Noto Nastaliq Urdu', serif;
    direction: rtl;
}

/* Game Icons Animation */
.hero-visual {
    position: relative;
    height: 500px;
}

.game-icons {
    position: relative;
    width: 100%;
    height: 100%;
}

.icon-float {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.icon-float:nth-child(1) {
    top: 10%;
    left: 20%;
}

.icon-float:nth-child(2) {
    top: 20%;
    right: 10%;
}

.icon-float:nth-child(3) {
    bottom: 30%;
    left: 10%;
}

.icon-float:nth-child(4) {
    bottom: 10%;
    right: 30%;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.section-header h2 {
    font-size: 3.5rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header p {
    font-size: 1.3rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #111827 !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-text p {
    color: #374151 !important;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Page Styling */
.about-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-page {
    padding: 60px 0;
    min-height: 70vh;
}

.about-page-content {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.about-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.about-section h2 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #006A4E;
    display: inline-block;
}

.about-section h3 {
    margin: 30px 0 20px;
    font-size: 1.4rem;
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #374151;
    font-size: 1.1rem;
}

.about-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.about-section li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #374151;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #006A4E, #00A86B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.team-member h4 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.team-member .role {
    color: #006A4E;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.skill-item {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #006A4E;
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #006A4E, #00A86B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.3rem;
}

.skill-item h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.skill-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #6b7280;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
    padding: 40px 0;
    background: #f8fafc;
    border-radius: 12px;
}

.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #006A4E;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #374151;
    font-weight: 600;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.mission-box, .vision-box {
    background: linear-gradient(135deg, #006A4E, #00A86B);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.mission-box h3, .vision-box h3 {
    color: white !important;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.mission-box p, .vision-box p {
    color: white;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Missing Component Styles */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #006A4E;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #374151 !important;
    font-weight: 600;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #006A4E;
}

.feature i {
    color: #006A4E;
    font-size: 1.5rem;
}

.feature span {
    color: #374151 !important;
    font-weight: 600;
}

.hero-desc-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-desc-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #111827 !important;
}

.hero-desc-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #374151 !important;
}

.hero-description {
    padding: 4rem 0;
    background: #ffffff;
}

.our-project {
    padding: 4rem 0;
    background: #f8fafc;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    margin-bottom: 1rem;
    color: #111827 !important;
}

.project-info p {
    margin-bottom: 0.5rem;
    color: #374151 !important;
}

.project-info ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.project-info li {
    margin-bottom: 0.5rem;
    color: #374151 !important;
}

.services-overview {
    padding: 4rem 0;
    background: #ffffff;
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-overview-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-overview-card:hover {
    transform: translateY(-5px);
}

.service-overview-image {
    height: 200px;
    overflow: hidden;
}

.service-overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overview-info {
    padding: 2rem;
}

.service-overview-info h3 {
    margin-bottom: 1rem;
    color: #111827 !important;
}

.service-overview-info p {
    color: #374151 !important;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #006A4E, #00A86B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #111827 !important;
}

.service-card p {
    color: #374151 !important;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.1);
    border-color: #006A4E;
}

.contact-item i {
    color: #006A4E;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #111827 !important;
    font-weight: 600;
}

.contact-item p {
    color: #374151 !important;
    margin: 0;
    font-weight: 500;
}

.contact-item div {
    flex: 1;
}

.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contact-form h3 {
    color: #111827;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn.btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #006A4E 0%, #00A86B 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 106, 78, 0.3);
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, #00A86B 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.4);
}

.btn.btn-primary:active {
    transform: translateY(0);
}

.btn.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006A4E;
    box-shadow: 0 0 0 3px rgba(0, 106, 78, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #00A86B;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #006A4E;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact form error states */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Contact form success states */
.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    padding: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #3b82f6;
    font-size: 2rem;
}

.footer-logo span {
    font-size: 1.5rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #60a5fa;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-links a i {
    font-size: 1.2rem;
}

.legal-links-footer {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.legal-links-footer a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.legal-links-footer a:hover {
    color: #60a5fa;
}

.contact-info-footer p {
    color: #cbd5e1;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.contact-info-footer i {
    color: #3b82f6;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(203, 213, 225, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-content p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
}

.business-disclaimer {
    font-style: italic;
    opacity: 0.8;
}

/* Individual Developer Disclaimer Section */
.developer-disclaimer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.disclaimer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-icon {
    flex-shrink: 0;
}

.disclaimer-icon i {
    font-size: 3rem;
    color: #006A4E;
    opacity: 0.8;
}

.disclaimer-text h3 {
    color: #006A4E;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.disclaimer-text p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .project-grid,
    .services-overview-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
        /* Ensure navbar stays on top */
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 1.4rem;
        /* Prevent logo from being too small on mobile */
        z-index: 10000;
    }
    
    .nav-logo i {
        font-size: 1.8rem;
    }
    
    .hamburger {
        display: flex;
        /* Improve touch target */
        padding: 8px;
        /* Ensure it's above other elements */
        z-index: 10000;
        /* Better touch area */
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 85px;
        flex-direction: column;
        background-color: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding: 2rem 0;
        border-top: 1px solid rgba(148, 163, 184, 0.3);
        /* Ensure menu covers content */
        z-index: 9998;
        /* Prevent scrolling behind menu */
        height: calc(100vh - 85px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem;
        display: block;
        /* Better touch targets */
        min-height: 44px;
        /* Prevent text from being too small */
        font-size: max(16px, 1.1rem);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    body {
        padding-top: 75px;
        font-size: max(14px, 16px); /* Prevent fonts from being too small */
    }
    
    .hero {
        padding: 2rem 0;
        /* Prevent content from being cut off */
        min-height: auto;
    }
    
    .hero-container {
        padding: 0 15px;
        /* Ensure no horizontal overflow */
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-content {
        gap: 1.5rem;
        /* Prevent layout issues */
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image {
        max-width: 100%;
        margin-bottom: 1rem;
        /* Prevent image overflow */
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .hero-image-first {
        min-height: 120px;
    }
    
    .hero-image-second {
        min-height: 60px;
    }
    
    .hero-main-image,
    .hero-second-image {
        max-width: 300px;
        /* Ensure images scale properly */
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .download-section {
        margin: 1rem 0;
        width: 100%;
    }
    
    .download-buttons-green {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        /* Ensure buttons don't overflow */
        width: 100%;
        padding: 0 10px;
    }
    
    .download-btn-green {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
        font-size: max(14px, 0.9rem); /* Prevent text from being too small */
        /* Better touch targets */
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Prevent button overflow */
        box-sizing: border-box;
    }
}

/* Mobile Typography */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-desc-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-desc-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .contact-us-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile About Section */
@media (max-width: 768px) {
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        order: 2;
        margin-top: 2rem;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .feature {
        padding: 1rem;
    }
    
    .feature i {
        font-size: 1.2rem;
    }
    
    .feature span {
        font-size: 0.9rem;
    }
}

/* Mobile Project Section */
@media (max-width: 768px) {
    .our-project {
        padding: 3rem 0;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .project-info p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .project-info ul {
        margin-left: 1rem;
    }
    
    .project-info li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
}

/* Mobile Services Section */
@media (max-width: 768px) {
    .services-overview,
    .services {
        padding: 3rem 0;
    }
    
    .services-overview-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-overview-card,
    .service-card {
        padding: 1.5rem;
    }
    
    .service-overview-info h3,
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-overview-info p,
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
}

/* Mobile Plans Section */
@media (max-width: 768px) {
    .our-plan {
        padding: 3rem 0;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .plan-card {
        padding: 1.5rem;
        margin: 0 15px;
    }
    
    .plan-price .amount {
        font-size: 2.5rem;
    }
    
    .plan-features {
        margin: 1.5rem 0;
    }
    
    .plan-feature {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .order-now-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Mobile FAQ Section */
@media (max-width: 768px) {
    .faqs {
        padding: 3rem 0;
    }
    
    .faq-item {
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Mobile Contact Section */
@media (max-width: 768px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
        gap: 1rem;
    }
    
    .contact-form {
        order: 1;
    }
    
    .contact-item {
        padding: 1rem;
        text-align: center;
    }
    
    .contact-item i {
        font-size: 1.5rem;
    }
    
    .contact-item h4 {
        font-size: 1rem;
        margin: 0.5rem 0;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* Mobile Trust & Security Sections */
@media (max-width: 768px) {
    .trust-section,
    .security-section {
        padding: 3rem 0;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trust-item {
        padding: 1.5rem;
        text-align: center;
    }
    
    .trust-item i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .trust-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .trust-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .security-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .security-item {
        padding: 1rem;
        text-align: center;
    }
    
    .security-item i {
        font-size: 1.5rem;
    }
    
    .security-item h4 {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }
    
    .security-item p {
        font-size: 0.8rem;
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        padding: 1rem 0;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-logo span {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links a i {
        font-size: 1.2rem;
    }
    
    .legal-links-footer {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .legal-links-footer a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
    
    .contact-info-footer p {
        font-size: 0.9rem;
        margin: 0.3rem 0;
        justify-content: center;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-bottom-content p {
        font-size: 0.8rem;
    }
    
    /* Mobile disclaimer styles */
    .disclaimer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .disclaimer-icon i {
        font-size: 2.5rem;
    }
    
    .disclaimer-text h3 {
        font-size: 1.3rem;
    }
    
    .disclaimer-text p {
        font-size: 0.95rem;
    }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    body {
        font-size: max(14px, 13px); /* Prevent fonts from being too small */
        padding-top: 70px;
    }
    
    .container {
        padding: 0 10px;
        /* Prevent horizontal scroll */
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo {
        font-size: max(16px, 1.2rem); /* Prevent logo from being too small */
    }
    
    .nav-logo i {
        font-size: max(18px, 1.5rem);
    }
    
    .nav-menu {
        top: 70px;
        padding: 1.5rem 0;
    }
    
    .nav-link {
        font-size: max(16px, 1rem); /* Prevent navigation text from being too small */
    }
    
    .section-header h2 {
        font-size: max(20px, 1.5rem); /* Ensure headings are readable */
        line-height: 1.2;
        padding: 0 5px;
    }
    
    .section-header p {
        font-size: max(14px, 0.9rem);
        padding: 0 5px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: max(24px, 2rem);
    }
    
    .stat-label {
        font-size: max(12px, 0.8rem);
    }
    
    .hero-main-image,
    .hero-second-image {
        max-width: 250px;
        width: 100%;
    }
    
    .download-btn-green {
        padding: 0.7rem 1rem;
        font-size: max(14px, 0.8rem);
        max-width: 250px;
        min-height: 44px; /* Ensure good touch targets */
    }
    
    .plan-card {
        margin: 0 5px;
        padding: 1rem;
    }
    
    .plan-price .amount {
        font-size: max(24px, 2rem);
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
    
    .trust-item,
    .security-item {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: max(16px, 0.9rem); /* Prevent zoom on iOS */
        /* Better mobile form styling */
        border-radius: 8px;
        border: 2px solid #e5e7eb;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Prevent horizontal scroll on any element */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Critical Mobile Fixes */

/* Fix for iOS Safari viewport height issues */
@supports (-webkit-appearance: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Prevent horizontal scroll on all elements */
* {
    max-width: 100%;
}

/* Fix for mobile form zoom issue */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
    
    /* Disable double-tap zoom */
    * {
        touch-action: manipulation;
    }
    
    /* Better mobile button styling */
    button,
    .btn,
    .download-btn-green,
    .order-now-btn,
    .contact-us-btn {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        border: none;
        outline: none;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    
    /* Improve mobile scrolling */
    body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Fix for mobile image loading */
    img {
        border-radius: 8px;
        display: block;
        margin: 0 auto;
    }
    
    /* Mobile-specific grid improvements */
    .project-grid,
    .services-grid,
    .services-overview-grid,
    .plans-grid,
    .trust-grid,
    .security-features {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    /* Ensure cards fit properly on mobile */
    .project-card,
    .service-card,
    .service-overview-card,
    .plan-card,
    .trust-item,
    .security-item {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* Mobile footer improvements */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Mobile contact form improvements */
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
        line-height: 1.5;
        box-sizing: border-box;
    }
    
    /* Fix for mobile FAQ section */
    .faq-item {
        margin-bottom: 1rem;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 16px;
        line-height: 1.4;
        cursor: pointer;
        user-select: none;
    }
    
    .faq-answer {
        padding: 1rem;
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Very small devices (320px and below) - Critical fixes */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .nav-container {
        padding: 0 8px;
    }
    
    .nav-logo {
        font-size: max(14px, 1rem);
    }
    
    .nav-logo i {
        font-size: max(16px, 1.3rem);
    }
    
    .section-header h2 {
        font-size: max(18px, 1.3rem);
        padding: 0 4px;
    }
    
    .section-header p {
        font-size: max(13px, 0.85rem);
        padding: 0 4px;
    }
    
    .download-btn-green {
        padding: 0.6rem 0.8rem;
        font-size: max(13px, 0.75rem);
        max-width: 220px;
    }
    
    .hero-main-image,
    .hero-second-image {
        max-width: 200px;
    }
    
    .plan-card {
        padding: 0.8rem;
        margin: 0 4px;
    }
    
    .contact-item {
        padding: 0.6rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    /* Ensure minimum readable text size */
    p, span, div, li, a {
        font-size: max(13px, 0.85rem) !important;
        line-height: 1.4 !important;
    }
    
    /* Better mobile navigation for very small screens */
    .nav-link {
        font-size: max(14px, 0.9rem);
        padding: 0.8rem;
    }
    
    /* Prevent any element from being too small */
    * {
        min-height: auto;
    }
    
    button,
    .btn,
    .download-btn-green {
        min-height: 40px;
        font-size: max(14px, 0.8rem);
    }
}