/* ==========================================================================
   AGARAM GLOBAL ENGINE & TYPOGRAPHY RESETS
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden; /* Hard safety gate protecting all viewports against horizontal breaks */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

p, li, a, span, button, input, textarea {
    font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   UNIVERSAL RESPONSIVE NAVBAR INTEGRITY ENGINE (Toggle Fixes)
   ========================================================================== */

.agaram-nav-toggle {
    display: none; /* Invisible by default on all desktop views */
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 9999;
}

.agaram-nav-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   AGARAM HERO SECTION
   ========================================================================== */

.agaram-hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Scaled down from 120vh to match universal vertical views safely */
    padding: 140px 0 80px 0; /* Creates explicit safety space below sticky menus */
    background-image: url("images/agaram-hero.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Mobile-friendly safe rendering fallback logic */
@media (min-resolution: 1dppx) and (pointer: fine) {
    .agaram-hero-section {
        background-attachment: fixed;
    }
}

.agaram-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.agaram-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

.agaram-hero-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

.agaram-hero-content {
    max-width: 750px;
    color: #fff;
}

.agaram-hero-tag {
    display: inline-block;
    background: #ff6600;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.agaram-hero-content h1 {
    font-size: 48px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.agaram-hero-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #f1f1f1;
    margin-bottom: 25px;
}

.agaram-hero-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
}

.agaram-hero-contact i {
    color: #ff6600;
}

.agaram-hero-contact a {
    color: #fff;
    text-decoration: none;
}

.agaram-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.agaram-btn-book,
.agaram-btn-package {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.agaram-btn-book {
    background: #ff6600;
    color: #fff;
}

.agaram-btn-book:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
}

.agaram-btn-package {
    background: #fff;
    color: #222;
}

.agaram-btn-package:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.agaram-btn-book i,
.agaram-btn-package i {
    margin-right: 8px;
}

/* ==========================================================================
   POPULAR SERVICES SECTION
   ========================================================================== */

.agaram-services-section {
    padding: 80px 5%;
    background: #fff;
    text-align: center;
}

.agaram-services-small-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #ff6b00;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.agaram-services-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.agaram-services-shine-line {
    width: 120px;
    height: 5px;
    margin: 0 auto 60px;
    border-radius: 50px;
    background: linear-gradient(90deg, transparent, #ff6600, #ffd700, #ff6600, transparent);
    background-size: 300% 100%;
    animation: agaramShine 3s linear infinite;
}

@keyframes agaramShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Responsive Grid Fallback Pattern */
.agaram-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Clean auto-scaling structure replacing hardcoded 7 columns */
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
}

.agaram-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.agaram-service-item:hover {
    transform: translateY(-10px);
}

.agaram-service-icon {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin-bottom: 15px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    transition: transform 0.4s ease;
}

.agaram-service-item:hover .agaram-service-icon {
    transform: scale(1.1) rotate(8deg);
}

