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

/* Critical performance improvements */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

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

/* Remove duplicate - already handled above */

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
    font-display: swap;
}

/* Accessibility improvements */

.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;
}

/* Enhanced focus indicators */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #ffc107;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.3);
}

/* Optimize font loading */
.fonts-loaded body {
    font-family: 'Open Sans', sans-serif;
}

/* GPU acceleration for key elements */
.hero-title,
.service-card,
.btn {
    transform: translateZ(0);
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Critical LCP image optimization */
.profile-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    transform: translateZ(0); /* GPU acceleration */
}

/* Critical above-the-fold styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    color: #ffc107;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #ffc107, #ff9800) 1;
    border-radius: 0;
    display: inline;
    line-height: 1.4;
    padding-bottom: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    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.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #1a237e, #3f51b5);
    color: white;
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(26, 35, 126, 0.5);
}

.btn-primary:hover::after {
    opacity: 0.1;
}

.btn-secondary {
    background: transparent;
    color: #1a237e;
    border: 2px solid #1a237e;
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a237e, #3f51b5);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: white;
    background: #1a237e;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
}

.btn-secondary:hover::after {
    transform: translateX(0);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Navigation - Minimize on scroll */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(26, 35, 126, 0.1);
    padding: 15px 0;
}

/* Minimized header when scrolled */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 6px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a237e;
    line-height: 1;
    transition: font-size 0.3s ease;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #ffc107;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: font-size 0.3s ease;
}

/* More compact logo when scrolled */
.navbar.scrolled .logo-text {
    font-size: 1.4rem;
}

.navbar.scrolled .logo-subtitle {
    font-size: 0.65rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffc107;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #1a237e;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1a237e;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    overflow: hidden;
    padding: 120px 0 80px; /* Add padding to account for navbar and spacing */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    max-width: 100%;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    min-height: 5rem; /* Prevent layout shift - increased */
    display: block;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #1a237e;
}

.trust-item i {
    color: #ffc107;
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.award-badge {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%231a237e"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%231a237e"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231a237e"></path></svg>') repeat-x;
    animation: wave 10s linear infinite;
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 1200px; }
}

/* Problem/Solution Section */
.problem-solution {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a237e;
}

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

.problem-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff5722, #f44336);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.problem-item h3 {
    color: #1a237e;
    margin-bottom: 1rem;
}

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

.solution-highlight {
    font-size: 1.3rem;
    color: #1a237e;
    font-weight: 600;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #ffc107;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for 6 boxes (2 rows) */
    gap: 2rem;
    align-items: stretch; /* This ensures equal heights */
    max-width: 1200px; /* Limit max width for better proportions */
    margin: 0 auto; /* Center the grid */
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures full height usage */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ffc107, #ff9800);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a237e, #3f51b5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.service-card h3 {
    color: #1a237e;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.service-card h4 {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
    flex-grow: 1; /* This makes the features list expand to fill available space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.service-features i {
    color: #4caf50;
    font-size: 0.9rem;
}

/* More Services Teaser */
.more-services-teaser {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.2);
    border: 2px solid #ffc107;
}

.teaser-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.more-services-teaser h4 {
    font-size: 2.2rem;
    color: #1a237e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlight-orange {
    color: #ff6d00;
    position: relative;
}

.highlight-orange::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6d00, #ff9800);
    border-radius: 2px;
}

.teaser-text {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hidden-services-hint {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.hint-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #1a237e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hint-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hint-item i {
    font-size: 1.5rem;
    color: #ff6d00;
    flex-shrink: 0;
}

.teaser-cta {
    margin-top: 2.5rem;
}

.urgency-text {
    font-size: 1.4rem;
    color: #1a237e;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.urgency-text em {
    color: #ff6d00;
    font-style: italic;
}

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

.teaser-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icons {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    color: rgba(255, 193, 7, 0.3);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-icons i:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
    top: 50%;
    right: 5%;
    animation-delay: 2s;
}

.floating-icons i:nth-child(3) {
    top: 80%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(3deg); }
}

/* Social Proof Section */
.social-proof {
    padding: 100px 0;
    background: white;
}

.award-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: linear-gradient(135deg, #1a237e, #3f51b5);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
}

