/*
Theme Name: Travel2Globe-New
Template: astra
Version: 1.0
*/

.custom-header{
padding:20px;
background:#fff;
border-bottom:1px solid #ddd;
}

.container{
max-width:1300px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
}


/* ===============================
FOOTER
=============================== */



.site-footer{
background:#0b2f63;
color:#fff;
font-size:14px;
}

.footer-main{
padding:60px 0;
}

.container{
max-width:1300px;
margin:auto;
padding: 15px!important;
}

/* GRID */

.footer-grid{
display:grid;
grid-template-columns:1.2fr 1fr 1fr;
gap:50px;
}

/* ABOUT */

.footer-logo{
max-width:180px;
margin-bottom:20px;
}

.footer-about p{
line-height:1.7;
margin-bottom:15px;
color:#cfd6e4;
}

/* TITLE */

.footer-title{
font-size:16px;
margin-bottom:20px;
text-transform:uppercase;
font-weight:600;
color: #ffffff;
}

/* POSTS */

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

.footer-posts li{
display:flex;
gap:12px;
margin-bottom:20px;
border-bottom:1px solid rgba(255,255,255,0.08);
padding-bottom:15px;
}

.footer-posts img{
width:80px;
height:60px;
border-radius:6px;
object-fit:cover;
}

.footer-posts a{
color:#fff;
font-weight:500;
font-size:14px;
text-decoration:none;
display:block;
margin-bottom:4px;
}

.footer-posts span{
font-size:12px;
color:#9fb1c9;
}

/* SOCIAL */

.footer-social{
margin-top:20px;
display:flex;
gap:10px;
}

.footer-social a{
width:36px;
height:36px;
display:flex;
align-items:center;
justify-content:center;
background:#173e79;
border-radius:50%;
color:#fff;
font-size:14px;
transition:0.3s;
}

.footer-social a:hover{
background:#ff2c75;
}

/* BOTTOM */

.footer-bottom{
background:#000;
padding:18px 0;
}

.footer-bottom-inner{
display:flex;
justify-content:space-between;
align-items:center;
}

.footer-links{
display:flex;
gap:20px;
}

.footer-links a{
color:#fff;
text-decoration:none;
font-size:13px;
}

.footer-links a:hover{
color:#ff2c75;
}



.footer-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
align-items:flex-start; /* important */
}

.footer-col{
display:flex;
flex-direction:column;
}

/* make titles same spacing */
.footer-title{
margin-bottom:20px;
}

/* fix posts spacing */
.footer-posts li{
display:flex;
gap:12px;
margin-bottom:18px;
}

/* optional: keep logo spacing similar to titles */
.footer-about .footer-logo{
margin-bottom:20px;
}

@media(max-width:768px){

.footer-grid{
grid-template-columns:1fr;
gap:30px;
}

}

/* ===============================
RESPONSIVE
=============================== */

@media(max-width:900px){

.footer-grid{
grid-template-columns:1fr;
gap:40px;
}

.footer-bottom-inner{
flex-direction:column;
gap:10px;
}

}


/* ---============== RESET & GLOBAL header============================ --- */
/* =========================
   ROOT VARIABLES
========================= */


@media (max-width: 600px) {

  .search-box input {
    height: 40px;
    width: 154px;
  }

}



:root {
  --bg: #ffffff;
  --text: #111827;
  --primary: #0b2c5a;
  --card: #f3f4f6;
  --accent: #ff2c74;
}

/* DARK MODE GLOBAL */
body.dark {
  --bg: #020617;
  --text: #e5e7eb;
  --primary: #020617;
  --card: #0f172a;
}

/* GLOBAL RESET */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: 0.3s;
}

/* IMPORTANT: APPLY DARK MODE EVERYWHERE */
section, div, header, footer {
  background-color: inherit;
}

/* =========================
   TOP BAR
========================= */
.top-bar {
  background: var(--card);
  padding: 8px 0;
}
.top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons i {
  margin-right: 12px;
  cursor: pointer;
  color: #555; /* default color */
}

