/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base font size */
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrollbars only */
    height: auto;
    line-height: 1.6;
    /* Smooth scrolling for better user experience */
    scroll-behavior: smooth;
    background-color: #ffffff;
    font-size: clamp(14px, 2vw, 18px); /* Enhanced responsive base font size */
    text-align: left;
}

/* Enhanced responsive typography */
h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.3;
    font-weight: 600;
    text-align: center;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    line-height: 1.4;
    font-weight: 600;
}

p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.6;
    text-align: left;
}

/* Enhanced container max-widths for better responsiveness */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* 
=================================================================
Z-INDEX LAYERING EXPLANATION FOR STICKY FOOTER OVERLAP BEHAVIOR:
=================================================================

1. Footer z-index: 1500 (HIGH level)
   - Fixed at bottom with rounded corners
   - ALWAYS visible and appears ABOVE "What We Provide" section

2. Home, Work, AI Content sections z-index: 2000 (HIGHEST level)
   - These sections cover the footer when scrolled over
   - Footer appears "behind" these sections

3. "What We Provide" section z-index: 1000 (MEDIUM level)
   - This section has LOWER z-index than footer
   - Footer appears "ABOVE" this section when it scrolls up
   - Footer stays fixed while section moves behind it

4. Result: Footer is hidden behind most sections but is REVEALED 
   and visible ABOVE the "What We Provide" section as it scrolls up
================================================================
*/

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.animate-out {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-animate-delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate-delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate-delay-3 {
    transition-delay: 0.3s;
}

.scroll-animate-delay-4 {
    transition-delay: 0.4s;
}

.scroll-animate-delay-5 {
    transition-delay: 0.5s;
}

.scroll-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.scroll-fade-in.animate {
    opacity: 1;
}

.scroll-fade-in.animate-out {
    opacity: 0;
}

.scroll-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-slide-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-up.animate-out {
    opacity: 0;
    transform: translateY(50px);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-slide-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-left.animate-out {
    opacity: 0;
    transform: translateX(-50px);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-slide-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right.animate-out {
    opacity: 0;
    transform: translateX(50px);
}

.scroll-scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-scale-up.animate {
    opacity: 1;
    transform: scale(1);
}

.scroll-scale-up.animate-out {
    opacity: 0;
    transform: scale(0.9);
}

/* Sticky Footer Styles */
/* New Site Footer Styles */
.site-footer {
    background-color: #121316;
    color: #aab2c0;
    padding: clamp(30px, 8vw, 60px) 0;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 20px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: clamp(20px, 6vw, 40px);
    width: 100%;
}

/* Desktop: use a grid to create neat columns for the footer */
@media (min-width: 900px) {
    .footer-container {
        display: grid;
        grid-template-columns: repeat(4, minmax(180px, 1fr));
        align-items: start;
        gap: clamp(20px, 4vw, 40px);
        padding: 0 clamp(20px, 4vw, 40px);
    }

    .footer-about,
    .footer-contact,
    .footer-links,
    .footer-social {
        margin-bottom: 0;
    }
}

.footer-about,
.footer-contact,
.footer-links,
.footer-social {
    flex: 1;
    min-width: 250px;
    margin-bottom: clamp(20px, 4vw, 30px);
}

/* Add consistent inner padding for each column for breathing room */
.footer-about,
.footer-contact,
.footer-links,
.footer-social {
    padding: 8px 12px;
}

.site-footer h3 {
    color: #ffffff;
    font-size: clamp(16px, 3.5vw, 18px);
    font-weight: 700;
    margin-bottom: clamp(15px, 3vw, 20px);
    position: relative;
}

/* .site-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: clamp(30px, 8vw, 40px);
    height: 2px;
    background-color: #4CAF50;
} */

.footer-about p {
    font-size: clamp(13px, 2.8vw, 14px);
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: 0;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Make links easier to tap/click by making them full-width blocks */
.footer-links li a,
.footer-contact li a {
    display: block;
    padding: 6px 4px;
    border-radius: 6px;
}

/* Visible focus state for keyboard users */
.footer-links li a:focus,
.footer-contact li a:focus,
.social-icon:focus {
    outline: 3px solid rgba(76,175,80,0.18);
    outline-offset: 3px;
}

.footer-contact li,
.footer-links li {
    margin-bottom: clamp(8px, 2vw, 12px);
    font-size: clamp(12px, 2.5vw, 14px);
    word-break: break-word;
}

.footer-contact a,
.footer-links a {
    color: #aab2c0;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: #4CAF50;
}

.footer-contact i {
    margin-right: clamp(8px, 2vw, 10px);
    color: #4CAF50;
    font-size: clamp(12px, 2.5vw, 14px);
    flex-shrink: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: clamp(5px, 1.5vw, 8px);
}

.social-icons {
    display: flex;
    gap: clamp(10px, 3vw, 15px);
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Ensure social icons align nicely on small screens */
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
    }
}

.social-icon {
    color: #ffffff;
    background-color: #2c2f36;
    width: clamp(35px, 8vw, 40px);
    height: clamp(35px, 8vw, 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: clamp(14px, 3vw, 16px);
}

.social-icon:hover {
    background-color: #4CAF50;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(25px, 5vw, 40px);
    margin-top: clamp(25px, 5vw, 40px);
    border-top: 1px solid #2c2f36;
    width: 100%;
}

/* Make footer-bottom content centered and responsive */
@media (min-width: 900px) {
    .footer-bottom {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: clamp(20px, 3vw, 32px);
        margin-top: clamp(20px, 3vw, 32px);
    }
}

.footer-bottom p {
    font-size: clamp(11px, 2.2vw, 13px);
    color: #aab2c0;
    margin: 0;
    padding: 0 clamp(10px, 3vw, 20px);
}

/* Ultra-wide screen footer optimization */
@media screen and (min-width: 1440px) {
    .site-footer {
        padding: clamp(50px, 6vw, 80px) 0;
    }
    
    .footer-container {
        max-width: 1400px;
        gap: clamp(35px, 4vw, 50px);
        padding: 0 clamp(25px, 3vw, 40px);
    }
    
    .footer-about,
    .footer-contact,
    .footer-links,
    .footer-social {
        min-width: 280px;
    }
    
    .site-footer h3 {
        font-size: clamp(18px, 2.5vw, 22px);
    }
    
    .footer-about p {
        font-size: clamp(14px, 2vw, 16px);
        max-width: 350px;
    }
    
    .footer-contact li,
    .footer-links li {
        font-size: clamp(14px, 2vw, 16px);
    }
}

/* Tablet Responsive Breakpoint */
@media (max-width: 1024px) {
    .site-footer {
        padding: clamp(40px, 6vw, 50px) 0;
    }
    
    .footer-container {
        gap: clamp(25px, 5vw, 35px);
        justify-content: center;
    }
    
    .footer-about,
    .footer-contact,
    .footer-links,
    .footer-social {
        min-width: 220px;
        flex: 1 1 45%;
        text-align: left;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
}

/* Mobile Responsive Breakpoint */
@media (max-width: 768px) {
    .site-footer {
        padding: clamp(30px, 7vw, 45px) 0;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: clamp(25px, 6vw, 35px);
        align-items: center;
    }
    
    .footer-about,
    .footer-contact,
    .footer-links,
    .footer-social {
        min-width: unset;
        width: 100%;
        max-width: 400px;
        flex: none;
    }

    /* .site-footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    } */

    .footer-about p {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .footer-contact li {
        justify-content: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
 /* .footer-links li{
    transform: translateX(-250px);
 }  
  .footer-links #Q{
    transform: translateX(-280px);
 }   */
 /* .footer-social #social{
    transform: translateX(20px);
 } */
}

/* Small Mobile Responsive Breakpoint */
@media (max-width: 480px) {
    .site-footer {
        padding: clamp(25px, 6vw, 35px) 0;
    }
    
    .footer-container {
        gap: clamp(20px, 5vw, 25px);
        padding: 0 clamp(10px, 4vw, 15px);
    }
    
    .footer-about,
    .footer-contact,
    .footer-links,
    .footer-social {
        max-width: 320px;
    }
    
    .site-footer h3 {
        font-size: clamp(15px, 4vw, 17px);
        margin-bottom: clamp(12px, 3vw, 18px);
    }
    
    .footer-contact li,
    .footer-links li {
        font-size: clamp(11px, 3vw, 13px);
        margin-bottom: clamp(6px, 2vw, 10px);
    }
    
    .footer-about p {
        font-size: clamp(12px, 3.2vw, 13px);
        max-width: 280px;
    }
    
    .social-icon {
        width: clamp(32px, 7vw, 36px);
        height: clamp(32px, 7vw, 36px);
        font-size: clamp(13px, 3.5vw, 15px);
    }
}

/* Modal / Language selection styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 99999; /* very high to sit above everything */
    font-family: 'Montserrat', sans-serif;
}
.modal[aria-hidden="false"] {
    display: flex;
}
.modal-overlay {
    position: fixed; /* fixed so it covers the whole viewport */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.82); /* darker overlay */
    z-index: 99998;
}
.modal-content {
    position: relative;
    /* Glassmorphism base */
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    color: #eaf0ff;
    padding: 1.8rem 1.6rem;
    border-radius: 14px;
    max-width: 520px;
    width: calc(100% - 40px);
    box-shadow: 0 10px 36px rgba(8,10,16,0.7), inset 0 1px 0 rgba(255,255,255,0.02);
    z-index: 99999;
    text-align: center;
    /* border: 1px solid rgba(255,255,255,0.08); */
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    min-height: 300px; /* increased modal height */
    max-height: calc(90vh - 40px);
    overflow-y: auto; /* allow vertical scrolling on small screens */
    
}
.modal-close {
    position: absolute;
    right: 8px;
    top: 6px;
    background: transparent;
    border: none;
    color: #dbe8ff;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.18s ease, transform 0.12s ease;
}
.modal-close:hover {
    background: rgba(255,255,255,0.04);
    transform: translateY(-1px);
}
.modal h2 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    text-transform: capitalize;
}
.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.9rem; /* increased gap between buttons */
    margin-top: 1.9rem;
}
.lang-btn {
    padding: 0.72rem 1rem;
    border-radius: 10px;
    border: 1px solid rgb(255, 255, 255);
    cursor: pointer;
    background: transparent; /* fully transparent */
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(255,255,255,0.08), inset 0 0 8px rgba(255,255,255,0.02);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, text-shadow 0.12s ease;
    display: block;
    width: 100%;
    text-shadow: 0 0 6px rgba(255,255,255,0.75); /* subtle white text glow */
    backdrop-filter: none;
    position: relative;
}
.lang-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255,255,255,0.18), inset 0 0 12px rgba(255,255,255,0.03);
    border-color: rgb(255, 255, 255);
    text-shadow: 0 0 10px rgba(255,255,255,0.95); /* stronger text glow on hover */
}

/* Accent coloring per language */
/* .lang-btn[data-lang="hi"],
.lang-btn[data-lang="kn"],
.lang-btn[data-lang="en"] { border-left: 4px solid rgba(255,255,255,0.18); } */

/* Extra Small Mobile Responsive Breakpoint */
@media (max-width: 360px) {
    .site-footer {
        padding: clamp(20px, 5vw, 30px) 0;
    }
    
    .footer-container {
        gap: clamp(15px, 4vw, 20px);
        padding: 0 clamp(8px, 3vw, 12px);
    }
    
    .footer-about,
    .footer-contact,
    .footer-links,
    .footer-social {
        max-width: 280px;
    }
    
    .site-footer h3 {
        font-size: clamp(14px, 4.5vw, 16px);
        margin-bottom: clamp(10px, 3vw, 15px);
    }
    
    /* .site-footer h3::after {
        width: clamp(25px, 7vw, 35px);
    } */
    
    .footer-contact li,
    .footer-links li {
        font-size: clamp(10px, 3.5vw, 12px);
        margin-bottom: clamp(5px, 1.5vw, 8px);
    }
    
    .footer-about p {
        font-size: clamp(11px, 3.5vw, 12px);
        max-width: 250px;
        line-height: 1.6;
    }
    
    .footer-contact i {
        font-size: clamp(11px, 3vw, 13px);
        margin-right: clamp(6px, 2vw, 8px);
    }
    
    .social-icons {
        gap: clamp(8px, 2.5vw, 12px);
    }
    
    .social-icon {
        width: clamp(28px, 6vw, 32px);
        height: clamp(28px, 6vw, 32px);
        font-size: clamp(12px, 3vw, 14px);
    }
    
    .footer-bottom {
        padding-top: clamp(20px, 4vw, 30px);
        margin-top: clamp(20px, 4vw, 30px);
    }
    
    .footer-bottom p {
        font-size: clamp(10px, 3vw, 11px);
        padding: 0 clamp(8px, 2vw, 15px);
    }
}

/* Sticky Footer Base Definition */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #121316 0%, #1a1d23 100%);
    color: white;
    padding: clamp(25px, 5vw, 40px) 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    border-radius: clamp(15px, 4vw, 25px) clamp(15px, 4vw, 25px) 0 0;
    z-index: 1500;
    min-height: clamp(280px, 30vh, 350px);
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    transition: all 0.3s ease;
}

