/* --- Global Styles & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #4A4A4A;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* --- Header & Navigation --- */
header {
    padding: 25px 0;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
  font-size: 28px;
  line-height: 24px; /* Match image height */
  font-weight: bold;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: #4A4A4A;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1E1E5E;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-signup {
    font-weight: 600;
    color: #4A4A4A;
    transition: color 0.3s ease;
}

.btn-signup:hover {
    color: #1E1E5E;
}

/* --- Button Styles --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #FFD15B; /* Yellow from image */
    color: #333;
    box-shadow: 0 4px 15px rgba(255, 209, 91, 0.4);
}

.btn-primary:hover {
    background-color: #fcc33a;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FFD15B; /*transparent; */
    color: #1E1E5E;
    font-weight: 600;
}

.btn-secondary span {
    color: #1E1E5E;
    font-size: 14px;
}

.btn-secondary:hover {
    color: #5a5aff;
}

/* --- Main Content Grid --- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 30px;
    padding: 40px 0;
}

/* --- Hero Text (Top-Left) --- */
.hero-text {
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 54px;
    font-weight: 700;
    color: #1E1E5E;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* --- Hero Image (Top-Right) --- */
.hero-image {
    text-align: center;
}
.hero-image img {
    /* The image itself has the composition, so just let it fill */
    width: 100%;
}


/* --- Feature Image (Bottom-Left) --- */
.feature-image {
    text-align: center;
}
.feature-image img {
    max-width: 70%; /* Making it a bit smaller */
}


/* --- Feature Text (Bottom-Right) --- */
.feature-text {
    padding-left: 20px;
}

.feature-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1E1E5E;
    margin-bottom: 15px;
}

.feature-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.featured-in {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #888;
    font-size: 14px;
}

.featured-in span:first-child {
    font-weight: 600;
    color: #4A4A4A;
}

.featured-in .logo-text {
    font-weight: 600;
    color: #777;
}