.award-icon {
    font-size: 4rem;
    color: #ffc107;
}

.award-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.award-text p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.award-subtitle {
    font-style: italic;
    opacity: 0.9;
}

.platforms-section {
    text-align: center;
    margin-bottom: 3rem;
}

.platforms-section h3 {
    color: #1a237e;
    margin-bottom: 2rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.platform-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.platform-item:hover {
    transform: translateY(-5px);
}

.platform-item i {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 1rem;
}

.platform-item span {
    display: block;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 0.5rem;
}

.platform-item p {
    color: #666;
    font-size: 0.9rem;
}

.results-statement {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #333;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #4caf50;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-highlight {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin: 2rem 0;
}

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

.expertise-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #1a237e;
}

.expertise-item i {
    color: #ffc107;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 300px;
    height: 400px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: block;
    background-color: #f0f0f0; /* Fallback background */
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.8;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a237e, #3f51b5);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

.cta-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-text p {
    margin-bottom: 1.5rem;
}

.cta-highlight {
    background: rgba(255, 193, 7, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin: 2rem 0;
}

.cta-urgency {
    font-weight: 700;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Enhanced CTA Button Styling */
.cta .btn-primary {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #1a237e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 20px 50px;
    font-size: 1.3rem;
    border-radius: 60px;
}

.cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 20px 50px;
    font-size: 1.3rem;
    border-radius: 60px;
}

.cta .btn-secondary:hover,
.cta .btn-secondary:focus {
    background: white !important;
    color: #000000 !important;
    border-color: white !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3) !important;
}

/* Override any conflicting hover states for CTA buttons */
section.cta .btn-secondary:hover {
    background: white !important;
    color: #000000 !important;
}

/* Footer */
.footer {
    background: #1a237e;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo .logo-text {
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffc107;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ffc107;
}

.footer-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */

/* Laptop screens (around 1512x982) */
@media (max-width: 1600px) and (min-width: 1200px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .trust-indicators {
        margin-bottom: 2rem;
        gap: 1rem;
    }
    
    .trust-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .image-container {
        width: 350px;
        height: 350px;
    }
}
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1; /* Move image above text on mobile */
        margin-bottom: 2rem;
    }

    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin-bottom: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .award-highlight {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
    
    .more-services-teaser h4 {
        font-size: 1.8rem;
    }
    
    .teaser-text {
        font-size: 1.1rem;
    }
    
    .hidden-services-hint {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .nav-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }

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

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }

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

    .problem-grid {
        grid-template-columns: 1fr;
    }

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

    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .more-services-teaser {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .more-services-teaser h4 {
        font-size: 1.6rem;
    }
    
    .teaser-text {
        font-size: 1rem;
    }
    
    .urgency-text {
        font-size: 1.1rem;
    }
    
    .teaser-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta .btn-primary, .cta .btn-secondary {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem; /* Further reduce font size for very small screens */
        line-height: 1.3; /* Adjust line height for better readability */
        word-wrap: break-word; /* Ensure long words break to the next line */
        overflow-wrap: break-word; /* Standard property for word wrapping */
        white-space: normal; /* Allow text to wrap naturally */
    }

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

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .image-container {
        width: 250px;
        height: 250px;
    }

    .award-badge {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

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

    .solution-highlight {
        font-size: 1.1rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card h4 {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .expertise-item {
        font-size: 0.9rem;
    }

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

    .cta-text {
        font-size: 1rem;
    }

    .cta .btn-primary, .cta .btn-secondary {
        width: 100%;
    }
}

/* Specific adjustments for iPhone 12 Pro Max (and similar large phones) */
@media (min-width: 414px) and (max-width: 428px) and (min-height: 800px) {
    .hero-title {
        font-size: 1.8rem; /* Slightly larger for these devices, but still smaller than desktop */
        line-height: 1.2; 
    }
}

/* Ensure image in about section loads correctly */
/* Removed incorrect content override - using HTML src attribute instead */

/* WhatsApp button pulse animation */
@keyframes whatsappPulse {
    0% { 
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); 
    }
    50% { 
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8); 
        transform: translateY(0) scale(1.05);
    }
    100% { 
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); 
    }
}