/* Remove footer shadows: explicit override to ensure footer appears flat */
.site-footer,
.sticky-footer,
.footer-content,
.footer-bottom {
    box-shadow: none !important;
}

/* Remove any borders (including border-top/bottom) in footer area */
.site-footer,
.footer-container,
.footer-about,
.footer-contact,
.footer-links,
.footer-social,
.footer-bottom,
.footer-content {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Ultra-wide screen optimization */
@media screen and (min-width: 1440px) {
    .sticky-footer {
        min-height: clamp(320px, 25vh, 400px);
        padding: clamp(35px, 4vw, 50px) 0;
        border-radius: 28px 28px 0 0;
    }
    
    .footer-content {
        max-width: 1400px;
        gap: clamp(25px, 3vw, 35px);
    }
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 20px);
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 30px);
    align-items: center;
    justify-content: center;
}

.footer-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(40px, 15vw, 120px);
    font-weight: 400;
    letter-spacing: clamp(0.3px, 0.5vw, 1px);
    margin: 0;
    color: white;
    text-align: center;
    word-wrap: break-word;
    line-height: clamp(0.9, 1, 1.2);
    padding: 0 clamp(10px, 3vw, 20px);
}

/* Profile Image Styles */
.profile-image {
    width: clamp(80px, 12vw, 140px);
    height: clamp(80px, 12vw, 140px);
    scale: clamp(2.2, 2.6, 3);
    border-radius: 50%;
    object-fit: cover;
    border: clamp(2px, 0.5vw, 4px) solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 clamp(3px, 1vw, 6px) clamp(10px, 3vw, 20px) rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    max-width: 100%;
    max-height: 100%;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: #4CAF50;
    box-shadow: 0 clamp(4px, 1.5vw, 8px) clamp(15px, 4vw, 25px) rgba(76, 175, 80, 0.4);
}

