/*
Theme Name: iconic--desingindia
Theme URI: https://iconicdesignindia.com
Author: Iconic Design India Team
Author URI: https://iconicdesignindia.com
Description: Custom interior and architectural design theme built for Iconic Design India.
Version: 1.0.0
Text Domain: iconic-designindia
*/

/* ==========================================================================
       1. GLOBAL VARIABLES & RESET
       ========================================================================== */
    :root {
      --navy-dark: #05101E;
      --navy-main: #0B192E;
      --navy-light: #112240;
      --gold-main: #C08237;
      --gold-hover: #A66E2B;
      --text-dark: #0F172A;
      --text-muted: #64748B;
      --bg-light: #F8FAFC;
      --bg-white: #FFFFFF;
      --border-color: #E2E8F0;
      --border-dark: rgba(255, 255, 255, 0.12);
      --container-max: 1280px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      color: var(--text-dark);
      background-color: var(--bg-white);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

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

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

    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }

    .section-padding {
      padding: 40px 0;
    }


    /* ==========================================================================
       2. HEADER & NAVIGATION STYLES (START)
       ========================================================================== */
    /* --- Top Bar --- */
    .top-bar {
      background-color: var(--navy-dark);
      color: #fff;
      font-size: 0.78rem;
      padding: 8px 0;
      border-bottom: 1px solid var(--border-dark);
    }

    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .top-bar-welcome {
      display: flex;
      align-items: center;
      gap: 8px;
      opacity: 0.9;
    }

    .top-bar-right {
      display: flex;
      align-items: center;
      gap: 25px;
    }

    .top-bar-item {
      display: flex;
      align-items: center;
      gap: 8px;
      opacity: 0.9;
    }

    .top-bar-socials {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .top-bar-socials a {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      transition: all 0.3s ease;
    }

    .top-bar-socials a:hover {
      background: var(--gold-main);
      transform: translateY(-2px);
    }

    /* --- Navbar & Main Navigation --- */
    .navbar {
      background: #fff;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
      transition: all 0.3s ease;
    }

    .navbar.scrolled {
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
      height: 75px;
    }

    .navbar .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 85px;
      transition: height 0.3s ease;
    }

    .navbar.scrolled .container {
      height: 75px;
    }

    .brand-logo {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 4px 0;
    }

    .logo-img {
      height: 90px;
      width: auto;
      object-fit: contain;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: crisp-edges;
      filter: contrast(1.05) brightness(1.02);
      transition: transform 0.3s ease, height 0.3s ease;
    }

    .navbar.scrolled .logo-img {
      height: 70px;
    }

    .brand-logo:hover .logo-img {
      transform: scale(1.03);
    }

    .nav-menu {
      display: flex;
      list-style: none;
      gap: 22px;
      align-items: center;
    }

    .nav-item {
      position: relative;
    }

    .nav-menu a {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--text-dark);
      padding: 8px 0;
      position: relative;
      transition: color 0.3s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .nav-menu a.active {
      color: var(--navy-main);
      font-weight: 700;
    }

    .nav-menu a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0%;
      height: 2.5px;
      background-color: var(--gold-main);
      transition: width 0.3s ease;
    }

    .nav-menu a.active::after,
    .nav-menu a:hover::after {
      width: 100%;
    }

    .nav-menu a:hover {
      color: var(--gold-main);
    }

    /* --- Submenu Dropdown (Desktop) --- */
    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #FFFFFF;
      min-width: 220px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
      border-radius: 6px;
      padding: 10px 0;
      list-style: none;
      opacity: 0;
      visibility: hidden;
      transform: translateY(15px);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 1001;
      border-top: 3px solid var(--gold-main);
    }

    .dropdown-menu li a {
      padding: 10px 20px;
      font-size: 0.82rem;
      color: var(--text-dark);
      display: block;
      transition: all 0.2s ease;
    }

    .dropdown-menu li a::after {
      display: none;
    }

    .dropdown-menu li a:hover {
      background-color: var(--bg-light);
      color: var(--gold-main);
      padding-left: 24px;
    }

    .nav-item.dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .dropdown-chevron {
      font-size: 0.65rem;
      transition: transform 0.3s ease;
    }

    .nav-item.dropdown:hover .dropdown-chevron {
      transform: rotate(180deg);
    }

    /* --- Mobile Navigation Drawer & Backdrop --- */
    .mobile-nav-toggle {
      display: none;
      background: transparent;
      border: none;
      font-size: 1.5rem;
      color: var(--navy-main);
      cursor: pointer;
      padding: 8px;
      z-index: 1002;
    }

    .nav-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(5, 16, 30, 0.6);
      backdrop-filter: blur(3px);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .nav-backdrop.active {
      opacity: 1;
      visibility: visible;
    }
    /* ==========================================================================
       HEADER & NAVIGATION STYLES (END)
       ========================================================================== */


    /* ==========================================================================
       3. GENERAL UI ELEMENTS & BUTTONS
       ========================================================================== */
    .sub-title {
      color: var(--gold-main);
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 30px;
    }

    .section-header h2 {
      font-size: 2.1rem;
      font-weight: 800;
      color: var(--navy-main);
      letter-spacing: -0.5px;
    }

    .view-all {
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--navy-main);
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.3s ease;
    }

    .view-all i {
      transition: transform 0.3s ease;
    }

    .view-all:hover {
      color: var(--gold-main);
    }

    .view-all:hover i {
      transform: translateX(4px);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 24px;
      border-radius: 4px;
      font-size: 0.88rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      white-space: nowrap;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(11, 25, 46, 0.15);
    }

    .btn-icon {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: 1px solid currentColor;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.65rem;
      transition: transform 0.3s ease;
    }

    .btn:hover .btn-icon {
      transform: translateX(3px);
    }

    .btn-navy {
      background-color: var(--navy-main);
      color: #fff;
      border: 1px solid var(--navy-main);
    }

    .btn-navy:hover {
      background-color: var(--navy-light);
    }

    .btn-outline {
      background-color: transparent;
      color: var(--navy-main);
      border: 1px solid #C4CBD5;
    }

    .btn-outline:hover {
      border-color: var(--navy-main);
      background-color: rgba(11, 25, 46, 0.02);
    }

    .btn-gold {
      background-color: var(--gold-main);
      color: #fff;
      border: none;
      padding: 10px 22px;
      border-radius: 6px;
      font-size: 0.88rem;
    }

    .btn-gold:hover {
      background-color: var(--gold-hover);
      box-shadow: 0 8px 20px rgba(192, 130, 55, 0.3);
    }


    /* ==========================================================================
       13. FOOTER STYLES (START)
       ========================================================================== */
    footer {
      background-color: var(--navy-main);
      color: #94A3B8;
      padding: 50px 0 20px 0;
      font-size: 0.8rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1.5fr 1.5fr 2fr;
      gap: 30px;
      margin-bottom: 40px;
    }

    .footer-col h4 {
      color: #fff;
      font-size: 0.9rem;
      font-weight: 700;
      margin-bottom: 18px;
    }
     .footer-grid h4
       {
		color: #FFFFFF;
		font-size: 0.9rem;
		font-weight: 700;
		letter-spacing: 0.5px;
		margin-bottom: 20px;
		text-transform: uppercase;
      }
			
    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 8px;
    }

    .footer-links a {
      transition: all 0.2s ease;
      display: inline-block;
    }

    .footer-links a:hover {
      color: #fff;
      transform: translateX(3px);
    }

    .contact-line {
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
    }

    .newsletter-field {
      display: flex;
      margin-top: 12px;
    }

    .newsletter-field input {
      padding: 8px 12px;
      border: none;
      border-radius: 4px 0 0 4px;
      outline: none;
      width: 100%;
      font-size: 0.78rem;
    }

    .newsletter-field button {
      background: var(--gold-main);
      color: #fff;
      border: none;
      padding: 0 12px;
      border-radius: 0 4px 4px 0;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .newsletter-field button:hover {
      background-color: var(--gold-hover);
    }

    .footer-bottom {
      border-top: 1px solid var(--border-dark);
      padding-top: 20px;
      display: flex;
      justify-content: space-between;
      font-size: 0.72rem;
    }
    /* ==========================================================================
       FOOTER STYLES (END)
       ========================================================================== */


    /* ==========================================================================
       14. RESPONSIVE MEDIA QUERIES
       ========================================================================== */
    @media (max-width: 1120px) {
      .nav-menu {
        gap: 14px;
      }
      .nav-menu a {
        font-size: 0.82rem;
      }
      .hero-content h1 {
        font-size: 3.2rem;
      }
      .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
      }
      .feature-card {
        border-right: none;
        padding: 15px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 6px;
      }
      .projects-track .project-card {
        flex: 0 0 calc((100% - 40px) / 3);
      }
      .services-grid, .process-grid, .why-grid, .footer-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    /* Tablet & Mobile Header Adjustments */
    @media (max-width: 991px) {
      .section-padding {
        padding: 35px 0;
      }

      .logo-img {
        height: 65px;
      }

      .top-bar-welcome {
        display: none;
      }
      .top-bar .container {
        justify-content: center;
      }
      .mobile-nav-toggle {
        display: block;
      }

      .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 310px;
        height: 100vh;
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 25px 40px 25px;
        gap: 0;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        overflow-y: auto;
      }

      .nav-menu.mobile-active {
        transform: translateX(0);
      }

      .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
      }

      .nav-menu a {
        font-size: 1rem;
        padding: 14px 0;
        width: 100%;
        justify-content: space-between;
      }

      .nav-menu a::after {
        display: none;
      }

      .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding: 0 0 10px 15px;
        display: none;
        background-color: var(--bg-light);
        border-radius: 4px;
        margin-bottom: 10px;
      }

      .nav-item.dropdown.open .dropdown-menu {
        display: block;
      }

      .nav-item.dropdown.open .dropdown-chevron {
        transform: rotate(180deg);
      }

      .dropdown-menu li a {
        padding: 8px 12px;
        font-size: 0.88rem;
      }

      
    }

    @media (max-width: 768px) {
      .top-bar-socials {
        display: none !important;
      }

      .top-bar {
        font-size: 0.72rem;
      }
      .top-bar-right {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
      }
      .hero-content h1 {
        font-size: 2.3rem;
      }
      .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
      }
      
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
      }
    }

    @media (max-width: 480px) {
    }
