 :root {
      --primary-color: #0d3b66;     /* Deep navy blue */
      --secondary-color: #f4a261;   /* Warm sunlit gold */
      --accent-color: #2a9d8f;      /* Serene lake teal */
      --text-dark: #1d2d44;
      --text-muted: #6c757d;
      --bg-light: #f8f9fa;
      --white: #ffffff;
      --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
      --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
      --transition: all 0.3s ease-in-out;
      --radius: 12px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    body {
      color: var(--text-dark);
      background-color: var(--bg-light);
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    /* ==========================================================================
       2. Header & Navigation
       ========================================================================== */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      box-shadow: var(--shadow-sm);
      z-index: 1000;
      transition: var(--transition);
    }

    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 1rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
    }

    .logo {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--primary-color);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      z-index: 1001;
    }

    .logo i {
      color: var(--secondary-color);
    }

    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--primary-color);
      cursor: pointer;
      z-index: 1001;
      padding: 0.2rem;
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 2rem;
      align-items: center;
    }

    .nav-links a {
      font-weight: 500;
      transition: var(--transition);
    }

    .nav-links a:hover, .nav-links a.active {
      color: var(--accent-color);
    }

    .btn-primary {
      background: var(--primary-color);
      color: var(--white);
      padding: 0.6rem 1.4rem;
      border-radius: 30px;
      font-weight: 600;
      transition: var(--transition);
      display: inline-block;
      border: none;
      cursor: pointer;
      text-align: center;
    }

    .btn-primary:hover {
      background: var(--accent-color);
    }

    .btn-secondary {
      background: var(--secondary-color);
      color: var(--white);
      padding: 0.6rem 1.4rem;
      border-radius: 30px;
      font-weight: 600;
      transition: var(--transition);
      display: inline-block;
      text-align: center;
    }

    .btn-secondary:hover {
      background: #e76f51;
    }

    /* ==========================================================================
       3. Home Hero Section
       ========================================================================== */
    .hero-home {
      position: relative;
      height: 85vh;
      min-height: 550px;
      background: url("./sunnyapartments_images/all.webp");
    background-position: center;
      background-repeat:no-repeat; 
      background-size: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--white);
      margin-top: 65px;
      overflow: hidden;
    }

    .hero-content {
      max-width: 850px;
      padding: 0 1.5rem;
      position: relative;
      z-index: 5;
    }

    .hero-content h1 {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 1.2rem;
      line-height: 1.2;
    }

    .hero-content p {
      font-size: 1.25rem;
      margin-bottom: 2rem;
      opacity: 0.95;
    }

    .hero-btns {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* Quick Search / Filter Bar */
    .quick-bar {
      max-width: 1000px;
      margin: -40px auto 0;
      background: var(--white);
      border-radius: var(--radius);
      padding: 1.5rem 2rem;
      box-shadow: var(--shadow-lg);
      position: relative;
      z-index: 10;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.5rem;
      align-items: center;
      width: calc(100% - 2rem);
    }

    .filter-item {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }

    .filter-item label {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-muted);
    }

    .filter-item select {
      padding: 0.6rem;
      border: 1px solid #ddd;
      border-radius: 6px;
      outline: none;
      font-size: 0.95rem;
      background: #fff;
    }

    /* ==========================================================================
       4. Core Sections Layout
       ========================================================================== */
    .section {
      padding: 5rem 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-title h2 {
      font-size: 2.3rem;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
    }

    .section-title p {
      color: var(--text-muted);
      font-size: 1.05rem;
    }

    /* ==========================================================================
       5. Overlapping Rolling Wheels & Fast Counters Section
       ========================================================================== */
    .counter-section {
      background: linear-gradient(135deg, #1b4965, var(--primary-color));
      padding: 6rem 2rem;
      color: var(--white);
      position: relative;
      overflow: hidden;
      margin: 3rem 0;
    }

    .counter-grid {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      position: relative;
    }

    .counter-card {
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: var(--radius);
      padding: 2.5rem 1.5rem;
      text-align: center;
      position: relative;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    /* Overlapping Effect via Alternating Margins */
    .counter-card:nth-child(1) { margin-top: 0px; z-index: 4; }
    .counter-card:nth-child(2) { margin-top: 25px; margin-left: -20px; z-index: 3; }
    .counter-card:nth-child(3) { margin-top: -15px; margin-left: -20px; z-index: 2; }
    .counter-card:nth-child(4) { margin-top: 10px; margin-left: -20px; z-index: 1; }

    .counter-card:hover {
      transform: translateY(-12px) scale(1.03);
      z-index: 10;
      border-color: var(--secondary-color);
      box-shadow: 0 15px 35px rgba(244, 162, 97, 0.25);
    }

    .wheel-wrapper {
      position: relative;
      display: inline-block;
      margin-bottom: 1rem;
    }

    .wheel-icon {
      font-size: 2.8rem;
      color: var(--secondary-color);
      display: inline-block;
      animation: spinWheel 2.5s linear infinite;
    }

    @keyframes spinWheel {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .counter-number {
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1;
      margin-bottom: 0.5rem;
      letter-spacing: -1px;
    }

    .counter-label {
      font-size: 0.95rem;
      color: #e0e6ed;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* ==========================================================================
       6. Units Cards Section
       ========================================================================== */
    .units-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 2rem;
    }

    .unit-card {
      background: var(--white);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      border: 1px solid #eee;
    }

    .unit-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-lg);
    }

    .unit-img {
      position: relative;
      height: 220px;
    }

    .unit-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .unit-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      background: var(--secondary-color);
      color: var(--white);
      padding: 0.3rem 0.8rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
    }

    .unit-details {
      padding: 1.5rem;
    }

    .unit-details h3 {
      font-size: 1.3rem;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
    }

    .unit-features {
      display: flex;
      gap: 1.2rem;
      margin: 1rem 0;
      color: var(--text-muted);
      font-size: 0.9rem;
      flex-wrap: wrap;
    }

    .unit-features span {
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .unit-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 1.2rem;
      padding-top: 1rem;
      border-top: 1px solid #eee;
    }

    .price {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--accent-color);
    }

    /* ==========================================================================
       6.5 Reviews & Testimonials Section
       ========================================================================== */
    .reviews-section-wrapper {
      background: #f0f4f8;
      border-radius: var(--radius);
      padding: 4rem 2rem;
      margin: 1rem 0 3rem;
    }

    .rating-summary-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      margin-top: -1.5rem;
      margin-bottom: 2.5rem;
      flex-wrap: wrap;
      text-align: center;
    }

    .rating-score-badge {
      background: var(--white);
      padding: 0.6rem 1.4rem;
      border-radius: 30px;
      box-shadow: var(--shadow-sm);
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-weight: 700;
      color: var(--primary-color);
      font-size: 1rem;
    }

    .rating-score-badge .stars {
      color: var(--secondary-color);
      font-size: 0.9rem;
    }

    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 2rem;
    }

    .review-card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 2rem;
      box-shadow: var(--shadow-sm);
      border: 1px solid #e9ecef;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: var(--transition);
      position: relative;
    }

    .review-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
      border-color: rgba(42, 157, 143, 0.4);
    }

    .review-quote-icon {
      position: absolute;
      top: 1.5rem;
      right: 1.8rem;
      font-size: 2.2rem;
      color: rgba(13, 59, 102, 0.08);
    }

    .review-header {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      color: var(--secondary-color);
      font-size: 0.95rem;
      margin-bottom: 1rem;
    }

    .review-text {
      color: var(--text-dark);
      font-size: 0.98rem;
      line-height: 1.7;
      font-style: italic;
      margin-bottom: 1.8rem;
    }

    .reviewer-profile {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding-top: 1rem;
      border-top: 1px solid #f1f3f5;
    }

    .reviewer-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
      color: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.1rem;
      flex-shrink: 0;
      text-transform: uppercase;
      box-shadow: 0 4px 10px rgba(13, 59, 102, 0.2);
    }

    .reviewer-details h4 {
      font-size: 1rem;
      color: var(--primary-color);
      font-weight: 700;
      line-height: 1.2;
    }

    .reviewer-details p {
      font-size: 0.82rem;
      color: var(--text-muted);
      margin-top: 0.2rem;
    }

    .verified-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      color: var(--accent-color);
      font-size: 0.78rem;
      font-weight: 600;
      margin-top: 0.3rem;
    }

    /* ==========================================================================
       7. Location Highlight Banner
       ========================================================================== */
    .location-banner {
      background: linear-gradient(135deg, var(--primary-color), #1b4965);
      color: var(--white);
      border-radius: var(--radius);
      padding: 4rem 2rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .location-info h2 {
      font-size: 2.2rem;
      margin-bottom: 1rem;
    }

    .location-info p {
      opacity: 0.9;
      margin-bottom: 1.5rem;
    }

    .location-list {
      list-style: none;
      margin-bottom: 2rem;
    }

    .location-list li {
      margin-bottom: 0.6rem;
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }

    .location-list i {
      color: var(--secondary-color);
    }

    .map-box {
      width: 100%;
      height: 320px;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }

    .map-box iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }

    /* ==========================================================================
       8. Booking Modal
       ========================================================================== */
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }

    .modal-content {
      background: var(--white);
      width: 100%;
      max-width: 500px;
      border-radius: var(--radius);
      padding: 2rem;
      position: relative;
      box-shadow: var(--shadow-lg);
      max-height: 90vh;
      overflow-y: auto;
    }

    .modal-close {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--text-muted);
    }

    .modal-content h3 {
      color: var(--primary-color);
      margin-bottom: 1rem;
    }

    .form-group {
      margin-bottom: 1.2rem;
    }

    .form-group label {
      display: block;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
    }

    .form-group input, .form-group select, .form-group textarea {
      width: 100%;
      padding: 0.7rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 0.95rem;
      background: #fff;
    }

    /* ==========================================================================
       9. Footer
       ========================================================================== */
    footer {
      background: var(--primary-color);
      color: var(--white);
      padding: 3rem 2rem 1.5rem;
      text-align: center;
      margin-top: 4rem;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 2rem;
      margin-bottom: 2rem;
      text-align: left;
    }

    .footer-section h4 {
      color: var(--secondary-color);
      margin-bottom: 1rem;
    }

    /* ==========================================================================
       10. Smartphone Optimization & Responsive Breakpoints
       ========================================================================== */
    @media (max-width: 992px) {
      .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
      }
      .counter-card {
        margin-top: 0 !important;
        margin-left: 0 !important;
      }
    }

    @media (max-width: 768px) {
      .mobile-menu-btn {
        display: block;
      }

      .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 1.5rem;
        gap: 1.2rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease-in-out;
      }

      .nav-links.active {
        max-height: 400px;
        opacity: 1;
      }

      .hero-home {
        height: auto;
        min-height: 70vh;
          background: url("./sunnyapartments_images/wholebuilding.webp");
         background-position-x:80%;
         background-position-y: center;
      background-repeat:no-repeat; 
      background-size: 200%;
      display: flex;
        padding: 4rem 0 5rem;
      }

      .hero-content h1 {
        font-size: 2.1rem;
      }

      .hero-content p {
        font-size: 1rem;
      }

      .hero-btns {
        flex-direction: column;
        width: 100%;
      }

      .hero-btns .btn-primary,
      .hero-btns .btn-secondary {
        width: 100%;
      }

      .quick-bar {
        grid-template-columns: 1fr;
        padding: 1.2rem;
        margin-top: -30px;
      }

      .section {
        padding: 3.5rem 1.25rem;
      }

      .section-title h2 {
        font-size: 1.8rem;
      }

      .counter-section {
        padding: 4rem 1.25rem;
      }

      .counter-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
      }

      .units-grid,
      .reviews-grid {
        grid-template-columns: 1fr;
      }

      .reviews-section-wrapper {
        padding: 2.5rem 1.25rem;
      }

      .location-banner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.25rem;
        gap: 2rem;
      }

      .location-info h2 {
        font-size: 1.8rem;
      }

      .footer-content {
        flex-direction: column;
        gap: 1.5rem;
      }
    }

    @media (max-width: 480px) {
      .nav-container {
        padding: 0.8rem 1rem;
      }

      .logo {
        font-size: 1.15rem;
      }

      .hero-content h1 {
        font-size: 1.8rem;
      }

      .counter-card {
        padding: 1.8rem 1rem;
      }

      .counter-number {
        font-size: 2.2rem;
      }

      .wheel-icon {
        font-size: 2.2rem;
      }

      .modal-content {
        padding: 1.5rem 1rem;
      }
    }