/* Footer Profile Layout */
.footer-profile {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: clamp(15px, 4vw, 25px);
    text-align: center;
    width: 100%;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 3vw, 18px);
    align-items: center;
    transform: translateY(clamp(30px, 8vw, 60px));
    width: 100%;
}

.profile-name {
    margin: 0;
    font-size: clamp(16px, 4vw, 24px);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: white;
    letter-spacing: clamp(0.3px, 0.5vw, 1px);
    transform: translateX(clamp(-6px, -1vw, -3px));
    scale: clamp(1.1, 1.3, 1.5);
    word-wrap: break-word;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 1vw, 8px);
    align-items: center;
    transform: translateY(clamp(5px, 2vw, 15px));
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
    font-size: clamp(12px, 3vw, 16px);
    font-family: 'Montserrat', sans-serif;
    word-wrap: break-word;
    justify-content: center;
}

.contact-icon {
    font-size: clamp(14px, 3vw, 18px);
    color: #4CAF50;
    font-family: 'Font Awesome', 'Montserrat', sans-serif;
    flex-shrink: 0;
}

/* Add Font Awesome icons using pseudo-elements */
/*
.contact-item:first-child .contact-icon::before {
    content: '\f0e0'; /* Email icon */
/*}

.contact-item:last-child .contact-icon::before {
    content: '\f095'; /* Phone icon */
/*}*/

.contact-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: clamp(12px, 2.8vw, 15px);
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease, transform 0.2s ease;
    word-break: break-all;
    max-width: 100%;
}

.contact-link:hover {
    color: #4CAF50;
    text-decoration: underline;
    transform: translateY(-1px);
}

.footer-copyright {
    width: 100%;
    padding: 0 clamp(10px, 3vw, 20px);
}

.footer-copyright p {
    margin: 0;
    font-size: clamp(11px, 2.5vw, 14px);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.4;
}

/* Responsive Sticky Footer Styles */
/* Large Tablet Responsive */
@media screen and (max-width: 1024px) {
    .sticky-footer {
        min-height: clamp(300px, 32vh, 380px);
        padding: clamp(30px, 6vw, 45px) 0;
        border-radius: clamp(18px, 4vw, 22px) clamp(18px, 4vw, 22px) 0 0;
    }
    
    .footer-content {
        gap: clamp(22px, 5vw, 28px);
        padding: 0 clamp(18px, 4vw, 25px);
    }
}

/* Mobile responsive footer */
@media screen and (max-width: 768px) {
    .sticky-footer {
        min-height: clamp(280px, 35vh, 350px);
        height: auto;
        padding: clamp(25px, 6vw, 35px) 0;
        border-radius: clamp(15px, 4vw, 20px) clamp(15px, 4vw, 20px) 0 0;
        max-height: 85vh;
    }
    
    .footer-content {
        gap: clamp(20px, 5vw, 28px);
        padding: 0 clamp(15px, 4vw, 20px);
    }
    
    .footer-profile {
        gap: clamp(18px, 4vw, 25px);
    }
    
    .profile-image {
        width: clamp(100px, 20vw, 130px);
        height: clamp(100px, 20vw, 130px);
        scale: clamp(2.2, 2.5, 2.6);
    }
    
    .profile-name {
        font-size: clamp(18px, 5vw, 24px);
        scale: clamp(1.2, 1.25, 1.3);
    }
    
    .contact-item {
        gap: clamp(8px, 2vw, 12px);
        font-size: clamp(13px, 3.5vw, 16px);
    }
    
    .contact-icon {
        font-size: clamp(14px, 3.5vw, 18px);
    }
    
    .contact-link {
        font-size: clamp(13px, 3.2vw, 15px);
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-copyright p {
        font-size: clamp(12px, 2.8vw, 14px);
    }
    
    body {
        padding-bottom: 0;
    }
}

/* Small Mobile responsive footer */
@media screen and (max-width: 480px) {
    .sticky-footer {
        min-height: clamp(260px, 38vh, 320px);
        height: auto;
        padding: clamp(20px, 5vw, 30px) 0;
        border-radius: clamp(12px, 3vw, 18px) clamp(12px, 3vw, 18px) 0 0;
        max-height: 80vh;
    }
    
    .footer-content {
        padding: 0 clamp(12px, 3vw, 18px);
        gap: clamp(15px, 4vw, 22px);
    }
    
    .footer-profile {
        gap: clamp(15px, 4vw, 20px);
    }
    
    .profile-image {
        width: clamp(85px, 18vw, 110px);
        height: clamp(85px, 18vw, 110px);
        scale: clamp(2.0, 2.3, 2.5);
    }
    
    .profile-name {
        font-size: clamp(16px, 4.5vw, 22px);
        scale: clamp(1.1, 1.2, 1.3);
    }
    
    .contact-item {
        gap: clamp(6px, 2vw, 10px);
        font-size: clamp(11px, 3vw, 14px);
    }
    
    .contact-icon {
        font-size: clamp(12px, 3vw, 16px);
    }
    
    .contact-link {
        font-size: clamp(11px, 3vw, 14px);
    }
    
    .footer-copyright p {
        font-size: clamp(10px, 2.5vw, 13px);
    }
    
    body {
        padding-bottom: 0;
    }
}

/* Extra Small Mobile Devices (Android small phones, etc.) */
@media screen and (max-width: 360px) {
    .navbar {
        top: 0px;
        right: 0px;
    }
    
    .nav-container {
        padding: 8px 10px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
    
    .subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .main-title {
        font-size: 20px;
    }
    
    .work-container {
        padding: 0 10px;
        gap: 20px;
    }
    
    .work-description {
        margin-top: 15px;
    }
    
    .services-section {
        padding: 40px 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 15px;
        margin: 0;
    }
    
    .sticky-footer {
        min-height: clamp(240px, 40vh, 290px);
        height: auto;
        padding: clamp(15px, 4vw, 25px) 0;
        border-radius: clamp(10px, 2.5vw, 15px) clamp(10px, 2.5vw, 15px) 0 0;
        max-height: 75vh;
    }
    
    .footer-content {
        padding: 0 clamp(8px, 2vw, 15px);
        gap: clamp(12px, 3vw, 18px);
    }
    
    .footer-profile {
        gap: clamp(12px, 3vw, 18px);
    }
    
    .profile-image {
        width: clamp(75px, 15vw, 95px);
        height: clamp(75px, 15vw, 95px);
        scale: clamp(1.8, 2.1, 2.4);
    }
    
    .profile-name {
        font-size: clamp(14px, 4vw, 20px);
        scale: clamp(1.0, 1.15, 1.25);
    }
    
    .contact-item {
        font-size: clamp(10px, 2.8vw, 13px);
        gap: clamp(5px, 1.5vw, 8px);
    }
    
    .contact-icon {
        font-size: clamp(10px, 2.8vw, 14px);
    }
    
    .contact-link {
        font-size: clamp(10px, 2.8vw, 13px);
    }
    
    .footer-copyright p {
        font-size: clamp(9px, 2.2vw, 12px);
    }
    
    body {
        padding-bottom: 0;
    }
}

/* Home Section - Higher z-index to cover footer */
#home {
    position: relative;
    z-index: 2000; /* Higher than footer to cover it */
    background-color: inherit; /* Ensure solid background */
    margin: 0;
    padding: 0;
}

/* Navigation Bar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: transparent;
    border-radius: 0;
    transition: all 0.3s ease;
    padding: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

.nav-container {
    padding: clamp(15px, 3vw, 25px) clamp(20px, 4vw, 50px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar.scrolled .nav-container {
    padding: clamp(10px, 2vw, 20px) clamp(20px, 4vw, 50px);
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Montserrat', sans-serif; /* Assuming Montserrat for now, will adjust if needed */
    font-weight: 700; /* Visually appears bold */
    font-size: 18px; /* Estimated from image */
    color: #333; /* Dark grey/black from image */
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: #000; /* Slightly darker on hover */
}

