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

/* GLOBAL STYLES */
* { box-sizing: border-box; margin:0; padding:0; }
html, body {
  height: 100%;
}

body { 
  font-family: 'Poppins', sans-serif; 
  line-height: 1.6; 
  color:#024b00; 
  background:#f5fff3; 
  text-align:center;
  display: flex;
  flex-direction: column;
}

/* LOGO */
.logo {
  color:white; 
  font-size:28px; 
  font-family: 'Montserrat', sans-serif;
  font-weight:900; 
  letter-spacing:1px; 
  display:flex;
  align-items:center;
  gap:12px; /* space between icon and text */
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.logo-icon {
  width:40px; 
  height:auto;
  animation: logoBounce 2s ease-in-out infinite;
}
@keyframes logoBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* HEADER NAVIGATION */
.header {
  background: linear-gradient(90deg,#035f00,#027700);
  padding: 15px 50px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  position: sticky;
  top:0;
  z-index: 100;
  transition: background 0.3s;
}
.header:hover { background: linear-gradient(90deg,#027700,#035f00); }

.navbar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; }
.nav-links { list-style:none; display:flex; gap:30px; flex-wrap:wrap; }
.nav-links li a { 
  text-decoration:none; 
  color:white; 
  font-weight:600; 
  padding:8px 15px; 
  border-radius:8px; 
  transition:0.3s; 
}
.nav-links li a:hover, .nav-links li a.active { 
  background:#ccffcc; 
  color:#035f00; 
  transform: scale(1.05);
}

/* HERO SECTION */
.hero, .page-hero {
  display:flex;
  justify-content:center;
  align-items:center;
  padding:80px 50px;
  gap:50px;
  position: relative;
  flex-direction: column;
  text-align: center;
  color:white;
}

/* GST Highlight – LARGER than other content */
.gst-highlight {
  font-size: 48px;        /* bigger than hero title */
  font-weight: 900;
  color: #ff6600;
  margin-bottom: 25px;
  text-shadow: 3px 3px 12px rgba(0,0,0,0.5);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

.gst-highlight .highlight {
  font-size: 54px;       /* extra emphasis */
  color: #ffd700;
}

.gst-highlight .tamil-text {
  font-size: 32px;       /* slightly smaller than main GST text */
  color: #ffd700;
  display:block;
  margin-top:12px;
}

/* Hero Title – smaller than GST */
.hero-left h1.hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height:1.3;
  color:white;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  margin-bottom:20px;
}
.page-content {
  flex: 1;
}
.footer {
  margin-top: auto;
}

/* Tamil text in hero title */
.hero-left h1.hero-title .tamil-text {
  font-size: 24px;  /* smaller than main hero title */
  margin-top:10px;
}

/* Hero Phone – slightly smaller to balance layout */
.hero-left p.hero-phone {
  font-size:28px;
  font-weight:900;
  color:#ffd700;
  margin:20px 0;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

/* PAGE-SPECIFIC HERO BACKGROUNDS */
.about-hero { background: linear-gradient(135deg, #b3f0b3, #4caf50); }
.services-hero { background: linear-gradient(135deg, #a0e6ff, #039be5); }
.contact-hero { background: linear-gradient(135deg, #ffd699, #ff9800); }

/* BUS ANIMATION */
.animated-bus {
  width:100%;
  max-width:500px;
  animation: floatBus 3s ease-in-out infinite alternate;
  position: relative;
  z-index:1;
}
@keyframes floatBus {
  0% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(-2deg); }
}

/* MOBILE NUMBER NEAR BUS */
.bus-phone-top {
  position: absolute;
  top:-40px;
  right:0;
  background: rgba(255,255,0,0.9);
  color:#035f00;
  font-size:22px;
  font-weight:900;
  padding:8px 12px;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.3);
  z-index:2;
}

/* CTA BUTTONS */
.cta-buttons { display:flex; gap:20px; flex-wrap:wrap; justify-content:flex-start; margin-top:30px; }
.btn-primary {
  background: linear-gradient(45deg,#ff6600,#ff9900);
  color:white;
  padding:18px 40px;
  border-radius:10px;
  font-weight:700;
  font-family:'Montserrat',sans-serif;
  box-shadow:0 8px 20px rgba(255,102,0,0.4);
  transition:0.3s;
}
.btn-primary:hover { transform:scale(1.05); box-shadow:0 10px 25px rgba(255,102,0,0.6);}
.btn-secondary {
  background:white;
  color:#035f00;
  padding:18px 40px;
  border-radius:10px;
  font-weight:700;
  font-family:'Montserrat',sans-serif;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
  transition:0.3s;
}
.btn-secondary:hover { transform:scale(1.03); background:#f0f0f0; }

/* FEATURES / SERVICES CARDS */
.features, .services-content {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:30px;
  padding:100px 20px;
}
.feature-card, .services-card {
  background:white;
  padding:35px 25px;
  border-radius:20px;
  box-shadow:0 15px 35px rgba(0,0,0,0.15);
  width:270px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align:center;
}
.feature-card:hover, .services-card:hover { 
  transform:translateY(-10px); 
  box-shadow:0 20px 40px rgba(0,0,0,0.25);
}
.feature-card h3, .services-card h3 { font-size:26px; margin-bottom:15px; color:#035f00; font-family:'Montserrat',sans-serif; }
.feature-card p, .services-card p { font-size:17px; color:#024b00; line-height:1.5; }

/* ABOUT PAGE */
.about-content {
  padding:60px 20px;
  max-width:900px;
  margin:0 auto;
  text-align:left;
}
.about-content h2 { font-size:36px; color:#035f00; margin-bottom:20px; font-family:'Montserrat',sans-serif; }
.about-content p { font-size:18px; margin-bottom:20px; }
.about-content ul { margin-left:20px; margin-bottom:20px; }
.about-content ul li { margin-bottom:10px; font-size:17px; }

/* CONTACT PAGE */
.contact-form-section {
  padding:50px 20px;
  background:#f0fff0;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:40px;
}
.contact-form {
  display:flex;
  flex-direction:column;
  gap:20px;
  width:100%;
  max-width:450px;
}
.contact-form input, .contact-form textarea {
  padding:15px 20px;
  border-radius:8px;
  border:1px solid #ccc;
  font-size:16px;
  width:100%;
}
.contact-form button {
  width:fit-content;
  align-self:flex-start;
  padding:12px 30px;
  background:#ff6600;
  color:white;
  border:none;
  border-radius:8px;
  font-weight:700;
  font-family:'Montserrat',sans-serif;
  cursor:pointer;
  transition:0.3s;
}
.contact-form button:hover {
  background:#e65c00;
  transform:scale(1.05);
  box-shadow:0 5px 15px rgba(255,102,0,0.5);
}
.contact-info {
  max-width:400px;
  font-size:17px;
  color:#024b00;
  text-align:left;
}
.contact-info p { margin-bottom:10px; }

/* FOOTER */
.footer { padding:30px; background:#035f00; color:white; font-size:18px; letter-spacing:1px; }

/* WhatsApp Floating Button */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s;
}
.whatsapp-btn img { width: 100%; height: 100%; }
.whatsapp-btn:hover { transform: scale(1.1); }
.setc-info {
  font-size: 25px;
  font-weight: 600;
  margin: 15px 0;
  color: #A8F3FF; /* Golden Yellow */
}

.setc-info .tamil-text {
  font-size: 25px;
  color: #A8F3FF;
}



/* HOME PAGE HERO */
.home-hero {
  background: url('/images/bus_bg.jpg') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-direction: row;
  text-align: left;
  gap: 50px;
  min-height: 650px;
  border-radius: 20px;
  overflow:hidden;
}
.home-hero::after {
  content:"";
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0, 0, 0, 0.45); /* dark overlay */
  z-index:0;
}
.home-hero .hero-left, .home-hero .hero-right { position:relative; z-index:1; }

/* RESPONSIVE */
@media(max-width:1024px){
  .home-hero { flex-direction:column; text-align:center; padding:60px 20px; }
  .gst-highlight { font-size:40px; }
  .gst-highlight .highlight { font-size:46px; }
  .gst-highlight .tamil-text { font-size:28px; }
  .hero-left h1.hero-title { font-size:32px; }
  .hero-left h1.hero-title .tamil-text { font-size:20px; }
  .hero-left p.hero-phone { font-size:24px; }
  .cta-buttons { justify-content:center; }
}
@media(max-width:480px){
  .home-hero { flex-direction:column; text-align:center; padding:50px 15px; }
  .gst-highlight { font-size:32px; }
  .gst-highlight .highlight { font-size:36px; }
  .gst-highlight .tamil-text { font-size:22px; }
  .hero-left h1.hero-title { font-size:24px; }
  .hero-left h1.hero-title .tamil-text { font-size:18px; }
  .hero-left p.hero-phone { font-size:20px; }
  .feature-card { width:100%; }
}
/* HAMBURGER ICON */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: 0.3s;
}

/* MOBILE MENU */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg,#027700,#035f00);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  }

  .nav-links.show {
    display: flex;
    animation: slideDown 0.3s ease-in-out;
  }

  .nav-links li a {
    font-size: 18px;
    padding: 12px 20px;
  }

  .header-register {
    display: none; /* hide register box in mobile */
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ================= LOGIN SUB MENU ONLY ================= */

/* parent */
.login-dropdown {
  position: relative;
}

/* submenu box */
.login-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  list-style: none;
  padding: 10px 0;
  display: none;
  z-index: 999;
}

/* submenu links */
.login-submenu li a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #035f00;
  text-decoration: none;
  transition: 0.3s;
}

/* hover effect */
.login-submenu li a:hover {
  background: #ccffcc;
  color: #024b00;
  padding-left: 22px;
}

/* desktop hover */
.login-dropdown:hover .login-submenu {
  display: block;
}

/* ================= MOBILE SUPPORT ================= */
@media (max-width: 900px) {

  .login-submenu {
    position: static;
    background: rgba(255,255,255,0.15);
    box-shadow: none;
    border-radius: 0;
    display: none;
    width: 100%;
  }

  .login-submenu li a {
    color: white;
    font-size: 17px;
  }

  .login-submenu li a:hover {
    background: rgba(255,255,255,0.2);
    color: #ffd700;
  }

  .login-submenu.show {
    display: block;
  }
}

