
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --header-height:72px;
    --topbar-height:40px;
}


body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing:antialiased;
    background:#f6f8fb;
    padding-top: calc(var(--topbar-height) + var(--header-height));
}


/* Top bar with contact info and social icons */
.top-bar {
    background: #0a2463;
    padding: 0.3cm;
    height: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.top-bar-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.contacts-info {
    display: flex;
    gap: 25px;
    background: none;
    list-style: none;

}

.contacts-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
}

.contacts-info i {
    color: #fff;
    font-size: 0.7rem;
}

.social-icon {
    display: flex;
    gap: 12px;
    align-items: center;
    height: 100%;
    text-align: right;
}

.social-icon a {
    color: #fff;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease;
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.social-icons a:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* Main header */
header {
    position: fixed;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    top: 0;
    z-index: 1001;
    padding: 15px 0;
    -webkit-backdrop-filter: blur(10px);
     backdrop-filter:blur(10px);

    transition: all 0.3s ease;
}



.header-content {
    max-width: 1200px;
    top: 20px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    position: relative;
    letter-spacing: 0.6px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

header .logo {
    top: 20px;
    display: flex;
    align-items: center;
    color: #333;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}


/* Logo image styles */
.logo-image {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    box-shadow: #333;
}

.logo-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}




nav{
    top: 20px;
    display:flex;
    align-items:center;
    gap:12px
}
nav ul{
    display:flex;
    gap:8px;
    list-style:none;
    margin:0;
    padding:0;
    align-items:center
}

    /* Mobile navigation */
   /* Menu Toggle Button Styles */
.menu-toggle {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: none; /* Hidden by default, shown on mobile */
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
    width: 44px;
    height: 44px;
    margin-left: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: rgba(0, 0, 0, 0.05);
    outline: none;
}

.menu-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 20px;
}



/* Show menu toggle on mobile */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
}