.logo-image {
    height: clamp(50px, 5vw, 50px); /* Responsive logo size */
    width: auto;
    vertical-align: middle;
}
.nav-logo #name{
    margin-left: -4px;
    margin-top: 19px;
    font-size: 15px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #676b6b;
    flood-color:#77c4ff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(15px, 3vw, 30px); /* Responsive gap */
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    align-items: center; /* Align items vertically */
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333; /* Dark grey/black from image */
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Regular weight */
    font-size: clamp(14px, 2.5vw, 18px); /* Responsive font size */
    letter-spacing: 0.5px;
    text-transform: none; /* Not uppercase in image */
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.9;
    padding: 5px 0;
}

.nav-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Animated Underline Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.4s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar.scrolled .nav-link {
    text-shadow: none;
}

/* Navigation Button Styles */
.nav-button {
    background-color: #e0e7ff; /* Light purple/blue from image */
    color: #333; /* Dark text */
    border: none;
    border-radius: 20px; /* Rounded corners */
    padding: 8px 18px; /* Adjusted padding */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; /* Medium weight */
    font-size: 15px; /* Estimated from image */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.nav-button:hover {
    background-color: #cdd7ff; /* Slightly darker on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Image Background Container */
.image-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Background Image Styles */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Centered Text Content */
.content-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #333; /* Dark text color from image */
    z-index: 10;
    width: 90%;
    max-width: 1200px;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 0.5s forwards;
    padding: clamp(20px, 4vw, 40px);
    border-radius: 10px;
}

/* Main Title Styles */
.main-title {
    font-family: 'Montserrat', serif; /* Appears to be a serif font, very bold */
    font-weight: 800; /* Very bold */
    font-size: clamp(1.5rem, 6vw, 4rem); /* Fully responsive font size */
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #333; /* Dark grey/black from image */
    margin-bottom: clamp(20px, 4vw, 40px);
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

/* Subtitle Styles */
.subtitle {
    font-family: 'Montserrat', sans-serif; /* Sans-serif, regular weight */
    font-weight: 400;
    font-size: clamp(0.9rem, 2.5vw, 1.25rem); /* Fully responsive font size */
    line-height: 1.5;
    margin-bottom: clamp(20px, 3vw, 40px);
    color: #555; /* Slightly lighter dark grey */
    max-width: 90%;/* Constrain width for readability*/
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    word-wrap: break-word;
}

/* Button Container */
.button-container {
    display: flex;
    gap: clamp(10px, 3vw, 20px); /* Responsive gap between buttons */
    justify-content: center;
    margin-top: clamp(20px, 4vw, 40px); /* Responsive space above buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    align-items: center;
}

/* Content Button Styles */
.content-button-primary,
.content-button-secondary {
    border: none;
    border-radius: 30px; /* More rounded corners */
    padding: clamp(12px, 2.5vw, 18px) clamp(20px, 4vw, 35px); /* Responsive padding */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 2vw, 18px); /* Responsive font size */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    text-align: center;
}

.content-button-primary {
    background-color: #333; /* Dark background from image */
    color: #fff; /* White text */
}

.content-button-primary:hover {
    background-color: #000; /* Darker on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.content-button-secondary {
    background-color: #f0f0f0; /* Light background from image */
    color: #333; /* Dark text */
    border: 1px solid #ccc; /* Light border */
}

.content-button-secondary:hover {
    background-color: #e0e0e0; /* Slightly darker on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    /* Navigation adjustments for mobile */
    .nav-container {
        padding: 15px 20px;
    }
    
    .navbar.scrolled .nav-container {
        padding: 10px 20px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .nav-button {
        padding: 6px 14px;
        font-size: 14px;
    }
    
    /* Text adjustments handled by clamp in base styles */
    
    .button-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .content-button-primary,
    .content-button-secondary {
        padding: 12px 25px;
        font-size: 15px;
        width: 80%;
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    /* Extra small screens */
    .nav-container {
        padding: 10px 15px;
    }
    
    .navbar.scrolled .nav-container {
        padding: 8px 15px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .logo-text {
        font-size: 15px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .nav-button {
        padding: 5px 12px;
        font-size: 13px;
    }
    
    /* Text responsive sizes handled by clamp in base styles */
    
    .button-container {
        gap: 10px;
    }
    
    .content-button-primary,
    .content-button-secondary {
        padding: 10px 20px;
        font-size: 14px;
        width: 90%;
    }
}

/* Large Desktop Screens */
@media screen and (min-width: 1200px) {
    /* Typography handled by clamp in base styles */
    
    .nav-link {
        font-size: 16px;
    }
    
    .nav-button {
        font-size: 16px;
    }
}

/* Ultra-wide Screens */
@media screen and (min-width: 1600px) {
    /* Typography handled by clamp in base styles */
    
    /* Fade-in Animation */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translate(-50%, -40%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }
}

/* AI Power Section Styles */
.ai-power-section {
    background-color: #ffffff; /* Light grey background from image */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.ai-power-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.ai-power-image {
    flex: 0 1 45%; /* Image takes 45% of the space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-robot-image {
    width: 100%;
    max-width: 5500px; /* Adjust as needed */
    height: auto;
    border-radius: 10px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.ai-power-content {
    flex: 0 1 50%; /* Content takes 50% of the space */
    color: #333; /* Dark text color */
    text-align: left;
}

/* Adjustments for PC version (larger screens) */
@media screen and (min-width: 1024px) {
    .ai-power-container {
        gap: 120px; /* Increase gap between image and text */
    }

    .ai-power-image {
        flex: 0 1 50%; /* Give more space to the image */
        transform: translateX(-50px); /* Move image slightly left */
    }

    .ai-robot-image {
        max-width: 600px; /* Increase image size */
    }

    .ai-power-content {
        flex: 0 1 45%; /* Adjust content space */
    }
}

.ai-power-title {
    font-family: 'Montserrat', serif; /* Similar to main-title, bold serif */
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    color: #333;
}

.ai-power-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

/* Responsive adjustments for AI Power Section */
@media screen and (max-width: 768px) {
    .ai-power-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        display: flex;
    }

    .ai-power-content {
        display: contents; /* Makes children (title and descriptions) direct flex items */
    }
    
    .ai-power-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 20px;
        order: 1;
    }

    .ai-power-image {
        order: 2;
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .ai-power-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 10px;
        order: 3;
    }
}

/* Agentic AI Section Styles (Duplicate and modify from .ai-power-section) */
.agentic-ai-section {
    background-color: #ffffff; /* Light grey background from image */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.agentic-ai-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.agentic-ai-image {
    flex: 0 1 45%; /* Image takes 45% of the space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.agentic-robot-image {
    width: 100%;
    max-width: 5500px; /* Adjust as needed */
    height: auto;
    border-radius: 10px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.agentic-ai-content {
    flex: 0 1 50%; /* Content takes 50% of the space */
    color: #333; /* Dark text color */
    text-align: left;
}

/* Adjustments for PC version (larger screens) */
@media screen and (min-width: 1024px) {
    .agentic-ai-container {
        gap: 120px; /* Increase gap between image and text */
    }

    .agentic-ai-image {
        flex: 0 1 50%; /* Give more space to the image */
        transform: translateX(-50px); /* Move image slightly left */
    }

    .agentic-robot-image {
        max-width: 600px; /* Increase image size */
    }

    .agentic-ai-content {
        flex: 0 1 45%; /* Adjust content space */
    }
}

.agentic-ai-title {
    font-family: 'Montserrat', serif; /* Similar to main-title, bold serif */
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    color: #333;
}

.agentic-ai-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.agentic-ai-button {
    background-color: #333; /* Dark background from image */
    color: #fff; /* White text */
    border: none;
    border-radius: 30px; /* More rounded corners */
    padding: 15px 30px; /* Larger padding */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.agentic-ai-button:hover {
    background-color: #000; /* Darker on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for Agentic AI Section */
@media screen and (max-width: 768px) {
    .agentic-ai-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        display: flex;
    }

    .agentic-ai-content {
        display: contents; /* Makes children (title, descriptions, button) direct flex items */
    }

    .agentic-ai-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 20px;
        order: 1;
    }

    .agentic-ai-image {
        order: 2;
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .agentic-ai-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 10px;
        order: 3;
    }

    .agentic-ai-button {
        order: 4;
    }
}

/* Agentic AI Section Styles (Duplicate and modify from .ai-power-section) */
.agentic-ai-section {
    background-color: #ffffff; /* Light grey background from image */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.agentic-ai-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.agentic-ai-image {
    flex: 0 1 45%; /* Image takes 45% of the space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.agentic-robot-image {
    width: 100%;
    max-width: 5500px; /* Adjust as needed */
    height: auto;
    border-radius: 10px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.agentic-ai-content {
    flex: 0 1 50%; /* Content takes 50% of the space */
    color: #333; /* Dark text color */
    text-align: left;
}

/* Adjustments for PC version (larger screens) */
@media screen and (min-width: 1024px) {
    .agentic-ai-container {
        gap: 120px; /* Increase gap between image and text */
    }

    .agentic-ai-image {
        flex: 0 1 50%; /* Give more space to the image */
        transform: translateX(-50px); /* Move image slightly left */
    }

    .agentic-robot-image {
        max-width: 600px; /* Increase image size */
    }

    .agentic-ai-content {
        flex: 0 1 45%; /* Adjust content space */
    }
}

.agentic-ai-title {
    font-family: 'Montserrat', serif; /* Similar to main-title, bold serif */
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    color: #333;
}

.agentic-ai-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.agentic-ai-button {
    background-color: #333; /* Dark background from image */
    color: #fff; /* White text */
    border: none;
    border-radius: 30px; /* More rounded corners */
    padding: 15px 30px; /* Larger padding */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.agentic-ai-button:hover {
    background-color: #000; /* Darker on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for Agentic AI Section */
@media screen and (max-width: 768px) {
    .agentic-ai-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        display: flex;
    }

    .agentic-ai-content {
        display: contents; /* Makes children (title, descriptions, button) direct flex items */
    }

    .agentic-ai-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 20px;
        order: 1;
    }

    .agentic-ai-image {
        order: 2;
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .agentic-ai-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 10px;
        order: 3;
    }

    .agentic-ai-button {
        order: 4;
    }
}
/* Revolutionizing AI Section Styles */
.revolutionizing-ai-section {
    background-color: #ffffff; /* Light grey background from image */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.revolutionizing-ai-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.revolutionizing-ai-image {
    flex: 0 1 45%; /* Image takes 45% of the space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.revolutionizing-robot-image {
    width: 100%;
    max-width: 5500px; /* Adjust as needed */
    height: auto;
    border-radius: 10px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.revolutionizing-ai-content {
    flex: 0 1 50%; /* Content takes 50% of the space */
    color: #333; /* Dark text color */
    text-align: left;
}

/* Adjustments for PC version (larger screens) */
@media screen and (min-width: 1024px) {
    .revolutionizing-ai-container {
        gap: 120px; /* Increase gap between image and text */
    }

    .revolutionizing-ai-image {
        flex: 0 1 50%; /* Give more space to the image */
        transform: translateX(-50px); /* Move image slightly left */
    }

    .revolutionizing-robot-image {
        max-width: 600px; /* Increase image size */
    }

    .revolutionizing-ai-content {
        flex: 0 1 45%; /* Adjust content space */
    }
}

.revolutionizing-ai-title {
    font-family: 'Montserrat', serif; /* Similar to main-title, bold serif */
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    color: #333;
}

.revolutionizing-ai-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.revolutionizing-ai-button {
    background-color: #333; /* Dark background from image */
    color: #fff; /* White text */
    border: none;
    border-radius: 30px; /* More rounded corners */
    padding: 15px 30px; /* Larger padding */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.revolutionizing-ai-button:hover {
    background-color: #000; /* Darker on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for Revolutionizing AI Section */
@media screen and (max-width: 768px) {
    .revolutionizing-ai-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        display: flex;
    }

    .revolutionizing-ai-content {
        display: contents; /* Makes children (title, descriptions, button) direct flex items */
    }

    .revolutionizing-ai-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 20px;
        order: 1;
    }

    .revolutionizing-ai-image {
        order: 2;
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .revolutionizing-ai-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 10px;
        order: 3;
    }

    .revolutionizing-ai-button {
        order: 4;
    }
}

/* Revolutionizing AI Section Styles */
.revolutionizing-ai-section {
    background-color: #ffffff; /* Light grey background from image */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.revolutionizing-ai-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.revolutionizing-ai-image {
    flex: 0 1 45%; /* Image takes 45% of the space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.revolutionizing-robot-image {
    width: 100%;
    max-width: 5500px; /* Adjust as needed */
    height: auto;
    border-radius: 10px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.revolutionizing-ai-content {
    flex: 0 1 50%; /* Content takes 50% of the space */
    color: #333; /* Dark text color */
    text-align: left;
}

/* Adjustments for PC version (larger screens) */
@media screen and (min-width: 1024px) {
    .revolutionizing-ai-container {
        gap: 120px; /* Increase gap between image and text */
    }

    .revolutionizing-ai-image {
        flex: 0 1 50%; /* Give more space to the image */
        transform: translateX(-50px); /* Move image slightly left */
    }

    .revolutionizing-robot-image {
        max-width: 600px; /* Increase image size */
    }

    .revolutionizing-ai-content {
        flex: 0 1 45%; /* Adjust content space */
    }
}

.revolutionizing-ai-title {
    font-family: 'Montserrat', serif; /* Similar to main-title, bold serif */
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    color: #333;
}

.revolutionizing-ai-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.revolutionizing-ai-button {
    background-color: #333; /* Dark background from image */
    color: #fff; /* White text */
    border: none;
    border-radius: 30px; /* More rounded corners */
    padding: 15px 30px; /* Larger padding */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.revolutionizing-ai-button:hover {
    background-color: #000; /* Darker on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for Revolutionizing AI Section */
@media screen and (max-width: 768px) {
    .revolutionizing-ai-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        display: flex;
    }

    .revolutionizing-ai-content {
        display: contents; /* Makes children (title, descriptions, button) direct flex items */
    }

    .revolutionizing-ai-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 20px;
        order: 1;
    }

    .revolutionizing-ai-image {
        order: 2;
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .revolutionizing-ai-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 10px;
        order: 3;
    }

    .revolutionizing-ai-button {
        order: 4;
    }
}

/* AI Advertising Section Styles */
.ai-advertising-section {
    background-color: #ffffff; /* Light grey background from image */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.ai-advertising-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.ai-advertising-image {
    flex: 0 1 45%; /* Image takes 45% of the space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-advertising-robot-image {
    width: 100%;
    max-width: 5500px; /* Adjust as needed */
    height: auto;
    border-radius: 10px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.ai-advertising-content {
    flex: 0 1 50%; /* Content takes 50% of the space */
    color: #333; /* Dark text color */
    text-align: left;
}

/* Adjustments for PC version (larger screens) */
@media screen and (min-width: 1024px) {
    .ai-advertising-container {
        gap: 120px; /* Increase gap between image and text */
    }

    .ai-advertising-image {
        flex: 0 1 50%; /* Give more space to the image */
        transform: translateX(-50px); /* Move image slightly left */
    }

    .ai-advertising-robot-image {
        max-width: 600px; /* Increase image size */
    }

    .ai-advertising-content {
        flex: 0 1 45%; /* Adjust content space */
    }
}

.ai-advertising-title {
    font-family: 'Montserrat', serif; /* Similar to main-title, bold serif */
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    color: #333;
}

.ai-advertising-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.ai-advertising-button {
    background-color: #333; /* Dark background from image */
    color: #fff; /* White text */
    border: none;
    border-radius: 30px; /* More rounded corners */
    padding: 15px 30px; /* Larger padding */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.ai-advertising-button:hover {
    background-color: #000; /* Darker on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for AI Advertising Section */
@media screen and (max-width: 768px) {
    .ai-advertising-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        display: flex;
    }

    .ai-advertising-content {
        order: 1;
        flex: 1 1 100%;
        display: contents; /* This makes child elements behave as if they're direct children of the container */
    }

    .ai-advertising-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 20px;
        order: 1;
    }

    .ai-advertising-image {
        order: 2;
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .ai-advertising-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 10px;
        order: 3;
    }

    .ai-advertising-button {
        order: 4;
    }
}

/* Ensure layout consistency for tablet/desktop range */
@media screen and (min-width: 769px) and (max-width: 1628px) {
    /* AI sections maintain horizontal layout with image and content side-by-side */
    .ai-power-container,
    .agentic-ai-container, 
    .revolutionizing-ai-container,
    .ai-advertising-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .ai-power-content,
    .agentic-ai-content,
    .revolutionizing-ai-content,
    .ai-advertising-content {
        flex-direction: row;
        text-align: left;
    }
    
    .ai-advertising-robot-image {
        scale: 1.2; /* Make the image 20% bigger */
    }
}
/* Work Section Styles */
.work-section {
    background-color: #4f5d75;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden; /* Prevent overflow */
    position: relative;
    z-index: 100;
}

.work-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.work-text {
    flex: 0 1 55%; /* Give text more defined space - 55% of container */
    color: white;
    text-align: left;
    order: 1;
    min-width: 300px; /* Minimum width to ensure text readability */
}

.work-line1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.8rem);
    margin: 0 0 45px 0;
    line-height: 1.2;
}

.work-line2,
.work-line3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(4rem, 12vw, 10rem);
    margin: 0;
    line-height: 0.9;
}

.work-line2 {
    margin-bottom: 5px;
}

.work-description {
    font-family: sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #e2e2e2;
    margin: 50px 0 0 0;
    line-height: 1.6;
    max-width: 100%;
}

.work-video {
    flex: 0 1 40%; /* Give video 40% of container space */
    display: flex;
    justify-content: center;
    order: 2;
    min-width: 350px; /* Ensure video has minimum usable size */
}

.work-video-player {
    width: 100%;
    max-width: 700px; /* Increased from 600px to make video larger */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 0, 0, 0.1);
}

/* Hide fullscreen and menu options from video controls */
.work-video-player::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

.work-video-player::-webkit-media-controls-overflow-button {
    display: none !important;
}

.work-video-player::-moz-media-controls-fullscreen-button {
    display: none !important;
}

/* AI Generated Contents Section */
.ai-content-section {
    background-color: #d0b8ac;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 20px;
    position: relative;
    z-index: 100;
    overflow: hidden; /* Prevent overflow */
    width: 100%;
}

.ai-generated-title {
    font-family: 'PP Editorial New UltraboldItalic', serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    color: white;
    text-align: center;
    margin: 0 0 20px 0;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

.ai-content-description {
    font-family: sans-serif;
    font-size: 1.1rem;
    color: white;
    text-align: center;
    margin: 0 0 60px 0;
    max-width: 800px;
    line-height: 1.6;
}

/* Video Carousel Styles */
.video-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 500px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: all 0.6s ease;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.6s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-slide.active {
    z-index: 3;
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3), 0 8px 32px rgba(255, 255, 255, 0.15);
}

.carousel-slide.prev {
    z-index: 2;
    transform: translateX(-120%) scale(0.8);
    opacity: 0.7;
}

.carousel-slide.next {
    z-index: 2;
    transform: translateX(20%) scale(0.8);
    opacity: 0.7;
}

.carousel-slide.hidden {
    z-index: 1;
    opacity: 0;
    transform: translateX(-50%) scale(0.6);
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay for background videos */
.carousel-slide.prev .carousel-video,
.carousel-slide.next .carousel-video {
    filter: brightness(0.4);
}

.carousel-slide.prev::after,
.carousel-slide.next::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Hover effects for videos */
.carousel-slide {
    cursor: pointer;
}

.carousel-slide:hover {
    transform: translateX(-50%) scale(1.05) !important;
}

.carousel-slide.prev:hover {
    transform: translateX(-120%) scale(0.85) !important;
}

.carousel-slide.next:hover {
    transform: translateX(20%) scale(0.85) !important;
}

/* Carousel Mobile Responsive */
@media screen and (max-width: 768px) {
    .video-carousel {
        height: 350px;
        max-width: 95%;
    }
    
    .carousel-slide {
        width: 70%;
        height: 70%;
        top: 15%;
    }
    
    .carousel-slide.prev {
        transform: translateX(-110%) scale(0.7);
    }
    
    .carousel-slide.next {
        transform: translateX(10%) scale(0.7);
    }
    
    .carousel-slide.prev:hover {
        transform: translateX(-110%) scale(0.75) !important;
    }
    
    .carousel-slide.next:hover {
        transform: translateX(10%) scale(0.75) !important;
    }
}

@media screen and (max-width: 480px) {
    .video-carousel {
        height: 280px;
        overflow: hidden;
    }
    
    .carousel-slide {
        width: 80%;
        height: 60%;
        top: 20%;
    }
    
    .carousel-slide.prev {
        transform: translateX(-110%) scale(0.6);
        opacity: 0.5;
    }
    
    .carousel-slide.next {
        transform: translateX(10%) scale(0.6);
        opacity: 0.5;
    }
    
    .carousel-slide.prev:hover {
        transform: translateX(-110%) scale(0.65) !important;
    }
    
    .carousel-slide.next:hover {
        transform: translateX(10%) scale(0.65) !important;
    }
}

/* What We Provide Section */
.services-section {
    background-color: black;
    min-height: 100vh;
    border-radius: 0px 0px 25px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 20px 120px 20px;
    position: relative;
    z-index: 100; 
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 1), 0 -2px 10px rgba(0, 0, 0, 1);
    overflow: hidden; /* Prevent overflow */
}

.services-title {
    font-family: 'PP Editorial New UltraboldItalic', serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    color: white;
    text-align: center;
    margin: 0 0 60px 0;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
    width: 100%;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1), 0 0 40px rgba(255, 255, 255, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.services-title{
    margin-top: 60px;
}    

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    color: white;
    font-family: sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '•';
    color: #4CAF50;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Services Section Mobile Responsive */
@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-list li {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .services-section {
        padding: 60px 20px;
    }
    
    .services-title {
        font-size: 2rem;
    }
}

/* Medium screens - Tablet landscape to small desktop */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .work-container {
        gap: 40px;
    }
    
    .work-text {
        flex: 0 1 50%; /* Slightly reduce text space */
        min-width: 280px;
    }
    
    .work-video {
        flex: 0 1 45%; /* Slightly increase video space */
        min-width: 320px;
    }
    
    .work-video-player {
        max-width: 5550px; /* Moderate video size for medium screens */
    }
}

/* Work Section Mobile Responsive */
@media screen and (max-width: 768px) {
    .work-section {
        padding: 60px 0;
        overflow: hidden;
    }
    
    .work-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .work-text {
        order: 1;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: unset;
    }
    
    .work-video {
        order: 2;
        flex: 1 1 100%;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        min-width: unset;
    }
    
    .work-line1 {
        font-size: clamp(1.2rem, 4vw, 2rem);
        margin-bottom: 20px;
    }
    
    .work-line2,
    .work-line3 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .work-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-top: 30px;
        max-width: 100%;
    }
    
    .work-video-player {
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .work-section {
        padding: 40px 0;
    }
    
    .work-container {
        padding: 0 15px;
    }
    
    .work-line1 {
        font-size: clamp(1rem, 5vw, 1.5rem);
        margin-bottom: 15px;
    }
    
    .work-line2,
    .work-line3 {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .work-description {
        font-size: clamp(0.8rem, 3.5vw, 0.9rem);
        margin-top: 20px;
    }
}

/* Profile Image Styles */
.profile-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Footer Profile Layout */
.footer-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.contact-link {
    color: #e0e0e0;
    text-decoration: none;
}

.contact-link:hover {
    color: #4CAF50;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.footer-copyright p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}
/* Responsive typography now handled by clamp() values in base styles */

/* Additional responsive adjustments */
@media screen and (max-width: 480px) {
    .content-center {
        padding: 15px;
        width: 95%;
    }
}


       
/* Clean overflow prevention */
@media screen and (max-width: 1810px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }
}

@media screen and (max-width: 1599px) {
    .content-center {
        opacity: 1;
    }
}

/* Ultra-wide screen adjustments - removed problematic transforms */
    
    
@media screen and (minwidth:1629px)
{
    *{margin:0;
     padding:0;
     overflow: hidden;
     box-sizing: border-box;
    }
     body{
        overflow:hidden
     }

     .nav-menu{
         margin-right:300px;
        transform:translateX(300px);}
    
.ai-power-content{
            transform: translateX(500px);
        }
         
     }

     

    
/* 2nd section from 769px onwards */
    
@media screen and (min-width:769px){
    .work-video-player{
        max-width: 550000px;
        scale: 1.4;
        transform: translateX(-40px);
    }
    .work-text{
        scale: 0.6;
        transform: translateX(-100px);
    }
}
@media screen and (min-width:769px){

    .work-video-player{
        /* max-width: 550000px;
        scale: 1.4; */
        transform: translateX(-60px);

}

 .work-text{
        /* scale: 0.6; */
        transform: translateX(-130px);
    }
}   
  
@media screen and (min-width:1315px){
    .work-video-player{
        /* max-width: 550000px; */
        scale: 1.6;
        transform: translateX(-45px);
    }
    .work-text{
        scale: 0.7;
        transform: translateX(-160px);
    }
}
     
@media screen and (min-width:1629px){
    .work-video-player{
        /* max-width: 550000px; */
        scale: 2;
        transform: translateX(-10px);
    }
    .work-text{
        scale: 0.8;
        transform: translateX(-300px);
    }
}

 @media screen and (min-width:1631px){
    .work-video-player{
        /* max-width: 550000px; */
        scale: 2;
        transform: translateX(45px);
    }
    .work-text{
        scale: 1;
        transform: translateX(-300px);
    }
}

@media screen and (max-width:571) {
    .video-carousel {
        height: 350px;
        max-width: 95%;
    }
    
    .carousel-slide {
        width: 70%;
        height: 70%;
        top: 15%;
    }
}

@media screen and (max-width: 769px) {
    .video-carousel {
        height: 350px;
        max-width: 95%;
    }
    
    .carousel-slide {
        width: 70%;
        height: 70%;
        top: 15%;
    }
}
@media screen and (min-width: 769px) {
    .ai-robot-image {
        scale: 1.2; /* Make the image 20% bigger */
    }
    .agentic-robot-image {
        scale: 1.3; /* Make the image 30% bigger for b.png */
    }
    .revolutionizing-robot-image {
        scale: 1.2; /* Make the image 50% bigger for c.png */
    }
}

@media screen and (min-width: 769px) and (max-width: 1026px){
    .video-carousel {
        height: 450px;
        max-width: 95%;
    }
    
    .carousel-slide {
        width: 70%;
        height: 70%;
        top: 15%;
    }
}

/* About P-The Developers Section */
.about-p-the-developers-section {
    background-color: #ffffff;
    padding: 100px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.about-p-the-developers-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
}

.about-p-the-developers-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.about-p-the-developers-title {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 36px;
    font-weight: bold;
    color: #566688;
    margin-bottom: 30px;
}

.about-p-the-developers-title span {
    color: #D5B4B4; /* Light pinkish color from the image */
    font-weight: normal;
}

.about-p-the-developers-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #38334f;
    margin-bottom: 20px;
}

.about-p-the-developers-image {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-p-the-developers-img {
    /* width: 150%; */
    /* height: auto; */
    border-radius: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

@media (max-width: 768px) {
    .about-p-the-developers-container {
        flex-direction: column;
        text-align: center;
    }

    .about-p-the-developers-content,
    .about-p-the-developers-image {
        max-width: 100%;
    }
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #333;
    border-radius: 2px;
}

/* Hamburger animation when active */
.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 Navigation Styles */
@media (max-width: 700px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: -600px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 14px 18px;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        transition: top 0.18s ease, opacity 0.12s ease;
        opacity: 0;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
        align-items: center;
    }

    .nav-item {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        font-size: 18px;
        font-weight: 600;
        padding: 12px 16px;
        display: block;
        width: 100%;
        color: #111;
        text-decoration: none;
        border-radius: 10px;
        transition: background 0.12s ease, transform 0.12s ease;
    }

    .nav-link:hover {
        background: rgba(0,0,0,0.04);
        transform: translateY(-2px);
    }

    .nav-button {
        margin: 8px 0 12px 0;
        padding: 12px 26px;
        font-size: 16px;
        border-radius: 10px;
        display: inline-block;
    }

    .nav-menu.active { 
        left: 0;
        top: 60px;
        opacity: 1;
    }

    .nav-logo p {
        font-size: clamp(14px, 3vw, 16px);
    }

    
}

#copyright{
    transform: translateX(40%);
}


@media (max-width: 769px){
    footer .footer-social h3{
        transform: translateX(40%);
    }

    .footer-links{
        transform: translateX(40%);
    }

    #Q{
        transform: translateX(-10%);
    }

    #A{
         transform: translateX(40%);
    }
}

@media(max-width : 768px) {
    /* .site-footer h3::after {
        left: 50%; 
        transform: translateX(-480%);
    } */

@media(max-width : 768px){
    #w{ transform: translateX(45%);}
}


}

@media screen and (max-width:510px) {
    .about-p-the-developers-img{
        display: none;
    }
    
}

@media screen and (max-width:531px){

    #copyright{
    transform: translateX(20%);
}
}

@media screen and (max-width:283px){

    #copyright{
    transform: translateX(10%);
}
}
@media screen and (max-width:390px){
#copyright{
    transform: translateX(6%);
    scale: 0.6;
}    
}

@media screen and(min-width:392px) and (max-width:777px){

    #copyright{
    transform: translateX(26%);
}
}