/* SEARCH */
.search-box {
  display: flex;
}
.search-box input {
  padding: 6px 10px;
}
.search-box button {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 6px 12px;
}

/* =========================
   HEADER
========================= */
.main-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  overflow: visible !important;
}

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

/* LOGO */
.logo img {
  height: 48px;
}

/* =========================
   MENU (FIXED)
========================= */
.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  color: #fff;
  padding: 16px 18px;
  display: block;
  font-weight: 500;
}

/* ARROW */
.menu li.menu-item-has-children > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 6px;
  font-size: 10px;
  transition: 0.3s;
}

/* ROTATE */
.menu li:hover > a::after {
  transform: rotate(180deg);
}

/* =========================
   DROPDOWN FIX (MAIN ISSUE SOLVED)
========================= */
.menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;

  background: var(--bg);
  border-radius: 8px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all 0.25s ease;
  z-index: 9999;
}

/* SHOW */
.menu li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* SUB ITEMS */
.menu li ul li {
  display: block;
  padding: 0; /* remove side gaps */
}

.menu li ul li a {
  display: block;              /* IMPORTANT */
  width: 100%;                 /* fill full width */
  color: var(--text);
  padding: 12px 15px;
}

.menu li ul li a:hover,
.menu li ul li a:active {
  background: var(--card);     /* full-width background */
}

/* =========================
   RIGHT SIDE
========================= */
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dark-toggle {
  color: #fff;
  cursor: pointer;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu {
  position: fixed;
  right: -100%;
  top: 0;
  width: 82%;
  height: 100%;
  background: var(--bg);
  z-index: 99999;
  transition: 0.35s ease;
  padding: 20px;
}

.mobile-menu.active {
  right: 0;
}

/* OVERLAY */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  top: 0;
  left: 0;
  display: none;
}
.overlay.active {
  display: block;
}

/* MOBILE HEADER */
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-header img {
  height: 42px;
}

/* MOBILE NAV */
.mobile-nav {
  list-style: none;
  margin-top: 20px;
}
.mobile-nav li {
  border-bottom: 1px solid #ddd;
}

.mobile-nav li a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  color: var(--text);
}

/* SUBMENU MOBILE */
.mobile-nav li ul {
  display: none;
}
.mobile-nav li.active ul {
  display: block;
}

/* =========================
   MOBILE SUBMENU ARROW
========================= */
.submenu-arrow {
  margin-left: auto;
  transition: 0.3s;
}

.submenu-arrow.rotate {
  transform: rotate(180deg);
}

/* =========================
   MOBILE SUBMENU STYLE
========================= */
.mobile-nav li ul {
  padding-left: 10px;
}

.mobile-nav li.active > a {
  color: var(--accent);
}

/* =========================
   SUBSCRIBE BOX (MOBILE)
========================= */
.mobile-subscribe {
  margin-top: 25px;
  padding: 20px;
  background: var(--card);
  border-radius: 10px;
  text-align: center;
}

.mobile-subscribe h4 {
  margin-bottom: 8px;
}

.mobile-subscribe p {
  font-size: 13px;
  margin-bottom: 12px;
}

.mobile-subscribe input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
}

.mobile-subscribe button {
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

/* FIX CHECKBOX INLINE */
.mobile-subscribe label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-top: 10px;
  cursor: pointer;
}

.mobile-subscribe input[type="checkbox"] {
  margin: 0;
  width: 14px;
  height: 14px;
}

/* =========================
   MOBILE SOCIAL
========================= */
.mobile-social {
  margin-top: 20px;
  text-align: center;
}

.mobile-social i {
  margin: 0 10px;
  font-size: 16px;
  cursor: pointer;
  color: var(--text);
}

/* =========================
   BETTER MOBILE SPACING
========================= */
.mobile-menu {
  display: flex;
  flex-direction: column;
}