/* ======= Footer style ======= */
.footer {
  position: relative;
  display: block;
}
.footer-top {
  position: relative;
  display: block;
  border-radius: 5px;
  background-color: #fafafa;
  padding: 90px 0 60px 0;
  z-index: 1;
}
.footer-top .footer-column {
  margin-bottom: 30px;
  padding-left: 20px;
}
.footer-title {
  font-size: 24px;
  color: #1f2f3f;
  margin-bottom: 20px;
}
.footer-about-text {
  font-size: 15px;
  color: #2d2d2d;
  margin: 0;
}
.footer-about-social-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 20px;
}
.footer-about-social-list a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 15px;
  background-color: transparent;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.footer-about-social-list a + a {
  margin-left: 15px;
}
.footer-about-social-list a:hover {
  background-color: transparent;
  color: #aa8453;
}
.footer-explore-list li + li {
  margin-top: 3px;
}
.footer-explore-list li a {
  position: relative;
  display: block;
  font-size: 15px;
  color: #adadad;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.footer-explore-list li a:hover {
  padding-left: 15px;
  color: #aa8453;
}
.footer-explore-list li a:before {
  position: absolute;
  top: 55%;
  left: 0;
  bottom: 0;
  width: 6px;
  height: 6px;
  content: "";
  background-color: #aa8453;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
  border-radius: 50%;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.footer-explore-list li a:hover:before {
  opacity: 0;
  color: red;
}
.footer-contact {
  position: relative;
  display: block;
}
.footer-contact .footer-title {
  margin-bottom: 20px;
}
.footer-contact-text {
  font-size: 15px;
  margin: 0;
  color: #3d4d5d;
  padding-bottom: 20px;
}
.footer-contact-info p {
  margin: 0;
}
.footer-contact-phone {
  font-size: 18px;
  color: #3f4f5f;
  font-weight: 400;
  display: block;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.footer-contact-phone:hover {
  color: #fff;
}
.footer-contact-mail {
  font-size: 15px;
  line-height: 3em;
  color: #fff;
  position: relative;
  display: inline-block;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.footer-contact-mail:hover {
  color: #fff;
}
.footer-contact-mail:before {
  position: absolute;
  bottom: 9px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #aa8453;
  content: "";
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.footer-contact-mail:hover:before {
  background-color: #aa8453;
}

/* language */
.footer-language {
  width: 160px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-top: 30px;
}
.footer-language i {
  position: absolute;
  right: 30px;
  top: 17px;
  font-size: 15px;
  opacity: 0.6;
  color: #adadad;
}
.footer-language select {
  height: 50px;
  background: #282828;
  color: #adadad;
  border: 1px solid #282828;
  border-radius: 0px;
}
.footer-language select option {
  color: #fff;
}
select {
  width: 160px;
  max-width: 100%;
  height: 70px;
  padding: 0 30px;
  border: 1px solid #adadad;
  color: #adadad;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.footer-bottom {
  position: relative;
  display: block;
  background-color: #1b1b1b;
  -webkit-box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.05);
  box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.05);
  padding: 32px 0;
}
.footer-bottom-inner {
  position: relative;
  display: block;
  text-align: center;
}
.footer-bottom-copy-right {
  font-size: 12px;
  color: #adadad;
  margin: 0;
}
.footer-bottom-copy-right a {
  color: #fff;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}
.footer-bottom-copy-right a:hover {
  color: #aa8453;
}
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}
@media (min-width: 768px){
.col-md-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }
    .offset-md-1 {
        margin-left: 8.33333333%;
    }
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}
/* --- Video Modal Styles --- */

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

.modal-content {
    position: relative;
    background-color: #000;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 0;
    width: 90%;
    max-width: 800px; /* Max width */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

/* The YouTube Iframe */
.modal-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* Modern way to set 16:9 ratio */
    border: none;
    display: block; /* Removes any extra space below iframe */
}

/* The Close Button */
.close-btn {
    position: absolute;
    top: -20px;
    right: 0;
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    transition: 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        /* Re-order for mobile */
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .feature-image {
        order: 4; /* Appears after feature-text */
    }

    .feature-text {
        padding-left: 0;
        order: 3;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .feature-text h2 {
        font-size: 30px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .featured-in {
        justify-content: center;
        flex-wrap: wrap;
    }

    .feature-image img {
        max-width: 97%;
        margin-top: 20px;
    }
}

/* --- Header & Navigation Modifications --- */
header {
    /* This allows the mobile menu to be positioned relative to the header */
    position: relative;
}

/* This new container wraps the desktop links/buttons */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Hamburger Icon Styles --- */
.hamburger {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #1E1E5E; /* Dark blue from your logo */
    transition: all 0.3s ease-in-out;
}

/* --- Mobile Menu Styles --- */
.mobile-nav-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Positions it right below the header */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
}

.mobile-nav-menu.open {
    display: block; /* This class is toggled by JavaScript */
}

.mobile-nav-menu ul {
    list-style: none;
    text-align: center;
    margin-bottom: 20px;
}

.mobile-nav-menu ul li {
    margin-bottom: 18px;
}

.mobile-nav-menu ul li a {
    font-size: 18px;
    font-weight: 600;
    color: #1E1E5E;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

/* Make mobile buttons full-width for easier tapping */
.mobile-auth-buttons .btn-signup,
.mobile-auth-buttons .btn-primary {
    display: block;
    width: 100%;
}

.mobile-auth-buttons .btn-signup {
    background-color: #f0f0f0;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}


/* --- Hamburger 'X' Animation (when active) --- */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
/* --- This is the NEW 768px media query --- */
@media (max-width: 768px) {
    /* Hide the desktop navigation */
    .desktop-nav {
        display: none;
    }


    header nav.container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Push hamburger fully to the right */
    .hamburger {
        margin-left: auto;
        display: block;
        width: auto;
        height: auto;
    }

}