/* Custom Styles */
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Logo container styles */
.logo-container {
    display: flex;
    align-items: center;
    padding: 0.5rem 2rem 0.5rem 1rem;
    height: 100%;
    position: relative;
    z-index: 10;
    width: 180px;
}

.logo-container img {
    height: 100%;
    width: 200px;
    max-height: 4.5rem;
    object-fit: contain;
    position: relative;
    margin-left: -1rem;
}

/* Contact info styles */
.contact-info {
    position: absolute;
    left: calc(8% + 100px);
    top: 80%;
    transform: translateY(-50%);
    z-index: 10;
    white-space: nowrap;
    font-size: clamp(0.75rem, 1vw, 1rem);
}

.contact-info a,
.contact-info span {
    transition: font-size 0.3s ease;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .logo-container {
        width: auto;
        padding: 0.5rem 1rem;
    }

    .logo-container img {
        width: auto;
        height: auto;
        max-height: 3.5rem;
    }

    .nav-light-blue {
        left: calc(8% + (5px * 0.95));
        width: 80px;
    }

    .nav-dark-blue {
        clip-path: polygon(calc(8% + 90px) 0, 100% 0, 100% 100%, calc(8% + 30px) 100%);
    }

    /* Services and Projects grid */
    .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 1.5rem;
        padding: 1rem;
    }

    /* Adjust section padding */
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Adjust headings */
    h2 {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }

    /* Adjust card padding */
    .p-6 {
        padding: 1.25rem;
    }

    /* Footer adjustments */
    footer .grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    footer img {
        margin: 0 auto;
    }
}

/* Tablet Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* General responsive adjustments */
.container {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Form responsiveness */
@media screen and (max-width: 640px) {
    .form-container {
        padding: 1rem;
    }

    input, textarea, button {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Smooth transitions for mobile menu */
#mobileMenu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: visible;
}

#mobileMenu.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Prevent scrolling when mobile menu is open */
body.overflow-hidden {
    overflow: hidden;
}

/* Hero section responsive adjustments */
@media screen and (max-width: 768px) {
    #home {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }
}

/* Ensure buttons are easy to tap on mobile */
button, 
a {
    min-height: 44px;
    min-width: 44px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Animations */
.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Custom Gradients */
.gradient-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

/* Custom Shadows */
.shadow-custom {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Form Styles */
input, textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Card Hover Effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Navigation Animation */
.nav-link {
    position: relative;
}

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

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

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* Mobile menu button */
#mobileMenuBtn {
    position: relative;
    z-index: 60;
}

#mobileMenuBtn svg {
    transition: transform 0.3s ease;
}

#mobileMenuBtn .menu-close {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Ensure mobile menu is above other content */
#mobileMenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobileMenu:not(.hidden) {
    visibility: visible;
    opacity: 1;
} 





/* custom code css start here */

.navbar {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #002D3F;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar .nav-content {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

.nav-left {
    width: fit-content;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
}

.nav-logo {
    position: relative;
    width: 250px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 90px;
}

.nav-logo .light-blue {
    position: absolute;
  width: 100%;
  background: #568CBE;
  z-index: 1;
    height: 90px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

.nav-logo .white-bg {
    position: absolute;
  width: 79%;
    background: white;
  z-index: 2;
    height: 90px;
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
}

.nav-logo a {
    z-index: 3;
}

.main-logo {
    width: 110px;
    margin-left: 30px;
}

.nav-right {
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 35px;
}

.nav-right .unorder-list {
    list-style-type: none;
}

.nav-right .unorder-list li {
    display: inline-block;
    margin-left: 35px;
}

.nav-right .unorder-list li:first-child {
    margin-left: 0;
}

.nav-right .unorder-list li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-right .unorder-list li a:hover {
    color: #b0d9ff;
}

.nav-left .nav-social-links {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 20px;
}

.nav-left .nav-social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: fit-content;
    min-height: fit-content;
    color: #ffffff;
    gap: 5px;
    font-size: 15px;
}

.nav-left .nav-social-links a i {
    font-size: 15px;
}

@media(max-width:1150px) {
 .nav-logo {
    width: 200px;
    height: 80px;
}

.nav-logo .light-blue {
    height: 80px;
    clip-path: polygon(0 0, 100% 0, 77% 100%, 0% 100%);
}

.nav-logo .white-bg {
  width: 85%;
    height: 80px;
    clip-path: polygon(0 0, 100% 0, 72% 100%, 0% 100%);
}

.main-logo {
    width: 90px;
    margin-left: 30px;
}
.nav-right .unorder-list li {
    margin-left: 28px;
}
.nav-right .unorder-list li a {
    font-size: 16px;
}
.nav-left .nav-social-links {
   gap: 15px;
}

.nav-left .nav-social-links a {
    gap: 3px;
    font-size: 14px;
}

.nav-left .nav-social-links a i {
    font-size: 14px;
}
}

.nav-right .nav-social-links {
    display: none;
}

.toggle-btn {
    display: none;
    width: fit-content;
    position: relative;
    cursor: pointer;
    color: #ffffff;
    font-size: 28px;
}

@media(max-width:950px) {
    .nav-left .nav-social-links {
    display: none;
}
.toggle-btn {
    display: block;
}
.nav-right .unorder-list {
    display: none;
    position: absolute;
    width: 100%;
    height: fit-content;
    right: 0;
    top: 78px;
    background: #002D3F;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 18px;
    z-index: 1010;
    padding: 20px 5% 0 5%;
}
.nav-right .unorder-list.activelist {
    display: flex;
}
.nav-right .unorder-list li {
    margin-left: 0px;
}
.nav-right .unorder-list li a {
    font-size: 18px;
}
.nav-social-links .s-link {
    font-size: 15px;
    gap: 10px;
}
.nav-right .nav-social-links.slactive {
    width: 100%;
    position: absolute;
    left: 0;
    top: 245px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    background: #002D3F;
    padding: 40px 5% 20px 5%;
    color: #ffffff;
}
}


@media(max-width:550px) {
 .nav-logo {
    width: 160px;
    height: 60px;
}

.nav-logo .light-blue {
    height: 60px;
    clip-path: polygon(0 0, 100% 0, 77% 100%, 0% 100%);
}

.nav-logo .white-bg {
  width: 84%;
    height: 60px;
    clip-path: polygon(0 0, 100% 0, 72.5% 100%, 0% 100%);
}

.main-logo {
    width: 70px;
    margin-left: 25px;
}
.nav-right .unorder-list {
    top: 58px;
}
.nav-right .nav-social-links.slactive {
    top: 225px;
}
}