.nav-links a.dark-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #1a6bb3;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a.dark-text:hover::after {
    width: 100%;
}/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(226, 226, 226);
    cursor: url('projects.cur'), default;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    cursor: url('projects.cur'), default;
}

/* Enhanced Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, rgb(13,36,63), #ff5912);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), #ff5912);
}

/* Enhanced Navbar */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: transparent !important;
    transition: all 0.4s ease !important;
    z-index: 999 !important;
    padding: 0 20px !important;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.301) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

.navbar::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255,255,255,0.05) 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled::before {
    opacity: 1;
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    font-weight: 700;
    text-decoration: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #ff5912, #ff7c4a);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #ff5912;
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.dark-text {
    color: #000000 !important;
}

.nav-links a.dark-text:hover {
    color: #162630 !important;
}

/* Enhanced Hero Section */
.homepage {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    backdrop-filter: blur(3px);
    position: relative;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(255,89,18,0.2) 100%);
    z-index: 1;
}

.hero-h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-size: clamp(36px, 8vw, 80px);
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    letter-spacing: 3px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -30%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

/* Enhanced Main Content */
main {
    min-height: auto;
    margin: 0;
    padding: 60px 20px 150px;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 0px; /* Remove any top margin that might interfere */
}

#projectsgrid, #projectsgridrow2 {
    text-decoration: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Enhanced Project Containers */
.container1 {
    position: relative;
    width: 100%;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    background: white;
    height: 350px;
}

.container1:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.container1 a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

#pictures {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.container1:hover #pictures {
    transform: scale(1.1);
}

.content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffffbe 25%, rgba(235, 235, 235, 0) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(3px);
    color: #333;
    padding: 20px;
    border-radius: 0;
    border: none;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.container1:hover .content {
    transform: translateY(0);
}

.content h2 {
    font-weight: 700;
    font-size: clamp(18px, 3vw, 24px);
    margin: 0 0 5px 0;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

.content p {
    font-weight: 500;
    margin: 0;
    color: #666;
    font-size: 16px;
}

.container12 {
    visibility: hidden;
}















/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #23252d 0%, #1a1c23 100%);
    color: #EEF1F2;
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    margin-top: auto;
}

.footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    color: #ff5912;
    position: relative;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #ff5912, #ff7c4a);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 12px;
}

.footer-link,
.footercontact a {
    color: #EEF1F2;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-block;
    position: relative;
}

.footer-link:hover,
.footercontact a:hover {
    color: #ff5912;
    padding-left: 15px;
}

.wpnumber {
    color: #16f058 !important;
}

.wpnumber:hover {
    color: #20ff6b !important;
}

.footerlogo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footerlogo img {
    width: 100%;
    max-width: 160px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.footerlogo img:hover {
    transform: scale(1.05);
}

.footercopyright {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footercopyright p {
    margin: 0;
    padding: 25px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* Responsive Media Queries */

/* Large Desktop */
@media (min-width: 1400px) {
    main {
        max-width: 1600px;
    }
    
    #projectsgrid, #projectsgridrow2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .nav-links {
        gap: 40px;
    }
    
    .nav-links a {
        font-size: 16px;
    }
    
    main {
        padding: 40px 20px 120px;
    }
    
    #projectsgrid, #projectsgridrow2 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .footer {
        padding: 60px 30px;
        gap: 30px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .nav-container {
        padding: 20px 0;
    }
    
    .nav-links {
        gap: 30px;
    }
    
    .nav-links a {
        font-size: 15px;
    }
    
    .hero-h1 {
        font-size: clamp(28px, 6vw, 50px);
        letter-spacing: 2px;
    }
    
    main {
        padding: 30px 15px 100px;
    }
    
    #projectsgrid, #projectsgridrow2 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .container1 {
        height: 300px;
    }
    
    .footer {
        grid-template-columns: repeat(2, 1fr);
        padding: 50px 25px;
    }
}

/* Small Tablet */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 15px 0;
    }
    
    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .hero {
        height: 70vh;
    }
    
    .homepage {
        height: 70vh;
    }
    
    .hero-h1 {
        font-size: clamp(24px, 5vw, 36px);
        letter-spacing: 1px;
        padding: 0 20px;
    }
    
    main {
        padding: 25px 15px 80px;
    }
    
    #projectsgrid, #projectsgridrow2 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .container1 {
        height: 280px;
    }
    
    .content {
        padding: 15px;
    }
    
    .content h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .content p {
        font-size: 13px;
    }
    
    .footer {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        text-align: center;
    }
    
    .footer h3 {
        font-size: 18px;
    }
    
    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2.5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar.scrolled .hamburger span {
    background-color: #333;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile */
@media (max-width: 576px) {
    .navbar {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 12px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(35, 37, 45, 0.98) 0%, rgba(26, 28, 35, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 14px !important;
        padding: 15px 0;
        text-align: center;
        color: white !important;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
    .nav-links a:hover {
        color: #ff5912 !important;
        transform: translateX(-10px);
    }
    
    .hero {
        height: 60vh;
    }
    
    .homepage {
        height: 60vh;
    }
    
    .hero-h1 {
        letter-spacing: 0.5px;
        padding: 0 15px;
        line-height: 1.3;
        font-size: clamp(40px, 4vw, 28px) !important;
    }
    
    main {
        padding: 20px 10px 60px;
    }
    
    #projectsgrid, #projectsgridrow2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .container1 {
        height: 250px;
        border-radius: 10px;
    }
    
    .content {
        padding: 12px;
        transform: none;
        background: linear-gradient(135deg, #ffffffce 40%, rgba(255, 255, 255, 0) 75%);
        backdrop-filter: blur(3px);
        border-radius: 0 0 10px 10px;
    }
    
    .container1:hover .content {
        transform: none;
    }
    
    .content h2 {
        font-size: 18px !important;
        margin-bottom: 5px;
    }
    
    .content p {
        font-size: 12px;
    }
    
        .buttons a {
        font-size: 13px;
    }
    
    .numbers a {
        font-size: 13px;
    }
    
    .footer {
        padding: 25px 10px;
    }
    
    .footercopyright p {
        font-size: 14px;
    }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
    .nav-links a {
        font-size: 12px;
    }
    
    .hero-h1 {
        font-size: clamp(18px, 3.5vw, 24px);
    }
    
    .container1 {
        height: 220px;
    }
    
    .content h2 {
        font-size: 14px;
    }
    
    .content p {
        font-size: 11px;
    }
    
    .footer {
        padding: 25px 10px;
    }
    
    .footercopyright p {
        font-size: 11px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer {
        display: none;
    }
    
    .hero {
        height: auto;
        page-break-inside: avoid;
    }
    
    .container1 {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}