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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    z-index: 900;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 900;
}

header.scrolled nav ul li a {
    color: #000;
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    font-weight: 400;
    transition: color 0.3s ease;
    color: white;
}

nav ul li a.nav-contact-btn {
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a.nav-contact-btn:hover {
    background-color: white;
    color: #333;
}

header.scrolled nav ul li a.nav-contact-btn {
    border-color: #000;
}

header.scrolled nav ul li a.nav-contact-btn:hover {
    background-color: #000;
    color: white;
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none !important; /* Force hide by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important; /* Show only on mobile */
    }
    
    nav {
        display: none; /* Hide regular nav on mobile */
    }
}

/* Update the mobile menu toggle states */
header.scrolled .mobile-menu-toggle span {
    background-color: #000;
}

.mobile-menu-toggle.active span {
    background-color: #fff !important;
}

/* Make sure the toggle is visible on mobile */
.hero .mobile-menu-toggle span {
    background-color: #fff;
}

/* Keep white color when menu is active */
.mobile-menu-toggle.active span {
    background-color: #fff !important;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #333 !important;
    z-index: 1000;
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0 !important;
    display: block !important;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    font-size: 18px;
    color: white !important;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #444;
}

/* Make sure mobile menu links stay white when scrolled */
header.scrolled .mobile-menu.active a {
    color: white !important;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open header {
    background-color: transparent;
    box-shadow: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #333;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    max-width: 800px;
    padding: 0 5%;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 77px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'DM Sans';
}

.hero-content h2 {
    font-size: 61px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'DM Sans';
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn i {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn:hover i {
    transform: translateX(5px);
}

.primary-btn {
    background-color: white;
    color: #333;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background-color: #f8f8f8;
}

.secondary-btn {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.outline-btn {
    border: 1px solid #333;
    color: #333;
    background: transparent;
    overflow: hidden;
    z-index: 1;
}

.outline-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #333;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.outline-btn:hover {
    color: white;
    transform: translateY(-3px);
}

.outline-btn:hover::before {
    width: 100%;
}

/* Navigation buttons */
nav ul li a {
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Contact button in nav */
nav ul li a.nav-contact-btn {
    padding: 8px 20px;
    border: 2px solid currentColor;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav ul li a.nav-contact-btn:hover {
    background-color: white;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Form submit button */
.contact-form button[type="button"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #333;
    background: transparent;
    color: #333;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.contact-form button[type="button"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #333;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-form button[type="button"]:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-form button[type="button"]:hover::before {
    width: 100%;
}

.contact-form button[type="button"]:hover i {
    transform: translateX(5px);
}

/* Slider arrows */
.slider-arrow {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.slider-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background-color: #333;
    color: white;
}

/* Mobile menu button */
.mobile-menu-toggle {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

/* Social media icons */
.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #333;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-icons a:hover {
    background: #333;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Solutions Section */
.solutions {
    display: flex;
    padding: 100px 5%;
    background-color: white;
    max-width: 1515px;
    margin: 0 auto;
}

.solutions-content {
    flex: 1;
    padding-right: 50px;
}

.solutions-content h2 {
    font-size: 70px;
    margin-bottom: 20px;
    font-weight: 400;
}

.solutions-content p {
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.7;
    font-size: 17px;
}

.solutions-services {
    flex: 1;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.service-number {
    font-weight: 300;
    color: #999 !important;
    width: 50px;
    font-size: 40px;
    margin-right: 20px;
}

.service-title {
  flex: 1;
  font-size: 40px;
  font-weight: 300;
  color: #333 !important;
}

.service-expand {
    width: 30px;
    text-align: center;
}

/* Service Details Styling */
.service-details {
 
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-bottom: 10px;
}

.service-details p {
    color: #333 !important; /* Force text color */
    opacity: 1 !important;
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.service-item.active + .service-details {
    max-height: 500px; /* Increase this value if your content is getting cut off */
    border-bottom: 1px solid #eee;
}

/* Make sure expand icon changes properly */
.service-expand i {
    transition: transform 0.3s ease;
}

.service-item.active .service-expand i {
    transform: rotate(45deg);
}

/* Make sure text is visible on all backgrounds */
@media (max-width: 768px) {
    .service-details p {
        color: #333 !important;
        opacity: 1 !important;
    }
}

/* Projects Section */
.projects {
    padding: 100px 5%;
    max-width: 1508px;
    margin: 0 auto;
    padding-top: 20px;

}

.projects h2 {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: left;
}

.projects  p {
    text-align: left;
    max-width: 700px;
    line-height: 1.7;
    font-size: 17px;
    padding-top: 7px;
    padding-bottom: 9px;
    
}

.projects-container {
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.projects-slider {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 0;
    margin: -20px 0;
    overflow: visible;
}

/* Project slider arrow improvements - completely minimal */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    background: transparent;
    border: none; /* Remove any border */
    outline: none; /* Remove outline */
    box-shadow: none;
}

.slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: -35px;
}

.slider-arrow.next {
    right: -35px;
}

.slider-arrow i {
    color: #333;
    font-size: 24px;
}

/* For larger desktop screens, move arrows even further out */
@media (min-width: 1200px) {
    .slider-arrow.prev {
        left: -50px;
    }
    
    .slider-arrow.next {
        right: -50px;
    }
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }
}

.project-card {
    position: relative;
    min-width: 380px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-year {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover .project-year {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.project-info {
    padding: 25px;
    background: white;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-info h3 {
    font-size: 21px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    font-weight: 400;
}

.project-card:hover .project-info h3 {
    color: #000;
}

.project-info p {
    color: #000;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #333;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.read-more:hover {
    color: #000;
    transform: translateX(5px);
}

.read-more:hover::after {
    width: 100%;
}

.read-more i {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }
.fade-in:nth-child(4) { animation-delay: 0.8s; }

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards;
    animation-delay: 1s;
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .solutions {
        flex-direction: column;
        padding: 93px 5%;
    }
    
    .solutions-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .projects-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }
    
    .project-card {
        scroll-snap-align: start;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    
    header nav {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .solutions-content h2,
    .projects h2 {
        font-size: 2rem;
    }
    
    /* Rest of mobile styles */
}

/* About Section */
.about {
    padding: 62px 5%;
    background-color: white;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 196px;
    max-width: 1295px;
    margin: 0 auto;
}


.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: 400;
}

.about-content p {
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 17px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 366px;
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    max-width: 1512px;
    margin: 0 auto;
}


.contact-container {
    display: flex;
    gap: 50px;
    max-width: 1309px; 
    margin: 0 auto;
}

.contact-content {
    flex: 1;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: 400;
}

.contact-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 17px;
    max-width: 500px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group #captcha_answer {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group #captcha_answer:focus {
    outline: none;
    border-color: #000;
}

#captchaQuestion {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* Footer */
footer {
    background-color: #f7f7f7;
    color: white;
    padding: 60px 5% 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    color: #000;
    font-weight: 400;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #000;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #444;
}

.footer-column ul li a {
    transition: color 0.3s ease;
    color: #444;
}

.footer-column ul li a:hover {
    color: #000;
}

.footer-column ul li i {
    margin-right: 10px;
    color: #000;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #000;
}

/* Developer credit styling */
.footer-bottom p:last-of-type {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom p:last-of-type span {
    color: #666;
}

.footer-bottom .footer-link {
    color: #333;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-bottom .footer-link:hover {
    color: #000;
}

.footer-bottom .footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

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

/* Responsive adjustments for developer credit */
@media (max-width: 768px) {
    .footer-bottom p:last-of-type {
        font-size: 13px;
        justify-content: center;
    }
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #444;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-container,
    .contact-container {
        flex-direction: column;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-content h2,
    .contact-content h2 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .service-title { 
        font-size: 1.5rem;
}

.service-details p{
    color: #000;
}

.about-container {
    gap: 110px;
}

/* Make sure the mobile menu toggle is visible */
.mobile-menu-toggle span {
    background-color: #333;
}

header.scrolled .mobile-menu-toggle span {
    background-color: #000;
}

.hero .mobile-menu-toggle span {
    background-color: #fff;
}

.mobile-menu-toggle.active span {
    background-color: white !important;
}
}

@media (max-width: 768px) {
    /* Hero content mobile adjustments */
    .hero-content h1 {
        font-size: 42px;
        margin-bottom: 5px;
    }

    .hero-content h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-top: 20px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
        min-width: 101px;
        white-space: nowrap;
    }
    
    .btn.primary-btn,
    .btn.secondary-btn {
        width: auto;
    }
    
    /* Remove the rule that hides icons */
    .btn i {
        display: inline-block;
        font-size: 0.8em;
    }

    .contact{
        padding-top: 10px
    }

    .about{
        padding-top: 10px;
    }

    .projects{
        padding-top: 10px;
    }
}

/* Additional breakpoint for even smaller screens */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 59px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

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

    .hero{
        height: 800px;
    }
}

/* Notification Styling */
.form-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
    width: calc(100% - 40px);
}

.form-notification.show {
    transform: translateX(0);
}

.form-notification.success {
    border-left: 4px solid #4CAF50;
}

.form-notification.error {
    border-left: 4px solid #f44336;
}

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

.notification-content i {
    font-size: 20px;
}

.notification-content i.fa-check-circle {
    color: #4CAF50;
}

.notification-content i.fa-exclamation-circle {
    color: #f44336;
}

.notification-content span {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

/* Add this to your existing CSS */
.projects-section {
    --scroll-width: 30%; /* Default width */
}

.projects-section.scrolling::before {
    width: var(--scroll-width);
    transition: width 0.1s ease-out;
}

/* Sliding underline animation for footer links */
.footer-column ul li a,
.footer-column .contact-info li {
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
    padding-bottom: 2px;
}

.footer-column ul li a::after,
.footer-column .contact-info li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

.footer-column ul li a:hover::after,
.footer-column .contact-info li:hover::after {
    width: 100%;
}

/* Make phone number and other contact info behave like links */
.footer-column .contact-info li {
    cursor: pointer;
}

/* For phone links specifically */
a.phone-link {
    position: relative;
    color: inherit;
    text-decoration: none;
    padding-bottom: 2px;
}

a.phone-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

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

/* For the main navigation links too */
nav ul li a {
    position: relative;
    padding-bottom: 2px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Contact link styling with sliding underline */
.contact-link {
    position: relative;
    color: inherit;
    text-decoration: none;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: #000;
}

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

/* Ensure the toggle is visible on the dark menu background */
body.menu-open .mobile-menu-toggle span {
    background-color: #000 !important;
}

/* Clean, minimal close button styling */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: transparent; /* Remove background */
    color: white;
    font-size: 36px; /* Larger X */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
    font-weight: 300; /* Thinner X for elegance */
    opacity: 0.8; /* Slightly transparent */
}

.mobile-menu-close:hover {
    opacity: 1; /* Full opacity on hover */
    transform: scale(1.1); /* Subtle scale effect */
    color: #000; /* Ensure full white on hover */
}

/* Add a subtle animation when the menu opens */
.mobile-menu.active .mobile-menu-close {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 0.8;
        transform: scale(1);
    }
}

/* Also add the contact button styling for mobile menu */
.mobile-menu a.nav-contact-btn {
    border: 2px solid white;
    border-radius: 4px;
    text-align: center;
    margin-top: 10px;
}

.mobile-menu a.nav-contact-btn:hover {
    background-color: white;
    color: #333 !important;
}

/* Modern Popup Styles */
.project-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 1000;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
}

.project-popup-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.project-popup {
    position: relative;
    background: white;
    width: 90%;
    max-width: 1000px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-popup-overlay.active .project-popup {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.project-popup-overlay.closing {
    opacity: 0;
    backdrop-filter: blur(0px);
}

.project-popup-overlay.closing .project-popup {
    transform: scale(0.9) translateY(10px);
    opacity: 0;
}

.project-popup-content {
    display: flex;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.project-popup-overlay.active .project-popup-content {
    opacity: 1;
    transform: translateY(0);
}

.project-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    padding: 5px;
    line-height: 1;
    transform: rotate(0deg);
    transition: all 0.3s ease;
    z-index: 1002; /* Ensure it's above other popup content */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.project-popup-close:hover {
    transform: rotate(90deg);
    color: #000;
}

@media (max-width: 768px) {
    .project-popup-content {
        flex-direction: column;
    }
    
    .project-popup {
        padding: 20px;
        width: 95%;
        margin: 10px;
        position: relative;
    }

    .project-popup-close {
        position: fixed; /* Change to fixed on mobile */
        top: 20px;
        right: 20px;
        font-size: 35px;
        color: #fff; /* Make it white for better visibility */
        background: rgba(0, 0, 0, 0.3); /* Add a semi-transparent background */
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Rest of the popup styles remain the same */
.project-popup-image {
    flex: 1;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.4s ease 0.3s;
}

.project-popup-overlay.active .project-popup-image {
    transform: translateX(0);
    opacity: 1;
}

.project-popup-info {
    flex: 1;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.4s ease 0.4s;
}

.project-popup-overlay.active .project-popup-info {
    transform: translateX(0);
    opacity: 1;
}

.project-popup-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-popup-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 400;
}

.project-popup-year {
    color: #666;
    margin-bottom: 20px;
}

.project-popup-details {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.project-popup-details h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 400;
}

.project-duration {
    font-weight: 400;
}

.project-popup-details ul {
    list-style: none;
    padding: 0;
    font-weight: 400;
}

.project-popup-details li {
    margin-bottom: 10px;
    font-weight: 400;
}

.project-popup-details strong {
    font-weight: 500;
}

@media (max-width: 768px) {
    .project-popup-content {
        flex-direction: column;
    }
    
    .project-popup {
        padding: 20px;
    }
}

/* Navigation link styles */
.nav-link {
    position: relative;
    padding-bottom: 2px;
    color: white;
    transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.nav-link.active {
    font-weight: 500;
}

/* Header scrolled state */
header.scrolled .nav-link {
    color: #333;
}

header.scrolled .nav-link.active {
    color: #000;
}

/* Ensure smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-left: 10px;
}

.lang-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn.active {
    font-weight: 600;
    color: white;
}

header.scrolled .lang-btn {
    color: #333;
}

header.scrolled .lang-btn.active {
    color: #000;
}

@media (max-width: 768px) {
    nav .language-switcher {
        display: none;
    }
    
    .mobile-menu .language-switcher {
        margin: 20px 0;
        justify-content: center;
    }
    
    .mobile-menu .lang-btn {
        color: white;
        padding: 8px 15px;
        font-size: 16px;
    }
    
    .mobile-menu .lang-btn.active {
        color: white;
        font-weight: 600;
    }
}