/* Outer glow using pseudo-element */
.lang-btn::before {
    content: '';
    position: absolute;
    inset: -4px; /* extend outside the button */
    border-radius: 14px;
    pointer-events: none;
    box-shadow: 0 0 18px rgba(255,255,255,0.18), 0 0 30px rgba(255,255,255,0.08) inset;
    opacity: 0.9;
    transition: box-shadow 0.14s ease, opacity 0.14s ease;
}
.lang-btn:hover::before {
    box-shadow: 0 0 34px rgba(255,255,255,0.32), 0 0 50px rgba(255,255,255,0.18) inset;
    opacity: 1;
}

/* Left-align footer content for small screens up to 780px */
@media (max-width: 780px) {
    .footer-container {
        align-items: flex-start;
        text-align: left;
        padding-left: clamp(16px, 5vw, 24px);
        padding-right: clamp(16px, 5vw, 24px);
    }

    .footer-about,
    .footer-contact,
    /* Hide quick links on small screens per user request */
    /* .footer-links is removed from the visual footer at <=780px */
    .footer-links,
    .footer-social {
        width: 100%;
        max-width: none;
        text-align: left;
        padding-left: 0;
        padding-right: 0;
        align-items: flex-start;
    }

    .footer-contact li {
        justify-content: flex-start;
        text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .footer-about p {
        margin: 0;
        max-width: 100%;
    }

    .footer-bottom {
        text-align: left;
        padding-left: clamp(16px, 5vw, 24px);
        padding-right: clamp(16px, 5vw, 24px);
    }
}

/* Strong left-edge alignment at <=768px: remove container padding and align items left */
@media (max-width: 768px) {
    .footer-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: clamp(18px, 4vw, 26px);
    }

    .footer-about,
    .footer-contact,
    .footer-links,
    .footer-social {
        width: 100%;
        max-width: none;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-left: 0 !important;
    }

    .footer-contact li {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .social-icons {
        justify-content: flex-start !important;
    }

    .footer-bottom {
        text-align: left !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
    }
}

/* Ensure headings and quick-links are flush-left at <=780px */
@media (max-width: 780px) {
    .site-footer h3 {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .footer-links,
    .footer-contact {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer-links ul,
    .footer-contact ul {
        margin-left: 0 !important;
        padding-left: 0 !important;
        text-align: left !important;
    }

    .footer-links li a {
        padding-left: 0.25rem !important;
    }

    /* Remove About and social columns on small screens to simplify layout */
    .footer-about,
    .footer-social {
        display: none !important;
    }
}

    /* --- Mobile-first professional footer layout (<= 780px) --- */
    @media (max-width: 780px) {
        /* Ensure site-footer has comfortable vertical padding for mobile */
        .site-footer {
            padding: 20px 0 28px 0;
            background-color: #0f1113;
        }

        /* Stack everything, full-width, and remove competing padding */
        .footer-container {
            display: flex !important;
            flex-direction: column;
            gap: 12px;
            padding: 0 14px !important;
            align-items: stretch !important;
            text-align: left !important;
        }

        /* Show About and Social again but in stacked blocks */
        .footer-about,
        .footer-contact,
        /* The .footer-links block is intentionally hidden on small screens per the user's request */
        .footer-links,
        .footer-social {
            display: block !important;
            width: 100%;
            max-width: none;
            padding: 12px 0;
            margin: 0;
            border-bottom: 1px solid rgba(255,255,255,0.03);
        }

        /* Headings: bold and left aligned, compact spacing */
        .site-footer h3 {
            font-size: 1rem;
            font-weight: 700;
            color: #ffffff;
            margin: 0 0 8px 0 !important;
            text-align: left !important;
        }

        /* About text styling for readability on small screens */
        .footer-about p {
            margin: 0;
            color: #b9c3cf;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        /* Contact list: larger tap targets and clear icon alignment */
        .footer-contact ul {
            padding: 0;
            margin: 0;
        }

        .footer-contact li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 8px 2px;
            color: #c8d2dd;
        }

        .footer-contact i {
            color: #4CAF50;
            font-size: 1.05rem;
            margin-top: 2px;
        }

        /* Quick links: full-width tappable rows */
        .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        /* Hide the entire quick-links column on small screens */
        .footer-links {
            display: none !important;
        }

        .footer-links li {
            margin-bottom: 6px;
        }

        .footer-links a {
            display: block;
            padding: 10px 6px;
            border-radius: 8px;
            color: #c0cad6;
            text-decoration: none;
            transition: background 0.16s ease, color 0.12s ease;
            font-size: 0.98rem;
        }

        /* Make quick links appear as rows with icon-like spacing similar to contact rows */
        .footer-links li {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 2px;
        }

        .footer-links li a {
            padding: 8px 6px;
            width: 100%;
        }

        .footer-links a:hover,
        .footer-links a:focus {
            background: rgba(255,255,255,0.02);
            color: #ffffff;
            outline: none;
        }

        /* Social icons: inline, left-aligned, slightly larger for touch */
        .social-icons {
            display: flex !important;
            gap: 12px;
            justify-content: flex-start !important;
            padding: 6px 0;
        }

        .social-icon {
            width: 44px;
            height: 44px;
            font-size: 18px;
            background-color: #1b1d21;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        /* Footer bottom: subtle and left-aligned */
        .footer-bottom {
            padding-top: 12px;
            margin-top: 12px;
            border-top: none;
            text-align: left;
            padding-left: 14px;
            padding-right: 14px;
        }

        .footer-bottom p {
            color: #98a3b1;
            font-size: 0.9rem;
            margin: 0;
        }

        /* Reduce visual noise for smallest screens */
        @media (max-width: 360px) {
            .footer-links a,
            .footer-contact li {
                padding-left: 4px;
            }
            .social-icon { width: 40px; height: 40px; font-size: 16px }
        }
    }