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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-gif {
    width: 320px;
    height: 300px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.loading-text {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
    letter-spacing: 2px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 36px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    text-decoration: none;
}

/* Chatbox Styles */
.chatbox {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.chatbox.active {
    display: flex;
}

.chatbox-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px 15px 0 0;
}

.chatbox-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbox-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.chatbox-header-text h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.chatbox-header-text p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.chatbox-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s;
}

.chatbox-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.chatbox-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.chatbox-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    max-height: 300px;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.bot-message {
    align-items: flex-start;
}

.user-message {
    align-items: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}

.bot-message .message-content {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 18px 18px 18px 5px;
}

.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: rgb(0, 0, 0);
    border-radius: 18px 18px 5px 18px;
}

.message-content p {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    display: block;
}

.chatbox-input {
    padding: 15px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    align-items: center;
}

#chatbox-input-field {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

#chatbox-input-field:focus {
    border-color: #667eea;
}

.chatbox-send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.chatbox-send-btn:hover {
    transform: scale(1.1);
}

.chatbox-quick-replies {
    padding: 10px 15px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-reply-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

.quick-reply-btn:hover {
    background: #667eea;
    color: rgb(0, 219, 73);
    border-color: #667eea;
}


/* Responsive Chatbox */
@media (max-width: 768px) {
    .chatbox {
        width: 90%;
        height: 60vh;
        right: 5%;
        bottom: 80px;
    }
    
    .chatbox-messages {
        max-height: 200px;
    }
}

/* Chat Notification Styles */
.chat-notification {
    position: fixed;
    bottom: 180px;
    right: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    padding: 15px;
    z-index: 1002;
    max-width: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-content h5 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.notification-content p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.notification-close:hover {
    background: #f0f0f0;
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Night Mode Notification */
body.night-mode .chat-notification {
    background: #2a2a2a;
    color: #f90000;
}

body.night-mode .notification-content h5 {
    color: #ff0000;
}

body.night-mode .notification-content p {
    color: #ff0000;
}

body.night-mode .notification-close {
    color: #000000;
}

body.night-mode .notification-close:hover {
    background: #444;
    color: #00765c;
}

/* WhatsApp Redirect Button */
.whatsapp-redirect {
    margin: 15px 0;
    text-align: center;
}

.whatsapp-redirect-btn {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-redirect-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-redirect-btn i {
    font-size: 16px;
}

/* Night Mode WhatsApp Button */
body.night-mode .whatsapp-redirect-btn {
    background: #25d366;
    color: white;
}

body.night-mode .whatsapp-redirect-btn:hover {
    background: #128c7e;
}

/* Typing Indicator */
.typing-indicator .message-content {
    background: #f0f0f0 !important;
    border: 1px solid #e0e0e0 !important;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 5px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Night Mode Typing Indicator */
body.night-mode .typing-indicator .message-content {
    background: #333 !important;
    border-color: #555 !important;
}

body.night-mode .typing-dots span {
    background: #ccc;
}

/* Night Mode Message Content */
body.night-mode .bot-message .message-content {
    background: #333 !important;
    color: #00ff77 !important;
    border-color: #555 !important;
}

body.night-mode .user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #00ff77 !important;
}

body.night-mode .message-content p {
    color: #00ff77 !important;
}

body.night-mode .message-time {
    color: #00ff77 !important;
}

/* Night Mode Text Colors */
body.night-mode {
    color: #fff !important;
    background-color: #1a1a1a !important;
}

body.night-mode h1,
body.night-mode h2,
body.night-mode h3,
body.night-mode h4,
body.night-mode h5,
body.night-mode h6,
body.night-mode p,
body.night-mode span,
body.night-mode li,
body.night-mode a,
body.night-mode .section-header h2,
body.night-mode .section-header p,
body.night-mode .stat h4,
body.night-mode .stat p,
body.night-mode .ceo-info h3,
body.night-mode .ceo-title,
body.night-mode .ceo-qualification,
body.night-mode .ceo-text h3,
body.night-mode .ceo-text p,
body.night-mode .ceo-stat h4,
body.night-mode .ceo-stat p,
body.night-mode .portfolio-overlay h3,
body.night-mode .portfolio-overlay p,
body.night-mode .contact-item h4,
body.night-mode .contact-item p,
body.night-mode .submit-btn,
body.night-mode .cta-button {
    color: #ffffff ;
}

body.night-mode .nav-link {
    color:orange !important;
}

body.night-mode .nav-link:hover,
body.night-mode .footer-section ul li a:hover {
    color: #00ff77 !important;
}

/* Day Mode Text Colors */
body:not(.night-mode) {
    color: #333 !important;
    background-color: #fff !important;
}


/* Navigation links in day mode */
body:not(.night-mode) .nav-link {
    color: #2c3e50 !important;
}

body:not(.night-mode) .nav-link:hover {
    color: #3498db !important;
}

body.night-mode .service-card,
body.night-mode .services,
body.night-mode .portfolio-item,
body.night-mode .contact,
body.night-mode .about,
body.night-mode .ceo,
body.night-mode .ceo-content,
body.night-mode .portfolio,
body.night-mode .section-header {
    background: #232323 !important;
    color: #fff !important;
}

body.night-mode .portfolio-overlay {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9), rgba(41, 128, 185, 0.9));
    color: #fff !important;
} 
.theme-toggle {
    background: none;
    border: none;
    color: #2c3e50;
    font-size: 1.5em;
    cursor: pointer;
    margin-left: 10px;
    transition: color 0.3s ease;
}

/* Theme toggle in night mode */
body.night-mode .theme-toggle {
    color:#f4d144 !important;
}

/* Chatbox header text in dark mode */
body.night-mode .chatbox-header-text h4,
body.night-mode .chatbox-header-text p {
    color: #00ff77 !important;
}



/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.8rem;
}

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

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

.nav-link:hover {
    color: #3498db;
}

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section with Slider */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.6);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 2.5rem; /* Changed from 0.5rem */
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideInUp 1s ease-out;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #34db93, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 3;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.5rem;
    color: #3498db;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #7f8c8d;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Focus Styles for Accessibility */