/* Mobile menu styles */
.mobile-menu {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    background: white;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

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

.mobile-menu li {
    width: 100%;
    margin: 0;
    list-style: none;
}

.mobile-menu > li {
    margin: 8px 0;
}

.mobile-menu a {
    display: block;
    padding: 12px 24px;
    color: #1a1a53;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
    background: rgba(0, 0, 0, 0.03);
    color: #0a2463;
}

.mobile-menu .dropdown-menu {
    display: none;
    padding: 0 0 0 20px;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: none;
}

.mobile-menu .dropdown.active > .dropdown-menu {
    display: block;
}

.mobile-menu .dropdown-menu a {
    padding: 10px 20px 10px 30px;
    font-size: 0.9rem;
    color: #4a5568;
    position: relative;
}

.mobile-menu .dropdown-menu a::before {
    content: '•';
    position: absolute;
    left: 12px;
    color: #0b66ff;
    font-size: 1.2rem;
    line-height: 1;
}

.mobile-menu .dropdown-toggle {
    position: relative;
    padding-right: 40px;
}



.mobile-menu .dropdown.active > .dropdown-toggle::after {
    transform: translateY(-50%) rotate(-180deg);
}



nav li{
    margin:0;
    position:relative;
}
nav a{
    display:inline-block;
    padding:10px 16px;
    color:#1a1a53;
    font-size: 0.95rem;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
    transition:all 0.3s ease;
    position:relative;
}


nav a:hover::after{
    transform:translateX(-50%) scaleX(1);
}

nav .dropdown{
    position:relative
}

nav .dropdown-menu{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    background:rgba(255,255,255,0.98);
    -webkit-backdrop-filter: blur(10px);
        backdrop-filter:blur(10px);
    padding:8px;
    border-radius:12px;
    box-shadow:0 8px 30px rgba(0,0,0,0.12);
    border:2px solid rgba(0,0,0,0.06);
    min-width:180px;
    opacity:0;
    transform:translateY(-10px);
    transition:all 0.5s ease;
}
nav .dropdown:hover .dropdown-menu{
    display:block;
    opacity:1;
    transform:translateY(0);
}
nav .dropdown-menu li{
    white-space:nowrap;
    padding:0;
    margin:4px 0;
}
nav .dropdown-menu a{
    color:#2c3e50;
    padding:10px 16px;
    display:block;
    border-radius:8px;
}
nav .dropdown-menu a::after{
    display:none;
}
nav .dropdown-menu a:hover{
    background:rgba(11,102,255,0.1);
    color:#0b66ff;
    transform:translateX(4px);
}

.btn-inquire{
    margin-left:16px;
    background: #0a2463; /* Dark blue background */
    color:#fff;
    border:none;
    padding:10px 24px;
    border-radius:20px;
    font-weight:700;
    cursor:pointer;
    font-size:0.7rem;
    box-shadow:0 4px 15px rgba(11,102,255,0.3);
    transition:all 0.3s ease;
}
.btn-inquire:hover{
    background:linear-gradient(135deg, #0952cc, #073d99);
    transform:translateY(-2px);
    box-shadow:0 6px 20px rgba(11,102,255,0.4);
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    margin-left: 16px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1a1a53;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile navigation */
nav ul.mobile-menu {
    position: fixed;
    top: calc(var(--topbar-height) + var(--header-height));
    left: -100%;
    width: 280px;
    height: calc(100vh - var(--topbar-height) - var(--header-height));
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

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

nav ul.mobile-menu li {
    width: 100%;
    margin: 8px 0;
}

nav ul.mobile-menu a {
    padding: 12px 16px;
    width: 100%;
    display: block;
    border-radius: 8px;
}

nav ul.mobile-menu .dropdown-menu {
    position: static;
    display: block;
    opacity: 1;
    transform: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    border: none;
    padding: 8px 16px;
    margin-top: 8px;
    width: calc(100% - 32px);
}

nav ul.mobile-menu .dropdown-menu li {
    margin: 4px 0;
}

nav ul.mobile-menu .dropdown-menu a {
    padding: 12px 16px 12px 30px;
    font-size: 0.95rem;
    color: #4a5568;
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

nav ul.mobile-menu .dropdown-menu a::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: #0b66ff;
    font-size: 1.2rem;
    line-height: 1;
}

nav ul.mobile-menu .dropdown-menu a:active {
    background-color: rgba(11, 102, 255, 0.05);
    color: #0b66ff;
    padding-left: 34px;
}

@media (max-width: 992px) {
    /* Show mobile menu toggle */
    .menu-toggle {
        display: flex;
        margin-left: 12px;
        padding: 10px;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }
    
    .menu-toggle:active {
        background-color: rgba(0, 0, 0, 0.05);
    }
    
    /* Hide desktop navigation */
    nav > ul:not(.mobile-menu) {
        display: none;
    }
    
    /* Adjust header height */
    :root {
        --header-height: 70px;
    }
    
    /* Ensure mobile menu is full height */
    nav ul.mobile-menu {
        height: calc(100vh - var(--topbar-height) - var(--header-height));
        top: calc(var(--topbar-height) + var(--header-height));
        -webkit-overflow-scrolling: touch;
    }
    
    /* Add overlay when mobile menu is open */
    .mobile-menu-overlay {
        position: fixed;
        top: calc(var(--topbar-height) + var(--header-height));
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        -webkit-backdrop-filter: blur(2px);
         backdrop-filter: blur(2px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
    .header-content {
        padding: 10px 15px;
    }

    .logo-image {
        width: 80px;
        height: 80px;
    }

    nav ul {
        gap: 6px;
    }

    nav a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .btn-inquire {
        padding: 8px 18px;
        font-size: 0.65rem;
    }
}

    

    .logo-image {
        width: 80px;
        height: 80px;
        transition: all 0.3s ease;
    }

    nav ul {
        gap: 6px;
    }

    nav a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .btn-inquire {
        padding: 8px 18px;
        font-size: 0.65rem;
    }


@media (max-width: 800px) {
    :root {
        --header-height: 80px;
    }

    .top-bar {
        height: auto;
        padding: 6px 0;
        transition: all 0.3s ease;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        padding: 0 15px;
        transition: all 0.3s ease;
    }
    
    .contacts-info {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }
    
    .social-icon {
        width: 100%;
        justify-content: center;
    }

    .contacts-info {
        gap: 15px;
        transition: all 0.3s ease;
    }

    .contacts-info span {
        font-size: 0.6rem;
        transition: all 0.3s ease;
    }

    .social-icon {
        gap: 8px;
        transition: all 0.3s ease;
    }

    .social-icon a {
        width: 28px;
        height: 28px;
        transition: all 0.3s ease;
    }

    header {
        transition: all 0.3s ease;
    }

    .header-content {
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 8px;
        transition: all 0.3s ease;
    }

    .logo-image {
        width: 70px;
        height: 70px;
        transition: all 0.3s ease;
    }

    /* Hide desktop navigation */
    nav ul:not(.mobile-menu) {
        display: none;
        transition: all 0.3s ease;
    }

    /* Show mobile menu toggle */
    .menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
        transition: all 0.3s ease;
    }

    .btn-inquire {
        order: 2;
        padding: 6px 12px;
        font-size: 0.6rem;
        margin-left: 8px;
        transition: all 0.3s ease;
    }

    nav ul.mobile-menu {
        transition: left 0.3s ease, box-shadow 0.3s ease;
    }

    nav ul.mobile-menu.active {
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 600px) {
    :root {
        --header-height: 100px;
        --topbar-height: 40px;
    }

    .top-bar {
        height: 40px;
        transition: all 0.3s ease;
    }

    .contacts-info {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        transition: all 0.3s ease;
    }

    .contacts-info span {
        font-size: 0.55rem;
        transition: all 0.3s ease;
    }

    .social-icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }

    .social-icon a {
        width: 24px;
        height: 24px;
        transition: all 0.3s ease;
    }

    .header-content {
        padding: 6px 10px;
        transition: all 0.3s ease;
    }

    .logo-image {
        width: 60px;
        height: 60px;
        transition: all 0.3s ease;
    }

    nav ul.mobile-menu {
        width: 250px;
        transition: all 0.3s ease;
    }

    .btn-inquire {
        padding: 5px 10px;
        font-size: 0.55rem;
        transition: all 0.3s ease;
    }

    /* Enhanced mobile menu for medium-small screens */
    nav ul.mobile-menu li {
        margin: 6px 0;
    }

    nav ul.mobile-menu a {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    nav ul.mobile-menu {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .top-bar {
        font-size: 0.6rem;
        padding: 4px 0;
    }
    
    .contacts-info {
        gap: 8px 12px;
    }
    
    .contacts-info span {
        font-size: 0.6rem;
    }
    .top-bar .social-icon{
        text-align: left;

    }
    
    .social-icon a {
        width: 26px;
        height: 26px;
        font-size: 0.6rem;
    }
    
    .logo-image {
        width: 90px;
        height: 90px;
    }
    
  
}

/* Extra small mobile styles */
@media (max-width: 360px) {
    .top-bar {
        display: none; /* Hide top bar on very small screens */
    }

    body {
        padding-top: var(--header-height); /* Adjust body padding when top bar is hidden */
    }

    :root {
        --topbar-height: 0px;
    }
}
@media(min-width:540px){
    .nav{
        display: flex;
        gap: 16px;
    }
   
}
@media(min-width:344px) {
    .top-bar {
        height: 30px;
        padding: 4px 0.5cm;
        font-size: 0.75rem;
    }
    .top-bar-content {
        max-width: 1000px;
        padding: 0 10px;
    }
    .contacts-info {
        gap: 18px;
        font-size: 0.75rem;
    }
    .social-icon a {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    header {
        padding: 12px 0;
    }
    .header-content {
        padding: 12px 16px;
        gap: 10px;
    }
    .logo-image {
        width: 75px;
        height: 75px;
    }
    nav ul {
        gap: 10px;
        font-size: 0.9rem;
    }
    nav a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    .btn-inquire {
        padding: 7px 20px;
        font-size: 0.65rem;
        margin-left: 12px;
    }
    .menu-toggle {
        width: 40px;
        height: 40px;
    }
}
@media(min-width:768px){
    header{
        padding: 16px 32px;
    }
    .logo{
        font-size: 1.5rem;
    }
    .nav{
        gap:24px;
    }
}
@media(min-width:820px){
    header{
        justify-content: space-between;
    }
    .nav{
        gap: 32px;
    }
}
@media(min-width:390px) and (max-width:420px){
    .logo{
        font-size: 1.3rem;
    }
}
/* Original 480px media query */
@media (max-width: 480px) {
    .top-bar-content {
        flex-direction: column;
        gap: 4px;
        align-items: center;
        text-align: center;
        transition: all 0.3s ease;
    }

    .contacts-info {
        order: 2;
        transition: all 0.3s ease;
    }

    .social-icon {
        order: 1;
        position: static;
        transform: none;
        transition: all 0.3s ease;
    }

    .header-content {
        justify-content: space-between;
        transition: all 0.3s ease;
    }

    .logo-image {
        width: 50px;
        height: 50px;
        transition: all 0.3s ease;
    }

    nav ul.mobile-menu {
        width: 220px;
        padding: 15px;
        transition: all 0.3s ease;
    }

    .btn-inquire {
        display: none; /* Hide inquire button on very small screens */
    }

    /* Compact mobile menu for very small screens */
    nav ul.mobile-menu li {
        margin: 4px 0;
    }

    nav ul.mobile-menu a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    nav ul.mobile-menu .dropdown-menu {
        padding: 6px 12px;
        margin-top: 6px;
        width: calc(100% - 24px);
    }

    nav ul.mobile-menu .dropdown-menu a {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Footer styles */
footer{
        background: #0a2463;

    color:#fff;
    margin-top:40px
}

.footer-content{
    max-width:1200px;
    margin:0 auto;
    padding:24px 20px
}
.footer-top{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    padding-bottom:12px}

  

.footer-top .tagline{
    color:rgba(230,238,252,0.9);
    margin:0
}
.footer-top .social-icons{
    display:flex;
    gap:12px;
}
.footer-top .social-icons a{
    color:rgba(230,238,252,0.95);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:6px;
    background:rgba(255,255,255,0.03)}

.footer-mid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    padding-top:8px;
    border-top:1px solid rgba(255,255,255,0.03);
    margin-top:12px}

.footer-mid h3{
    color:rgba(230,238,252,0.95);
    margin:0 0 8px;
    text-decoration: underline;
}
.footer-mid p,.footer-mid li
{

    color:rgba(230,238,252,0.9);
    margin:6px 0
}

.footer-mid ul{
    list-style:none;
    padding:0;
    margin:0
}

.footer-quicklinks ul li{
    margin:6px 0
}
.footer-quicklinks a{
    color:rgba(230,238,252,0.95);
    text-decoration:none}

.footer-bottom{border-top:1px solid rgba(255,255,255,0.04);padding:12px 20px;text-align:center;color:rgba(230,238,252,0.7);background:transparent;margin-top:14px}

@media (max-width:900px){
    .footer-mid{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
    .footer-mid{grid-template-columns:1fr}
    .footer-content{gap:12px;padding:20px 16px}
    .footer-top .social-icons{justify-content:center}
}

/* MODAL */
.modal {
      display: none; 
      position:fixed;
      top:50px;
      left: 0;
      right: 0;
      bottom: 20px;
      width: 100%;
      height: 100%;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      animation: fadeIn 0.3s ease;
      -webkit-backdrop-filter: blur(5px);
    backdrop-filter:blur(5px) ;

      scrollbar-width: 40px;

    }

    
    .modal-content {
      background: rgb(239, 240, 243);
      border-radius: 12px;
      top: 30px;
      padding: 20px;
      max-height: 80vh;
      max-width: 900px;
      width: 90%;
      overflow-y: auto;
      box-shadow: 0 8px 20px rgba(0,0,0,0.3);
      position: relative;
      animation: slideUp  ease;
    }



    
    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      background: #06023c;
      border: none;
      color: white;
      font-size: 0.7rem;
          padding:10px 24px;

      margin-left: 16px;
      width: 50px;
      height: 20px;
      cursor: pointer;
      align-items: center;
      transition: background 0.3s;
    }

    .close-btn:hover {
      background: #e60000;
    }

   
/* Modal Gallery Styles */
.modal .gallery {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));*/
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 20px;
}

.modal .gallery img {
    width: 90%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal .gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
 
.modal h2 {
    color: #0a2463;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1rem;
}
/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.IT-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-info {
    background:none;
    padding: 20px;
    margin-top: -10px;
    position: relative;
    z-index: 1;
}

.gallery-info h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 20px;
}

.gallery-info h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background-color: #0a2463;
    transition: all 0.3s ease;
}

.gallery-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}


.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    font-size: 12px;
    line-height: 1.4;
    transform: translateY(50%);
    transition: opacity 0.3s ;
    opacity: 0;
}

.gallery-item:hover .image-caption {
    transform: translateY(0);
}

@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .menu-toggle {
        display: flex;
    }
    
    /* Hide desktop navigation */
    nav > ul:not(.mobile-menu) {
        display: none;
    }
    
    /* Adjust header height */
    :root {
        --header-height: 70px;
    }
    
    /* Ensure mobile menu is full height */
    nav ul.mobile-menu {
        height: calc(100vh - var(--topbar-height) - var(--header-height));
        top: calc(var(--topbar-height) + var(--header-height));
    }
    
    /* Smooth transitions for mobile menu */
    nav ul.mobile-menu {
        transition: transform 0.3s ease-in-out, opacity 0.3s ease;
        transform: translateX(-100%);
        opacity: 0;
    }

    nav ul.mobile-menu.active {
        transform: translateX(0);
        opacity: 1;
    }
    .gallery,
    .IT-gallery {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .modal .gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .modal .gallery img {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .modal-content {
        padding: 20px 15px;
    }
    
    .modal h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .modal .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal .gallery img {
        height: 250px;
    }
}


    
    
    /* -- ANIMATIONS --- */
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

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

.gallery-info{
    padding:0;
    background:none;
    color:#333;
    display:flex;
    flex-direction:column;
    border: none !important;
}
.gallery-info h4{
    margin:0 0 12px 0;
    padding:0;
    color:#2c3e50;
    font-size:0.95rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1.5px;
    position:relative;
    padding-left:16px;
}
.gallery-info h4::before{
    content:'';
    position:absolute;
    left:2px;
    top:50%;
    transform:translateY(-50%) rotate(45deg);
    width:8px;
    height:8px;
    background-color: #0a2463;
    transition: all 0.3s ease;
}

.gallery-info h4:hover::before {
    transform: translateY(-50%) rotate(135deg);
}
.gallery-info p{
    margin:0;
    padding:0;
    color:#7a7a7a;
    font-size:0.875rem;
    line-height:1.7;
    font-weight:400;
}
.gallery-item {
    position: relative;
    display: inline-block;
}

.gallery-item .modal-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 24px;
    background-color: rgba(10, 36, 99, 0.9);
    width: auto;
    min-width: 4cm;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 2;
}

.gallery-item:hover .modal-btn {
    opacity: 1;
}

    button:hover {
      background-color: #0056b3;
    }



body .modal-active{
    filter: blur(5px);
}