.mobile-nav {
  flex: 1;
  overflow-y: auto;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .desktop-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ===============================
cetegory  section 1
=============================== */




/* ===============================
cetegory  & contact & all page section 2
=============================== */

/* SECTION 2 */

.cg-sec2{
display:grid;
grid-template-columns:300px 1fr;
gap:25px;
margin-top:40px;
}

/* LEFT */

.cg-sec2-left{
background:#fff;
padding:20px;
border-radius:10px;
}


.cg-sec2-left img{
  
border-radius: 6px;
    width: 75px;
    height: 55px;
  

}


.cg-sec2-left h4{
  

    size : 14px;

}


.cg-blog{
display:flex;
gap:10px;
margin-bottom:12px;
align-items:center;

}

.cg-blog h4{
font-size : 14px;

}

.cg-blog span{
font-size : 12px;

}

.cg-num{
width:30px;
height:30px;
background:#e91e63;
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
}

/* RIGHT */

.cg-sec2-right{
display:grid;
grid-template-columns:2fr 1fr;
gap:20px;
}

/* REGIONAL */

.cg-regional-box{
background:#fff;
padding:20px;
border-radius:10px;
}

.cg-regional{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

.cg-region-card{
position:relative;
}

.cg-region-card img{
width:100%;
height:120px;
object-fit:cover;
border-radius:8px;
}

.cg-region-card span{
position:absolute;
top:8px;
left:8px;
background:#e91e63;
color:#fff;
padding:3px 8px;
font-size:11px;
border-radius:4px;
}

.cg-region-card h4{
font-size:14px;
margin-top:6px;
}

/* SUBSCRIBE PREMIUM */

/* SUBSCRIBE PREMIUM NEW */

.cg-subscribe-box{
background:#fff;
padding:30px 25px;
border-radius:16px;
text-align:center;
position:relative;
box-shadow:0 10px 40px rgba(0,0,0,0.08);
border:1px solid #f1f1f1;
display:flex;
flex-direction:column;
justify-content:center;
}

/* ICON */

.cg-sub-icon{
width:60px;
height:60px;
background:linear-gradient(135deg,#e91e63,#ff4d7e);
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:26px;
margin:-55px auto 15px;
box-shadow:0 8px 20px rgba(233,30,99,0.3);
}

/* TITLE */

.cg-subscribe-box h3{
font-size:20px;
margin-bottom:8px;
color:#222;
}

.cg-subscribe-box p{
font-size:13px;
color:#777;
margin-bottom:20px;
}

/* INPUT */

.cg-subscribe-box input[type="email"]{
width:100%;
padding:14px;
border:1px solid #e5e5e5;
border-radius:8px;
margin-bottom:15px;
font-size:14px;
transition:0.3s;
}

.cg-subscribe-box input:focus{
border-color:#e91e63;
outline:none;
box-shadow:0 0 0 3px rgba(233,30,99,0.1);
}

/* BUTTON */

.cg-subscribe-box button{
width:100%;
padding:14px;
background:linear-gradient(135deg,#e91e63,#ff4d7e);
color:#fff;
border:none;
border-radius:8px;
font-weight:700;
letter-spacing:0.5px;
cursor:pointer;
transition:0.3s;
}

.cg-subscribe-box button:hover{
transform:translateY(-2px);
box-shadow:0 8px 20px rgba(233,30,99,0.25);
}

/* CHECKBOX */

.cg-check{
display:flex;
align-items:flex-start;
gap:8px;
font-size:12px;
color:#666;
margin-top:12px;
text-align:left;
}

.cg-check input{
margin-top:3px;
}

.cg-check label{
line-height:1.4;
cursor:pointer;
}

/* RESPONSIVE */

@media(max-width:1024px){

.cg-grid,
.cg-sec2{
grid-template-columns:1fr;
}

.cg-news{
grid-template-columns:1fr;
}

.cg-sec2-right{
grid-template-columns:1fr;
}

.cg-sidebar{
position:relative;
top:0;
}

}