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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth; /* Add smooth scrolling */
}

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

/* Header Styles */
.header {
    background: white;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
}

.logo i {
    color: #60a5fa;
    font-size: 28px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #374151;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #1e3a8a;
}

.nav {
    display: flex;
    gap: 30px;
}

@media (max-width: 768px) {
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 100;
        border-radius: 0 0 8px 8px;
    }
    
    .nav.active .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .nav.active .nav-link:last-child {
        border-bottom: none;
    }
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #1e3a8a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #8b5cf6);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 75vh; /* Reduced from 100vh to 75vh to not occupy entire screen */
    min-height: 550px; /* Ensure minimum height for smaller screens */
    max-height: 750px; /* Set maximum height to prevent excessive space */
    position: relative;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    overflow: hidden;
    margin-bottom: 20px; /* Add margin to ensure content below is visible */
}

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

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

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.slide-number {
    font-size: 18px;
    color: #93c5fd;
    margin-bottom: 20px;
    font-weight: 300;
}

.slide-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: slideInUp 0.8s ease;
}

.slide-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    animation: slideInUp 0.8s ease 0.2s both;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background: white;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    opacity: 0;
    transition: opacity 0.8s ease;
    display: none;
}

.testimonial-slide.active {
    opacity: 1;
    display: block;
}

.testimonial-content {
    text-align: center;
    padding: 30px 20px; /* Reduced padding */
}

.testimonial-text {
    margin-bottom: 20px; /* Reduced margin */
}

.testimonial-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    font-style: italic;
    margin: 0;
}

.testimonial-author h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
}

.testimonial-pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px; /* Reduced margin */
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background: #60a5fa;
    transform: scale(1.2);
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 10;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.nav-btn i {
    font-size: 20px;
}

/* Pagination */
.pagination {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

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

.pagination-dot.active,
.pagination-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    right: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 14px;
    animation: bounce 2s infinite;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.scroll-indicator i {
    display: block;
    margin-top: 5px;
    font-size: 20px;
    color: #60a5fa;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Statistics Section */
.statistics {
    padding: 50px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; /* Reduced gap */
}

.stat-card {
    background: #f8fafc;
    padding: 30px 25px; /* Reduced padding */
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #60a5fa;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: #f8fafc;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 15px;
    padding-top: 10px; /* Reduced padding */
}

.section-subtitle {
    font-size: 18px;
    color: #64748b;
    text-align: center;
    margin-bottom: 40px; /* Reduced margin */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px; /* Reduced gap */
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 30px 25px; /* Reduced padding */
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.service-description {
    color: #64748b;
    line-height: 1.7;
}

/* Why Us Section */
.why-us {
    padding: 60px 0 100px;
    background: white;
    margin-top: 0; /* Remove margin since we added it to the hero section */
}

.why-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 30px; /* Reduced margin */
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    margin-bottom: 15px; /* Reduced margin */
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: #60a5fa;
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.1);
}

.accordion-item.active {
    border-color: #60a5fa;
    background: #f8fafc;
}

.accordion-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
}

.accordion-btn {
    background: #60a5fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-btn:hover {
    background: #1e3a8a;
    transform: scale(1.1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 0 30px 25px;
}

.accordion-content p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* About Section */
.about {
    padding: 60px 0;
    background: #f8fafc;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 18px;
    color: #374151;
    margin-bottom: 30px;
    line-height: 1.8;
}

.features-list {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    color: #60a5fa;
    font-size: 18px;
    width: 20px;
}

.feature-item span {
    color: #374151;
    font-size: 16px;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    position: relative;
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Reduced gap */
    align-items: start;
}

.contact-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.7;
}

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: #60a5fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: #8b5cf6;
    transform: scale(1.1);
}

.contact-icon i {
    color: white;
    font-size: 20px;
}

.contact-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    isolation: isolate;
}

/* Add a pseudo-element to create a stacking context */
.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: -1;
}

/* Ensure contact form labels are always visible */
#contactForm label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Add specific styling for each label to ensure visibility */
#fullName-label, #email-label, #phone-label, #service-label, #projectDetails-label,
label[for="fullName"], label[for="email"], label[for="phone"], label[for="service"], label[for="projectDetails"] {
    display: block !important;
    color: white !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

.form-group,
#contactForm .form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.form-group label,
.contact-form label,
#contactForm label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.form-group input,
.form-group select,
.form-group textarea,
.contact-form input,
.contact-form select,
.contact-form textarea,
#contactForm input,
#contactForm select,
#contactForm textarea {
    width: 100% !important;
    padding: 15px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    outline: none !important;
    border-color: #60a5fa !important;
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2) !important;
}

.submit-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

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

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

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

.social-link:hover {
    background: #8b5cf6;
    transform: translateY(-5px) scale(1.1);
}

.social-link i {
    font-size: 20px;
}

