/* ===== MAIN CSS START ===== */

/* ===== ROOT VARIABLES START ===== */
:root {
    --primary-color: #135283;
    --secondary-color: #FFAA00;
    --background-color: #f9f9f9;
    --text-color: #222;
    --white-color: #ffffff;
    --transition: all 0.3s ease;

    /* ===== FONT VARIABLES START ===== */
    --font-family-sans-serif: "Nunito", sans-serif;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    /* ===== FONT VARIABLES END ===== */
}
/* ===== ROOT VARIABLES END ===== */


/* ===== GLOBAL RESET START ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* ===== GLOBAL RESET END ===== */


/* ===== HTML STYLES START ===== */
html {
    scroll-behavior: smooth;
}
/* ===== HTML STYLES END ===== */


/* ===== BODY STYLES START ===== */
body {
    font-family: var(--font-family-sans-serif);
    background-color: var(--background-color);
    color: var(--text-color);
}
/* ===== BODY STYLES END ===== */


/* ===== HEADINGS STYLES START ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Handlee', cursive;
}
/* ===== HEADINGS STYLES END ===== *//* ===== HEADER SECTION START ===== */

/* ===== HEADER ===== */
#header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 75px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.3, 1);
}

/* HIDE ON SCROLL DOWN */
#header.hide {
    transform: translateY(-100%);
}

/* SHOW ON SCROLL UP */
#header.show {
    transform: translateY(0);
}

/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    position: relative;
}

/* LOGO */
.logo img {
    height: 135px;
    transition: var(--transition);
}

/* MENU */
.menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    transform: translateY(-30px);
}

.menu li {
    position: relative;
    display: flex;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

.menu a:hover {
    color: var(--secondary-color);
}

/* ===== DROPDOWN FIX ===== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    list-style: none;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 9999;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    text-transform: none;
    font-weight: 600;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: #f7f9fc;
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* BUTTON */
.nav-btn {
    transform: translateY(-30px);
}

.btn {
    background: var(--secondary-color);
    color: #000;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 170, 0, 0.3);
    transition: 0.3s ease;
}

.btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(19, 82, 131, 0.3);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    transform: translateY(-30px);
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: var(--primary-color);
    margin: 4px 0;
    transition: 0.3s;
}

/* X ANIMATION */
.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(5px, -5px);
}

/* MOBILE BUTTON HIDE */
.mobile-btn {
    display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {

    .hamburger {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: -100%;
        flex-direction: column;
        width: 100%;
        background: #fff;
        padding: 30px 20px;
        transition: left 0.4s ease;
        gap: 25px;
        z-index: 9999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .menu.active {
        left: 0;
    }

    .menu li {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-btn {
        display: none;
    }

    .mobile-btn {
        display: block !important;
        margin-top: 15px;
        width: 100%;
    }

    .mobile-btn .btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: none;
        background: #f7f9fc;
        margin-top: 10px;
        border-radius: 5px;
        width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
}

/* ===== HEADER SECTION END ===== */


/* ===== FOOTER STYLES START ===== */
/* ===== FOOTER ===== */
.avfooter {
  background: var(--primary-color);
  color: #ffffff;
}

.avfooter-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 30px 8%;
}

/* LOGO */
.avfooter-logo img {
  width: 140px;
}

/* TEXT */
.avfooter p {
  font-size: 15px;
  line-height: 1.7;
  margin-top: 15px;
}

/* HEADINGS */
.avfooter h3 {
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

/* SOCIAL */
.avfooter-social {
  margin-top: 20px;
}

.avfooter-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--secondary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: var(--secondary-color);
  transition: 0.3s;
}

.avfooter-social a:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* CONTACT STYLE */
.avfooter-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.avfooter-contact-item i {
  font-size: 18px;
  color: var(--secondary-color);
  margin-top: 4px;
}

.avfooter-contact-item span {
  font-size: 18px;
  display: block;
}

.avfooter-contact-item a {
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
}

/* LINKS */
.avfooter ul {
  list-style: none;
  padding: 0;
}

.avfooter ul li {
  margin-bottom: 12px;
}

.avfooter ul li a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.avfooter ul li a i {
  margin-right: 6px;
}

.avfooter ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

/* BOTTOM */
.avfooter-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 15px 8%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.avfooter-bottom-left a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
  text-decoration: none;
}

.avfooter-bottom-left img {
  width: 80px;
}

.avfooter-bottom-right {
  font-size: 14px;
}

/* ANIMATION */
.avfooter-col {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.avfooter-col:nth-child(1) { animation-delay: 0.2s; }
.avfooter-col:nth-child(2) { animation-delay: 0.4s; }
.avfooter-col:nth-child(3) { animation-delay: 0.6s; }
.avfooter-col:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .avfooter-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .avfooter-container {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 50px 5%;
  }

  .avfooter-contact-item {
    justify-content: flex-start;
  }

  .avfooter-logo {
    text-align: center;
    margin-bottom: 10px;
  }

  .avfooter-social {
    text-align: center;
    margin-bottom: 20px;
  }

  .avfooter-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .avfooter-bottom-left a {
    justify-content: center;
  }
}
/* ===== FOOTER STYLES END ===== */

/* ===== GLOBAL SCROLL ANIMATION STATE START ===== */
.scroll-animate {
    animation-play-state: paused !important;
}

.scroll-animate.in-view,
.scroll-animate.in-view * {
    animation-play-state: running !important;
}
/* ===== GLOBAL SCROLL ANIMATION STATE END ===== */

/* ===== MAIN CSS END ===== */

/* OVERLAY */
.av-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

/* ACTIVE */
.av-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* POPUP BOX */
.av-popup {
    width: 850px;
    max-width: 95%;
    background: #fff;
    border-radius: 14px;
    display: flex;
    overflow: hidden;
    animation: popupFade 0.5s ease;
    position: relative;
}

/* ANIMATION */
@keyframes popupFade {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* CLOSE BUTTON */
.av-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}

/* LEFT */
.av-popup-left {
    width: 50%;
}

.av-popup-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* RIGHT */
.av-popup-right {
    width: 60%;
    padding: 30px;
}

.av-popup-right h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* INPUT */
.av-input {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.av-input input,
.av-input textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.av-input textarea {
    resize: none;
    height: 80px;
}

/* ERROR */
.error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* BUTTON */
.av-popup-right button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.av-popup-right button:hover {
    background: var(--secondary-color);
}

/* SUCCESS */
.success-msg {
    color: green;
    margin-top: 10px;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .av-popup {
        flex-direction: column;
    }

    .av-popup-left {
        width: 100%;
        height: 180px;
    }

    .av-popup-right {
        width: 100%;
    }
}

/* FLOATING BUTTON */
.av-floating-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    background: var(--primary-color);
    color: #fff;
    padding: 20px 10px;
    border: none;
    border-radius: 0 6px 6px 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    z-index: 99998;
    box-shadow: 4px 0 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    letter-spacing: 1px;
}
.av-floating-btn:hover {
    background: var(--secondary-color);
    padding-bottom: 25px; /* Creates a slight grow effect */
}