.nav-link:focus,
.cta-button:focus,
.submit-btn:focus,
.prev-btn:focus,
.next-btn:focus,
.dot:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}
/* CEO Section */
.ceo {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ceo-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    margin-top: 20px;
}

.ceo-image {
    text-align: center;
    position: relative;
}

.ceo-img {
    width: 100%;
    max-width: 400px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ceo-img:hover {
    transform: translateY(-10px);
}

.ceo-info {
    margin-top: 20px;
}

.ceo-info h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.ceo-title {
    font-size: 1.1rem;
    color: #3498db;
    font-weight: 500;
    margin-bottom: 5px;
}

.ceo-qualification {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
}

.ceo-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.ceo-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.ceo-stats {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #e9ecef;
    border-bottom: 2px solid #e9ecef;
}

.ceo-stat {
    text-align: center;
    flex: 1;
}

.ceo-stat h4 {
    font-size: 2.5rem;
    color: #3498db;
    font-weight: 700;
    margin-bottom: 5px;
}

.ceo-stat p {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    margin: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 100px;
    height: 100px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Portfolio Section */
.portfolio {
    background: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-content: center;
    padding:10px;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 219, 177, 0.9), rgba(41, 128, 185, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #34dbb4, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #7f8c8d;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #34dbb7, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.alt-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.alt-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    color: white;
    text-decoration: none;
}

.alt-contact-btn i {
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #34db95;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34dbbf;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    padding: 10px 20px;
    background: #34db9b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #2980b9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design - Comprehensive */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .slide-content p {
        font-size: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop (1200px to 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Tablet (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        padding: 0 30px;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .ceo-content {
        gap: 40px;
    }
    
    .ceo-img {
        max-width: 350px;
        height: 400px;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        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: 1.5rem 0;
        gap:1.5rem;
    }

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

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .slider-controls {
        bottom: 30px;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .ceo-img {
        max-width: 300px;
        height: 350px;
    }
    
    .ceo-stats {
        flex-direction: row;
        gap: 20px;
    }
    
    .ceo-stat h4 {
        font-size: 2.2rem;
    }
}

/* Mobile Large (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        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: 1rem 0;
        gap:1rem;
    }

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

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .slider-controls {
        bottom: 20px;
        gap: 0.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .ceo-img {
        max-width: 280px;
        height: 320px;
    }
    
    .ceo-text h3 {
        font-size: 1.8rem;
    }
    
    .ceo-text p {
        font-size: 1rem;
    }
    
    .ceo-stats {
        flex-direction: row;
        gap: 15px;
    }
    
    .ceo-stat h4 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .portfolio-item img {
        height: 220px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-item i {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}

/* Mobile Medium (480px to 575px) */
@media (max-width: 575px) and (min-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hamburger {
        display: flex;
    }

    .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: 1rem 0;
        gap:0.6rem;
    }

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

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .slider-controls {
        bottom: 15px;
        gap: 0.6rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .ceo-img {
        max-width: 250px;
        height: 300px;
    }
    
    .ceo-info h3 {
        font-size: 1.6rem;
    }
    
    .ceo-text h3 {
        font-size: 1.6rem;
    }
    
    .ceo-text p {
        font-size: 0.95rem;
    }
    
    .ceo-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .ceo-stat h4 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon img {
        width: 80px;
        height: 80px;
    }
    
    .portfolio-item img {
        height: 200px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .contact-item i {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
/* Responsive Loading Screen */
@media (max-width: 768px) {
    .loading-gif {
        width: 250px;
        height: 250px;
        margin-bottom: 15px;
    }
    
    .loading-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .loading-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .loading-gif {
        width: 200px;
        height: 200px;
        margin-bottom: 12px;
    }
    
    .loading-text {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .loading-content {
        padding: 10px;
    }
}

@media (max-width: 320px) {
    .loading-gif {
        width: 180px;
        height: 180px;
        margin-bottom: 10px;
    }
    
    .loading-text {
        font-size: 0.8rem;
    }
}

/* Landscape orientation for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    .loading-gif {
        width: 150px;
        height: 150px;
        margin-bottom: 8px;
    }
    
    .loading-text {
        font-size: 0.8rem;
    }
    
    .loading-content {
        padding: 8px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .loading-gif {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Mobile Small (375px to 479px) */
@media (max-width: 479px) and (min-width: 375px) {
    .container {
        padding: 0 12px;
    }
    
    .hamburger {
        display: flex;
    }

    .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: 1rem 0;
        gap:0.5rem;
    }

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

    .slide-content h1 {
        font-size: 1.3rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .slider-controls {
        bottom: 10px;
        gap: 0.5rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .ceo-img {
        max-width: 220px;
        height: 280px;
    }
    
    .ceo-info h3 {
        font-size: 1.4rem;
    }
    
    .ceo-text h3 {
        font-size: 1.4rem;
    }
    
    .ceo-text p {
        font-size: 0.9rem;
    }
    
    .ceo-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .ceo-stat h4 {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon img {
        width: 80px;
        height: 80px;
    }
    
    .portfolio-item img {
        height: 180px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-item i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 24px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Mobile Extra Small (320px to 374px) */
@media (max-width: 374px) and (min-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 50px;
        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: 1rem 0;
    }

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

    .slide-content p {
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .slider-controls {
        bottom: 8px;
        gap: 0.4rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .ceo-img {
        max-width: 200px;
        height: 250px;
    }
    
    .ceo-info h3 {
        font-size: 1.3rem;
    }
    
    .ceo-text h3 {
        font-size: 1.3rem;
    }
    
    .ceo-text p {
        font-size: 0.85rem;
    }
    
    .ceo-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .ceo-stat h4 {
        font-size: 1.4rem;
    }
    
    .service-card {
        padding: 15px 12px;
    }
    
    .service-icon img {
        width: 70px;
        height: 70px;
    }
    
    .portfolio-item img {
        height: 160px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .submit-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .whatsapp-float {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
        font-size: 20px;
    }
    
    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .prev-btn, .next-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Very Small Mobile (below 320px) */
@media (max-width: 319px) {
    .container {
        padding: 0 8px;
    }


    .cta-button {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }
    
    .ceo-img {
        max-width: 180px;
        height: 220px;
    }
    
    .ceo-info h3 {
        font-size: 1.2rem;
    }
    
    .ceo-text h3 {
        font-size: 1.2rem;
    }
    
    .ceo-text p {
        font-size: 0.8rem;
    }
    
    .ceo-stat h4 {
        font-size: 1.2rem;
    }
    
    .service-card {
        padding: 12px 10px;
    }
    
    .service-icon img {
        width: 60px;
        height: 60px;
    }
    
    .portfolio-item img {
        height: 140px;
    }
    
    .contact-item i {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 6px;
        font-size: 0.8rem;
    }
    
    .submit-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .whatsapp-float {
        width: 35px;
        height: 35px;
        bottom: 8px;
        right: 8px;
        font-size: 18px;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}

/* Landscape Orientation for Mobile Devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }

    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .slider-controls {
        bottom: 10px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .about-content,
    .contact-content {
        gap: 20px;
    }
    
    .ceo-content {
        gap: 20px;
    }
    
    .ceo-img {
        max-width: 200px;
        height: 250px;
    }
    
    .stats {
        gap: 0.8rem;
    }
    
    .ceo-stats {
        gap: 15px;
        padding: 20px 0;
    }
    
    .map iframe {
        height: 200px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .loading-gif,
    .ceo-img,
    .portfolio-item img,
    .about-image img,
    .service-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .loading-screen,
    .navbar,
    .slider-controls,
    .whatsapp-float,
    .hamburger {
        display: none !important;
    }
    
    .hero {
        height: auto;
        min-height: 300px;
    }
    
    .slide {
        position: relative;
        opacity: 1;
    }
    
    .slide-bg {
        display: none;
    }
    
    .slide-content {
        color: #000;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}

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


/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .portfolio-item:hover,
    .ceo-img:hover {
        transform: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .cta-button:hover,
    .submit-btn:hover {
        transform: none;
    }
    
    .social-links a:hover {
        transform: none;
    }
}

/* Zoom Controls */
.zoom-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

.zoom-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-size: 14px;
}

.zoom-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.zoom-level {
    font-size: 12px;
    font-weight: 500;
    color: #2c3e50;
    min-width: 45px;
    text-align: center;
}

/* Night mode zoom controls */
body.night-mode .zoom-btn {
    color: #fff;
    border-color: #555;
}

body.night-mode .zoom-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

body.night-mode .zoom-level {
    color: #fff;
}

/* Zoom Modal */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.zoom-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.zoom-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.zoom-close:hover {
    color: #3498db;
}

.zoom-modal-img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.zoom-modal-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.modal-zoom-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 16px;
}

.modal-zoom-btn:hover {
    background: #3498db;
    border-color: #3498db;
    transform: scale(1.05);
}

.modal-zoom-level {
    font-size: 14px;
    font-weight: 500;
    color: white;
    min-width: 50px;
    text-align: center;
}

/* Portfolio item zoom cursor */
.portfolio-item {
    cursor: zoom-in;
}

/* Responsive zoom controls */
@media (max-width: 768px) {
    .zoom-controls {
        margin-left: 10px;
        gap: 5px;
    }
    
    .zoom-btn {
        padding: 4px 6px;
        font-size: 12px;
    }
    
    .zoom-level {
        font-size: 10px;
        min-width: 35px;
    }
    
    .zoom-modal-controls {
        gap: 10px;
        padding: 10px;
    }
    
    .modal-zoom-btn {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .modal-zoom-level {
        font-size: 12px;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    .zoom-controls {
        display: none; /* Hide zoom controls on very small screens */
    }
    
    .zoom-modal-content {
        width: 95%;
        height: 95%;
        padding: 10px;
    }
    
    .zoom-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .zoom-modal-controls {
        gap: 8px;
        padding: 8px;
    }
    
    .modal-zoom-btn {
        padding: 6px 8px;
        font-size: 12px;
    }
}

/* Zoom animation for page content */
body {
    transition: transform 0.3s ease;
    transform-origin: top left;
}

/* Ensure proper scrolling when zoomed */
body.zoomed {
    overflow-x: auto;
    overflow-y: auto;
}

/* Portfolio image zoom effect */
.portfolio-item img {
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Map Section Responsive Styles */
.map {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 991px) {
    .map iframe {
        height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@media (max-width: 767px) {
    .map iframe {
        height: 250px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-item i {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .map iframe {
        height: 200px;
    }
    
    .contact-item {
        gap: 12px;
    }
    
    .contact-item i {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-item h4 {
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 479px) {
    .map iframe {
        height: 180px;
    }
    
    .contact-item {
        gap: 10px;
    }
    
    .contact-item i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 374px) {
    .map iframe {
        height: 160px;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Enhanced Navigation Responsiveness */
@media (max-width: 991px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo img {
        width: 70px !important;
        height: 35px !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 10px 20px;
        display: block;
    }
    
    .theme-toggle {
        margin: 10px 0;
        font-size: 1.3em;
    }
}

/* Night mode navigation for mobile */
@media (max-width: 991px) {
    body.night-mode .nav-menu {
        background-color: rgba(35, 35, 35, 0.98);
    }
    
    body.night-mode .nav-link {
        color: #fff !important;
    }
    
    body.night-mode .hamburger .bar {
        background-color: #00b981;
    }
}

/* Enhanced Service Cards Responsiveness */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon img {
        width: 80px;
        height: 80px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-top: 50px;
    }
}

@media (max-width: 575px) {
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon img {
        width: 70px;
        height: 70px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-top: 45px;
    }
}

/* Enhanced Portfolio Responsiveness */
@media (max-width: 767px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 5px;
    }
    
    .portfolio-item img {
        height: 220px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.3rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .portfolio-item img {
        height: 200px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.2rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.85rem;
    }
}

/* Enhanced Form Responsiveness */
@media (max-width: 767px) {
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Enhanced WhatsApp Float Responsiveness */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 24px;
    }
}

@media (max-width: 374px) {
    .whatsapp-float {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
        font-size: 20px;
    }
}

/* Enhanced Footer Responsiveness */
@media (max-width: 767px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
        gap: 12px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .newsletter-form button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Enhanced Loading Screen Responsiveness */
@media (max-width: 767px) {
    .loading-gif {
        width: 250px;
        height: 250px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .loading-gif {
        width: 200px;
        height: 200px;
    }
    
    .loading-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 374px) {
    .loading-gif {
        width: 180px;
        height: 180px;
    }
    
    .loading-text {
        font-size: 0.8rem;
    }
}

/* Enhanced Section Padding for Mobile */
@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
}

/* Enhanced Stats Responsiveness */
@media (max-width: 767px) {
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat h4 {
        font-size: 2.2rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stat h4 {
        font-size: 2rem;
    }
    
    .stat p {
        font-size: 0.85rem;
    }
}

/* Enhanced CEO Section Responsiveness */
@media (max-width: 767px) {
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .ceo-img {
        max-width: 280px;
        height: 320px;
    }
    
    .ceo-text h3 {
        font-size: 1.8rem;
    }
    
    .ceo-text p {
        font-size: 1rem;
    }
    
    .ceo-stats {
        flex-direction: row;
        gap: 15px;
        padding: 20px 0;
    }
    
    .ceo-stat h4 {
        font-size: 2rem;
    }
    
    .ceo-stat p {
        font-size: 0.85rem;
    }
}

@media (max-width: 575px) {
    .ceo-img {
        max-width: 250px;
        height: 300px;
    }
    
    .ceo-text h3 {
        font-size: 1.6rem;
    }
    
    .ceo-text p {
        font-size: 0.95rem;
    }
    
    .ceo-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .ceo-stat h4 {
        font-size: 1.8rem;
    }
    
    .ceo-stat p {
        font-size: 0.8rem;
    }
}

/* Enhanced About Section Responsiveness */
@media (max-width: 767px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-image img {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .about-image img {
        height: 250px;
    }
}

/* Enhanced Hero Section Responsiveness */
@media (max-width: 767px) {

    
    .slide-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .slider-controls {
        bottom: 20px;
        gap: 0.8rem;
    }
    
    .prev-btn, .next-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 575px) {
  
    
    .slide-content p {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .slider-controls {
        bottom: 15px;
        gap: 0.6rem;
    }
}

/* Enhanced Container Responsiveness */
@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 374px) {
    .container {
        padding: 0 12px;
    }
}

/* Enhanced Accessibility for Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover::after {
        width: 0;
    }
    
    .service-card:hover,
    .portfolio-item:hover,
    .ceo-img:hover {
        transform: none;
    }
    
    .cta-button:hover,
    .submit-btn:hover {
        transform: none;
    }
    
    .social-links a:hover {
        transform: none;
    }
    
    .whatsapp-float:hover {
        transform: none;
    }
}

/* Enhanced Print Styles */
@media print {
    .loading-screen,
    .navbar,
    .slider-controls,
    .whatsapp-float,
    .hamburger,
    .map {
        display: none !important;
    }
    
    .hero {
        height: auto;
        min-height: 200px;
    }
    
    .slide {
        position: relative;
        opacity: 1;
    }
    
    .slide-bg {
        display: none;
    }
    
    .slide-content {
        color: #000;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000 !important;
        background: #fff !important;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    section {
        padding: 15px 0;
        page-break-inside: avoid;
    }
    
    .about-content,
    .contact-content,
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .ceo-stats {
        flex-direction: column;
        gap: 10px;
    }
}

/* Enhanced Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .slide {
        transition: none;
    }
    
    .portfolio-overlay {
        transition: none;
    }
    
    .service-card:hover,
    .portfolio-item:hover,
    .ceo-img:hover {
        transform: none;
    }
}

/* Enhanced High DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .loading-gif,
    .ceo-img,
    .portfolio-item img,
    .about-image img,
    .service-icon img,
    .nav-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Enhanced Landscape Orientation Support */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .slider-controls {
        bottom: 10px;
    }
    
    section {
        padding: 30px 0;
    }
    
    .about-content,
    .contact-content {
        gap: 20px;
    }
    
    .ceo-content {
        gap: 20px;
    }
    
    .ceo-img {
        max-width: 200px;
        height: 250px;
    }
    
    .stats {
        gap: 0.8rem;
    }
    
    .ceo-stats {
        gap: 15px;
        padding: 20px 0;
    }
    
    .map iframe {
        height: 200px;
    }
}

/* Enhanced Focus Styles for Better Accessibility */
.nav-link:focus,
.cta-button:focus,
.submit-btn:focus,
.prev-btn:focus,
.next-btn:focus,
.dot:focus,
.theme-toggle:focus,
.hamburger:focus,
.whatsapp-float:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Enhanced Dark Mode Focus Styles */
body.night-mode .nav-link:focus,
body.night-mode .cta-button:focus,
body.night-mode .submit-btn:focus,
body.night-mode .prev-btn:focus,
body.night-mode .next-btn:focus,
body.night-mode .dot:focus,
body.night-mode .theme-toggle:focus,
body.night-mode .hamburger:focus,
body.night-mode .whatsapp-float:focus,
body.night-mode .form-group input:focus,
body.night-mode .form-group textarea:focus {
    outline: 2px solid #00ff77;
    outline-offset: 2px;
}

/* Achievement Gallery Styles */
.achievement-gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.achievement-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.achievement-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

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

/* Back to Home Section */
.back-to-home {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.back-home-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.back-home-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Night Mode Styles for Memory Page */
body.night-mode .memory-timeline {
    background: #2a2a2a;
}

body.night-mode .timeline-content {
    background: #333;
    color: #fff;
}

body.night-mode .timeline-content h3 {
    color: #fff;
}

body.night-mode .timeline-content p {
    color: #ccc;
}

body.night-mode .team-memories {
    background: #1a1a1a;
}

body.night-mode .memory-card {
    background: #333;
}

body.night-mode .memory-content h3 {
    color: #fff;
}

body.night-mode .memory-content p {
    color: #ccc;
}

body.night-mode .achievement-gallery {
    background: #2a2a2a;
}

body.night-mode .achievement-item {
    background: #333;
}

body.night-mode .achievement-item h3 {
    color: #fff;
}

body.night-mode .achievement-item p {
    color: #ccc;
}

/* Active Navigation Link */
.nav-link.active {
    color: #667eea !important;
    font-weight: 600;
}

body.night-mode .nav-link.active {
    color: #8b9eff !important;
}

/* Responsive Design for Memory Page */
@media (max-width: 768px) {
    .memory-hero h1 {
        font-size: 2.5rem;
    }
    
    .memory-hero p {
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        padding-left: 30px;
        padding-right: 20px;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        right: auto;
        border-right-color: white;
        border-left-color: transparent;
    }
    
    .memories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .back-home-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .memory-hero h1 {
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .memory-content {
        padding: 20px;
    }
    
    .achievement-item {
        padding: 30px 20px;
    }
    
    .achievement-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .back-home-content h2 {
        font-size: 1.8rem;
    }
}

/* Sponsor Section Styles */
.sponsor {
    padding: 50px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

body.night-mode .sponsor {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.sponsor .section-header h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}

.sponsor .section-header p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 50px;
}

.sponsor-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.sponsor-track {
    display: flex;
    animation: scroll-left 25s linear infinite;
    width: calc(200% + 200px);
    gap: 40px;
}

.sponsor-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
}

.sponsor-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.2);
}

.sponsor-item img {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.4s ease, transform 0.3s ease;
}

.sponsor-item:nth-child(1) { animation: fadeInUp 0.6s ease 0.1s both; }
.sponsor-item:nth-child(2) { animation: fadeInUp 0.6s ease 0.2s both; }
.sponsor-item:nth-child(3) { animation: fadeInUp 0.6s ease 0.3s both; }
.sponsor-item:nth-child(4) { animation: fadeInUp 0.6s ease 0.4s both; }
.sponsor-item:nth-child(5) { animation: fadeInUp 0.6s ease 0.5s both; }
.sponsor-item:nth-child(6) { animation: fadeInUp 0.6s ease 0.6s both; }
.sponsor-item:nth-child(7) { animation: fadeInUp 0.6s ease 0.7s both; }
.sponsor-item:nth-child(8) { animation: fadeInUp 0.6s ease 0.8s both; }
.sponsor-item:nth-child(9) { animation: fadeInUp 0.6s ease 0.9s both; }
.sponsor-item:nth-child(10) { animation: fadeInUp 0.6s ease 1.0s both; }

.sponsor-item:hover img {
    filter: brightness(1) invert(0);
    transform: scale(1.1);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pause animation on hover */
.sponsor-container:hover .sponsor-track {
    animation-play-state: paused;
}

/* Responsive Design for Sponsor Section */
@media (max-width: 768px) {
    .sponsor {
        padding: 60px 0;
    }
    
    .sponsor-track {
        animation-duration: 18s;
        gap: 30px;
    }
    
    .sponsor-item {
        padding: 15px;
        min-width: 160px;
    }
    
    .sponsor-item img {
        max-width: 120px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .sponsor {
        padding: 40px 0;
    }
    
    .sponsor-track {
        animation-duration: 12s;
        gap: 20px;
    }
    
    .sponsor-item {
        padding: 10px;
        min-width: 120px;
    }
    
    .sponsor-item img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .sponsor .section-header h2 {
        font-size: 1.8rem;
    }
    
    .sponsor .section-header p {
        font-size: 0.9rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .sponsor-track {
        animation: none;
    }
    
    .sponsor-item:hover {
        transform: none;
    }
    
    .sponsor-item {
        animation: none !important;
    }
    
    .sponsor-item:hover img {
        transform: none;
    }
}