.footer-text p {
    margin-bottom: 10px;
    opacity: 0.8;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .scroll-indicator {
        right: 20px;
        bottom: 15px;
        font-size: 12px;
    }
    
    .scroll-indicator i {
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-description {
        font-size: 14px;
    }
    
    .testimonial-text p {
        font-size: 16px;
    }
    
    .testimonial-author h4 {
        font-size: 18px;
    }
    
    .hero-controls {
        padding: 0 20px;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        right: 15px;
        bottom: 10px;
        font-size: 11px;
    }
    
    .scroll-indicator i {
        font-size: 14px;
        margin-top: 3px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-description {
        font-size: 13px;
    }
    
    .testimonial-text p {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
}

@media (min-width: 1200px) {
    .slide-title {
        font-size: 48px;
    }
    
    .slide-description {
        font-size: 18px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3b82f6, #7c3aed);
} 

/* Skills Section */
.skills-section {
    margin-top: 40px; /* Reduced margin */
    padding: 40px 0; /* Reduced padding */
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.skills-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 30px; /* Reduced margin */
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; /* Reduced gap */
    max-width: 1000px;
    margin: 0 auto;
}

.skill-item {
    padding: 20px; /* Reduced padding */
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #60a5fa;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.skill-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
}

.skill-percentage {
    font-size: 16px;
    font-weight: 700;
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #60a5fa, #8b5cf6);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design for Skills */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-item {
        padding: 20px;
    }
    
    .skills-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .skill-header h4 {
        font-size: 16px;
    }
    
    .skill-percentage {
        font-size: 14px;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .skills-section {
        margin-top: 30px; /* Reduced margin */
        padding: 30px 20px; /* Reduced padding */
    }
    
    .skills-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .skill-item {
        padding: 15px;
    }
    
    .skill-header h4 {
        font-size: 15px;
    }
    
    .skill-percentage {
        font-size: 13px;
        padding: 3px 8px;
    }
    
    .skill-bar {
        height: 6px;
    }
} 

/* Projects Section */
.projects {
    padding: 60px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px; /* Reduced gap */
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #f8fafc;
    padding: 30px 25px; /* Reduced padding */
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #60a5fa;
}

.project-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
}

.project-icon i {
    font-size: 28px;
    color: white;
}

.project-title {
    font-size: 22px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.project-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(96, 165, 250, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: #60a5fa;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .project-card {
        padding: 30px 25px;
    }
    
    .project-title {
        font-size: 20px;
    }
    
    .project-description {
        font-size: 14px;
    }
    
    .project-icon {
        width: 60px;
        height: 60px;
    }
    
    .project-icon i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .projects {
        padding: 80px 0;
    }
    
    .project-card {
        padding: 25px 20px;
    }
    
    .project-title {
        font-size: 18px;
    }
    
    .project-description {
        font-size: 13px;
    }
    
    .tech-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
} 

/* Careers Section */
.careers {
    padding: 60px 0;
    background: #f8fafc;
}

.careers-content {
    max-width: 1000px;
    margin: 0 auto;
}

.careers-intro {
    margin-bottom: 30px; /* Reduced margin */
}

.careers-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 30px;
}

.resume-email {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.resume-email h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #60a5fa;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: #1e3a8a;
    transform: translateX(5px);
}

.job-posting {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.job-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-align: center;
}

.job-details {
    margin-bottom: 40px;
}

.job-section {
    margin-bottom: 25px;
}

.job-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.job-section p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 10px;
}

.job-section ul {
    list-style: none;
    padding-left: 0;
}

.job-section li {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.job-section li::before {
    content: '•';
    color: #60a5fa;
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.job-info-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.job-info-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.job-info-item p {
    color: #64748b;
    font-weight: 500;
}

.apply-btn {
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.3);
}



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

/* Ensure input fields are visible in modal */
.modal input,
.modal select,
.modal textarea {
    background-color: white !important;
    border: 2px solid #e2e8f0 !important;
    color: #374151 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    position: relative;
    z-index: 10000;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f1f5f9;
    color: #1e3a8a;
}

/* Application Form Styles */
.application-form {
    padding: 30px;
    position: relative;
    z-index: 10001;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 10002;
}

.form-group label,
#applicationForm label,
.application-form label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10003 !important;
}

.form-group input,
.form-group select,
.form-group textarea,
#applicationForm input,
#applicationForm select,
#applicationForm textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    background-color: white !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #374151 !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444 !important;
    font-size: 14px !important;
    margin-top: 5px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10003 !important;
}

/* File Upload Styles */
.file-upload {
    position: relative !important;
    border: 2px dashed #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 30px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    background-color: #f8fafc !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10002 !important;
    min-height: 120px !important;
}

.file-upload:hover {
    border-color: #60a5fa;
    background: #f0f9ff;
}

.file-upload input[type="file"] {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important; /* Keep opacity 0 for the file input but make the container visible */
    cursor: pointer !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10004 !important;
    display: block !important;
}

.file-upload-label {
    pointer-events: none;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10003 !important;
}

.file-upload-label i {
    font-size: 32px;
    color: #60a5fa;
    margin-bottom: 10px;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.file-upload-label span {
    display: block !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 5px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.file-upload-label small {
    color: #64748b !important;
    font-size: 14px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Form Actions */
.form-actions {
    display: flex !important;
    gap: 15px !important;
    justify-content: flex-end !important;
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e2e8f0 !important;
    position: relative !important;
    z-index: 10002 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cancel-btn {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10003 !important;
}

.cancel-btn:hover {
    background: #e2e8f0 !important;
    color: #374151 !important;
}

.submit-application-btn {
    background: linear-gradient(135deg, #60a5fa, #8b5cf6) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10003 !important;
}

.submit-application-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.3);
}

/* Responsive Design for Careers */
@media (max-width: 768px) {
    .careers {
        padding: 80px 0;
    }
    
    .job-posting {
        padding: 30px 25px;
    }
    
    .job-title {
        font-size: 20px;
    }
    
    .job-info-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    #applicationForm .form-group label,
    .application-form .form-group label {
        display: block !important;
        color: #374151 !important;
        font-weight: 500 !important;
        margin-bottom: 8px !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 16px !important;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .cancel-btn,
    .submit-application-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .careers-intro p {
        font-size: 16px;
    }
    
    .job-posting {
        padding: 25px 20px;
    }
    
    .modal-header {
        padding: 25px 25px 15px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .application-form {
        padding: 25px;
    }
}