/* Linear Gradient Declarations */
.cab { background: linear-gradient(135deg,#ff9a00,#ff6600); }
.local { background: linear-gradient(135deg,#00c853,#64dd17); }
.outstation { background: linear-gradient(135deg,#2979ff,#00b0ff); }
.tour { background: linear-gradient(135deg,#9c27b0,#e040fb); }
.rental { background: linear-gradient(135deg,#ff1744,#ff5252); }
.temple { background: linear-gradient(135deg,#ff9800,#ffd54f); }
.airport { background: linear-gradient(135deg,#00acc1,#26c6da); }

.agaram-service-item h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #334155;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.agaram-about-section {
    padding: 80px 5%;
    background: #fff;
}

.agaram-about-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.agaram-about-small-title {
    color: #ff6600;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agaram-about-main-title {
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #1e293b;
}

.agaram-about-shine-line {
    width: 120px;
    height: 5px;
    border-radius: 30px;
    background: linear-gradient(90deg, #ff6600, #ffd700, #ff6600);
    background-size: 300%;
    animation: agaramShine 3s linear infinite;
    margin-bottom: 25px;
}

.agaram-about-content p {
    margin-bottom: 18px;
    line-height: 1.9;
    color: #555;
}

.agaram-about-image {
    position: relative;
}

.agaram-about-image-frame {
    position: relative;
    padding: 15px;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    transform: rotate(-2deg);
}

.agaram-about-image-frame img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.agaram-about-image-frame::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 4px solid #ff6600;
    border-radius: 25px;
    z-index: -1;
}

/* ==========================================================================
   TOUR PACKAGES TIMELINE LOOP MODULE
   ========================================================================== */

.agaram-package-section {
    padding: 80px 5%;
    background: #f8f9fb;
    overflow: hidden;
}

.agaram-package-heading {
    text-align: center;
    margin-bottom: 60px;
}

.agaram-package-small-title {
    color: #ff6600;
    font-weight: 600;
    text-transform: uppercase;
}

.agaram-package-main-title {
    font-size: 42px;
    margin: 10px 0;
    color: #1e293b;
}

.agaram-package-shine-line {
    width: 120px;
    height: 5px;
    margin: auto;
    border-radius: 50px;
    background: linear-gradient(90deg, #ff6600, #ffd700, #ff6600);
    background-size: 300%;
    animation: agaramShine 3s linear infinite;
}

.agaram-package-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: agaramPackageScroll 35s linear infinite;
}

@keyframes agaramPackageScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.agaram-package-track:hover {
    animation-play-state: paused; /* Pauses on hover for user ease */
}

.agaram-package-card {
    width: 280px;
    background: #fff;
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    flex-shrink: 0;
}

.agaram-package-image-frame {
    border-radius: 20px;
    overflow: hidden;
}

.agaram-package-image-frame img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.agaram-package-card h3 {
    text-align: center;
    margin: 18px 0;
    font-size: 22px;
    color: #334155;
}

.agaram-package-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agaram-view-btn,
.agaram-whatsapp-btn {
    text-decoration: none;
    padding: 12px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
}

.agaram-view-btn {
    background: #ff6600;
    color: #fff;
}

.agaram-whatsapp-btn {
    background: #25D366;
    color: #fff;
}

/* ==========================================================================
   VEHICLE SELECTION MATRIX
   ========================================================================== */

.agaram-vehicle-section {
  padding: 80px 5%;
  background-color: #f8f9fa;
}

.agaram-vehicle-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.agaram-vehicle-title small {
  color: #ff5722;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.agaram-vehicle-title h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin: 10px 0 15px;
  font-weight: 800;
}

.agaram-vehicle-title p {
  color: #7f8c8d;
  line-height: 1.6;
}

.agaram-extra-note {
  display: inline-block;
  margin-top: 10px;
  background: #ffebe6;
  color: #ff5722;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.agaram-vehicle-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.agaram-vehicle-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid #eef2f5;
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.agaram-vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: #ff5722;
}

.agaram-vehicle-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.agaram-vehicle-card:hover img {
  transform: scale(1.05);
}

.agaram-vehicle-card h4 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin: 0 0 20px 0;
  text-align: center;
  font-weight: 700;
  border-bottom: 2px solid #f4f6f8;
  padding-bottom: 10px;
}

.agaram-rate-block {
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-left: 4px solid #34495e;
}

.agaram-rate-block:nth-of-type(2) {
  border-left-color: #ff5722;
}

.agaram-rate-block strong {
  display: block;
  font-size: 0.85rem;
  color: #7f8c8d;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.agaram-rate-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #333;
}

.agaram-rate-row:last-child {
  margin-bottom: 0;
}

.agaram-rate-row span:last-child {
  font-weight: 700;
  color: #2c3e50;
}

.agaram-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
}

.agaram-book-btn {
  flex: 1;
  background: linear-gradient(135deg, #ff5722, #ff7043);
  color: #ffffff;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
  transition: all 0.3s ease;
}

.agaram-book-btn:hover {
  background: linear-gradient(135deg, #e64a19, #ff5722);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
  transform: translateY(-1px);
}

.agaram-contact-icons {
  display: flex;
  gap: 8px;
}

.agaram-contact-icons a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agaram-contact-icons a.call {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.agaram-contact-icons a.whatsapp {
  background-color: #e8f5e9;
  color: #25d366;
  border: 1px solid #c8e6c9;
}

.agaram-contact-icons a:hover {
  transform: translateY(-3px);
}

.agaram-contact-icons a.call:hover {
  background-color: #2e7d32;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.agaram-contact-icons a.whatsapp:hover {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.agaram-seats {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f5f9;
  color: #475569;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: -10px auto 15px auto;
}

.agaram-card-note {
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
  margin: 10px 0 2px 0;
  text-align: center;
}

.agaram-card-exclusions {
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 500;
  text-align: center;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

/* ==========================================================================
   TESTIMONIAL LUXURY SYSTEM
   ========================================================================== */

.testimonial-section {
  background: radial-gradient(circle at 80% 20%, #1e293b 0%, #0f172a 100%);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.testimonial-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.testimonial-header h2 {
  color: #ffffff !important;
  text-align: center;
  margin: 0 auto 15px auto;
  font-size: 38px;
}

.testimonial-header .sub-heading {
  color: #38bdf8;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 28px;
  border-radius: 50px;
  margin: 20px 0 50px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.google-branding {
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding-right: 16px;
}

.google-text {
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
}

.rating-stars-stars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-number {
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
}

.stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.review-count {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
}

.testimonial-slider-container {
  width: 100%;
  overflow-x: hidden;
  padding: 20px 0;
  position: relative;
}

.testimonial-slider-container::before,
.testimonial-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.testimonial-slider-container::before {
  left: 0;
  background: linear-gradient(to right, #0f172a, transparent);
}

.testimonial-slider-container::after {
  right: 0;
  background: linear-gradient(to left, #0f172a, transparent);
}

.testimonial-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: infiniteTicker 45s linear infinite;
}

.testimonial-slider-container:hover .testimonial-track {
  animation-play-state: paused;
}

@keyframes infiniteTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-350px * 6 - 180px)); }
}

.testimonial-card {
  width: 350px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 4px solid #0066cc;
  padding: 30px;
  border-radius: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-top-color: #0099ff;
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 1) 100%);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.user-info h4 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 700;
}

.user-stats {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
  margin-top: 2px;
}

.card-stars {
  color: #fbbf24;
  font-size: 0.9rem;
}

.review-content-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.review-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-date {
  font-size: 0.8rem;
  color: #475569;
  text-align: right;
  font-weight: 500;
}

/* ==========================================================================
   GLOBAL VIEWPORT BREAKPOINT SYSTEMS (Cascading Device Adjustments)
   ========================================================================== */

/* --- LAPTOPS & MID-SIZED DESKTOPS (Max 1200px) --- */
@media(max-width: 1200px) {
    .agaram-hero-content h1 { font-size: 44px; }
    .agaram-vehicle-title h2 { font-size: 2.2rem; }
}

/* --- LARGE TABLETS (Max 992px) --- */
@media(max-width: 992px){
    .agaram-nav-toggle { 
        display: block; /* Turns toggle button on natively if custom menus require it */
    }

    .agaram-hero-section {
        padding-top: 120px;
    }

    .agaram-hero-content h1 { font-size: 38px; }
    .agaram-hero-content p { font-size: 16px; }

    .agaram-services-section,
    .agaram-about-section,
    .agaram-package-section,
    .agaram-vehicle-section {
        padding: 60px 5%;
    }

    .agaram-services-main-title,
    .agaram-about-main-title,
    .agaram-package-main-title {
        font-size: 34px;
    }

    .agaram-about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .agaram-about-content { text-align: center; }
    .agaram-about-shine-line { margin: 15px auto 25px; }
    .agaram-about-image { max-width: 650px; margin: auto; }
    
    /* Converts sliding ticker layouts to native tactile swipe tracks on tablets */
    .testimonial-track {
        animation: none !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 10px 20px;
        width: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .testimonial-slider-container::before,
    .testimonial-slider-container::after {
        display: none;
    }
    
    .testimonial-card {
        scroll-snap-align: center;
        width: 320px;
        flex-shrink: 0;
    }
}

/* --- SMALL TABLETS & LARGE SMARTPHONES (Max 768px) --- */
@media(max-width: 768px){
    .agaram-hero-section {
        min-height: auto;
        padding: 100px 0 60px 0;
    }

    .agaram-hero-content { text-align: center; }
    .agaram-hero-content h1 { font-size: 32px; }
    .agaram-hero-content p { font-size: 15px; }
    .agaram-hero-contact { justify-content: center; font-size: 22px; }
    .agaram-hero-buttons { justify-content: center; }

    .agaram-services-shine-line { width: 90px; margin-bottom: 40px; }
    .agaram-service-icon { width: 80px; height: 80px; font-size: 34px; }
    
    .agaram-package-card { width: 250px; }
    .agaram-package-image-frame img { height: 300px; }
    
    .agaram-vehicle-title h2 { font-size: 1.8rem; }
}

/* --- COMPACT SMARTPHONES (Max 480px) --- */
@media(max-width: 480px){
    .agaram-hero-content h1 { font-size: 26px; }
    .agaram-hero-tag { font-size: 12px; padding: 8px 14px; }
    
    .agaram-btn-book,
    .agaram-btn-package {
        width: 100%;
        text-align: center;
    }

    .agaram-services-main-title,
    .agaram-about-main-title,
    .agaram-package-main-title,
    .testimonial-header h2 {
        font-size: 24px;
    }

    .agaram-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .agaram-service-icon { width: 70px; height: 70px; font-size: 30px; }
    .agaram-service-item h3 { font-size: 14px; }

    .agaram-about-image-frame { padding: 8px; }
    .agaram-about-image-frame::before { top: -6px; left: -6px; border-width: 2px; }

    .agaram-package-card { width: 220px; padding: 10px; }
    .agaram-package-image-frame img { height: 260px; }
    .agaram-package-card h3 { font-size: 18px; }

    .agaram-vehicle-container {
        grid-template-columns: 1fr; /* Stack single column smoothly for very small interfaces */
    }
    
    .google-rating-badge {
        flex-direction: column;
        gap: 12px;
        border-radius: 16px;
        padding: 16px;
    }
    
    .google-branding {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 12px;
        width: 100%;
        justify-content: center;
    }
    
    .testimonial-card {
        width: 275px;
        padding: 20px;
    }
}

/* --- LEGACY SCREEN SIZES (Max 360px) --- */
@media (max-width: 360px){
    .agaram-hero-content h1 { font-size: 22px; }
    .agaram-hero-contact { font-size: 18px; }
    .agaram-services-main-title { font-size: 20px; }
}