

:root {

    /**
     * colors
     */
     --text-color: #333;
     --light-color: hsl(192, 15%, 94%);
     --accent-color: hsl(204, 70%, 53%);
    --oxford-blue_60: hsla(224, 34%, 13%, 0.6);
    --green-pigment: hsl(0, 80%, 47%);
    --oxford-blue: hsl(224, 34%, 13%);
    --maximum-red: hsl(0, 72%, 51%);
    --eerie-black: hsl(214, 87%, 24%);
    --mint-cream: hsl(146, 41%, 97%);
    --cadet-gray: hsl(215, 20%, 65%);
    --light-gray: hsl(216, 12%, 84%);
    --carcoal_20: hsla(214, 19%, 29%, 0.2);
    --carcoal_15: hsla(214, 19%, 29%, 0.15);
    --carcoal_10: hsla(214, 19%, 29%, 0.10);
    --sea-green: hsl(142, 72%, 29%);
    --gainsboro: hsl(220, 13%, 91%);
    --white_70: hsla(0, 0%, 100%, 0.7);
    --gunmetal: hsl(215, 28%, 17%);
    --manatee: hsl(218, 11%, 65%);
    --mango: hsl(43, 96%, 56%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
  
    /**
     * typography
     */
  
 
    --ff-spartan: Georgia, 'Times New Roman', Times, serif;
  
    --fs-1: 3.6rem;
    --fs-2: 2.4rem;
    --fs-3: 2rem;
    --fs-4: 1.8rem;
    --fs-5: 1.7rem;
  
    --fw-600: 600;
    --fw-500: 500;
  
    /**
     * spacing
     */
  
    --section-padding: 35px;
  
    /**
     * shadow
     */
     --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-1: 0 1px 2px hsla(0, 0%, 0%, 0.2);
    --shadow-2: 0 10px 15px -5px var(--carcoal_20);
    --shadow-3: 0 10px 25px -3px var(--carcoal_20);
    --shadow-4: 0 0 3px var(--carcoal_15);
    --shadow-5: 0 20px 25px -5px var(--carcoal_10),
      0 10px 10px -5px var(--carcoal_10);
  
    /**
     * border radius
     */
  
    --radius-16: 16px;
    --radius-12: 12px;
    --radius-6: 6px;
    --radius-4: 4px;
  
    /**
     * transition
     */
     --transition: all 0.3s ease;
    --transition-nav: 0.25s ease;
    --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
  
  }
  


/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-family: var(--ff-spartan);
    font-size: 10px;
    scroll-behavior: smooth;
  }
body {
    background-color: var(--white);
    font-size: var(--fs-5);
    color: var(--cadet-gray);
  }
  
h1,
h2,
h3,
h4 {
    margin-bottom: 1rem;
    color: var(--eerie-black);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.5;
}

img {
    /* max-width: 100%; */
    height: auto;
}

.container {
    padding-inline: 15px;
    margin-inline: auto;
}

.btn {
    background-color: var(--green-pigment);
    color: var(--white);
    font-weight: var(--fw-500);
    max-width: max-content;
    padding: var(--padding, 12px 28px);
}

.btn:is(:hover, :focus) {
    background-color: var(--sea-green);
}
.btn-secondary {
    border-radius: 50px;
  }
  
  .btn-primary {
    border-radius: var(--radius-6);
  
  }
  a{
    text-decoration: none;
    display: block;
    color: inherit;
  }


/* article */

  .article {
    position: relative;
  }

 
  
/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
    
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-block: 1px;
    z-index: 4;
}

.header.active {
    box-shadow: var(--shadow-1);
}

.header>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.logo {
    font-size: 2.2rem;
    font-weight: var(--fw-600);
    color: var(--black);
    width: 150px;
}



.nav-toggle-btn {
    font-size: 35px;
    color: var(--oxford-blue);
    border: none;
    background-color: var(--white);
}

.nav-toggle-btn ion-icon {
    --ionicon-stroke-width: 30px;
}

.nav-toggle-btn.active .menu-icon,
.nav-toggle-btn .close-icon {
    display: none;
}

.nav-toggle-btn .menu-icon,
.nav-toggle-btn.active .close-icon {
    display: block;
}

.header .btn {
    margin-inline-start: auto;
}

.navbar {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: var(--white);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.25s var(--cubic-out);
}

.navbar.active {
    max-height: 350px;
    visibility: visible;
    box-shadow: var(--shadow-1);
    transition-duration: 0.5s;
}

.navbar-list {
    margin-block: 10px;
    opacity: 0;
    transition: var(--transition-nav);
}
.navbar-list li {
    list-style: none;
  }

.navbar.active .navbar-list {
    opacity: 1;
}

.navbar-link {
    color: var(--oxford-blue);
    font-weight: var(--fw-500);
    letter-spacing: 1px;
    padding: 12px 25px;
}

.navbar-link:is(:hover, :focus) {
    color: var(--green-pigment);
}


/*-----------------------------------*\
  #HERO
\*-----------------------------------*/
.hero {
    padding-block-start: 80px;
  }
  
  .hero-bg {
    background-image: url("../images/Pragathi_Properties_Banner/7.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-16);
    overflow: hidden;
  }
  
  .hero-content {
    background-color: var(--oxford-blue_60);
    padding-block: 180px;
    padding-inline: 40px;
    display: grid;
    
    place-content: center;
    text-align: center;
  }
  
  .hero-title {
    max-width: 24ch;
    margin-inline: auto;
    color: var(--white);
    line-height: 1.5;
    margin-block-end: 20px;
    font-size: var(--fs-1);
  }
  
  .hero-title .span {
    display: inline-block;
    color: var(--green-pigment);
  }
  
  .hero-text {
    color: var(--white_70);
    font-size: var(--fs-3);
    line-height: 1.4;
  }
  

/* Services */


.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--maximum-red);
}

/* Services Section */
.services-section {
    padding-block-start: 80px;
}
.service-content{
    text-align:justify;
}
.services-scroll-container {
    overflow-x: auto;
    padding: 2rem 0;
    margin: 0 auto;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--maximum-red) var(--light-color);
}

.services-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.services-scroll-container::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 10px;
}

.services-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--maximum-red);
    border-radius: 10px;
}

.services-grid {
    display: flex;
    gap: 2rem;
    padding-bottom: 1rem;
    overflow: auto;
    width: 100%;
    margin: auto;
}

.service-card {
    min-width: 50%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img {
    /* height: 200px; */
    width: 100%;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--eerie-black);
    margin-bottom: 0.5rem;
}

/* Associated With Section */
.associated-section {
    background-color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

.associated-description {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.associated-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.logo-item {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Loan Types Section */
.loan-types {
    padding: 4rem 0;
}

.loan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.loan-card {
    text-align: justify;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.loan-card:hover {
    transform: translateY(-5px);
}

.loan-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 5px solid var(--light-color);
}

.loan-icon img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Project Loan Section */
.project-loan {
    background-color: var(--light-color);
    padding: 4rem 0;
}

.project-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-image {
    width: 80%;
    max-width: 800px;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-content {
    max-width: 80%;
    text-align: center;
}

/* Info Cards Section */
.info-cards {
    padding: 4rem 0;
    background-color: var(--eerie-black);
    color: white;
}

.info-cards .section-title h2 {
    color: white;
}

.info-cards .section-title h2::after {
    background-color: var(--accent-color);
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.info-card {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.info-card p{
color:inherit;
}
.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.info-card h3 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.info-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Documents Section */
.documents-section {
    padding: 4rem 0;
    background-color: white;
}

.documents-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.document-list {
    margin: 2rem 0;
}

.document-category {
    margin-bottom: 2rem;
}

.document-category h4 {
    background-color: var(--light-color);
    padding: 0.5rem 1rem;
    border-left: 4px solid var(--maximum-red);
}

.document-items {
    list-style-type: decimal;
    /* Numbers for main list */
    padding-left: 20px;
    color: var(--black);
}

.document-items ul {
    list-style-type: disc;
    /* Bullets for inner list */
    padding-left: 20px;
}

.document-items li {
    padding-top: 10px;
}

.download-btn {
    text-align: center;
    margin-top: 2rem;
}



/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
    background-color: var(--eerie-black);
    color: var(--light-gray);
    margin-block-start: 100px;
   
}
footer li{
    list-style-type: none;
}
.footer .logo {
    color: var(--white);
    font-weight: var(--fw-500);
    margin-block-end: 25px;
}

.footer-text {
    line-height: 1.6;
    color: var(--light-gray);
}

.footer-top {
    padding-block: 60px;
}

.footer-top .container {
    display: grid;
    gap: 30px;
}

.footer-list-title {
    color: var(--mint-cream);
    font-weight: var(--fw-600);
    letter-spacing: 1px;
    margin-block-end: 25px;
}

.footer-list li:not(:last-child) {
    margin-block-end: 15px;
}

.footer-link {
    
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-nav);
}

.footer-link ion-icon {
    font-size: 14px;
}

.footer-link:is(:hover, :focus) {
    opacity: 0.8;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-item:nth-child(2) {
    align-items: flex-start;
}

.footer-list .footer-item:not(:last-child) {
    margin-block-end: 25px;
}

.footer-item ion-icon {
    color: var(--green-pigment);
    font-size: 22px;
    --ionicon-stroke-width: 40px;
}

.address {
    line-height: 1.5;
}

.address-link {
    color: var(--green-pigment);
    margin-block-start: 10px;
    transition: var(--transition-nav);
}

.address-link:is(:hover, :focus) {
    opacity: 0.8;
}

.footer-bottom {
    border-block-start: 1px solid var(--gunmetal);
    padding-block: 30px;
    text-align: center;
}

.copyright {
    line-height: 1.6;
    margin-block-end: 30px;
    color: inherit;
}

.copyright-link {
    display: inline-block;
}

.social-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.social-link {
    color: var(--manatee);
    border: 1px solid var(--gunmetal);
    padding: 4px;
    border-radius: var(--radius-6);
}

.social-link:is(:hover, :focus) {
    background-color: var(--green-pigment);
    border-color: var(--green-pigment);
    color: var(--white);
}





/*-----------------------------------*\
    #BACK TO TOP
  \*-----------------------------------*/

.back-top-btn {
    height: 38px;
    position: fixed;
    bottom: 10px;
    right: 20px;
    background-color: var(--green-pigment);
    color: var(--white);
    font-size: 14px;
    padding: 12px;
    border-radius: 50px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-nav);
    z-index: 4;
}

.back-top-btn.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(-10px);
}


/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 640px screen
 */

@media (min-width: 640px) {
/**
   * REUSED STYLE
   */

   .container {
    /* max-width: 640px; */
    width: 90%;
    margin-inline: auto;
  }
.hero .container{
    width:100%;
}
  /**
   * HERO
   */

   .hero .container {
    max-width: unset;
  }

  .hero-form-wrapper {
    max-width: 600px;
    margin-inline: auto;
    background-color: unset;
  }

  .hero .form-tab,
  .hero-form {
    background-color: var(--white);
  }

  .hero .form-tab {
    max-width: max-content;
    border-top-left-radius: var(--radius-16);
    border-top-right-radius: var(--radius-16);
  }

  .hero-form {
    border-top-right-radius: var(--radius-16);
  }
    /**
     * FOOTER
     */

    .footer {
        padding-block-start: 130px;
    }

}

/**
   * responsive for larger than 768px screen
   */

@media (min-width: 768px) {

    /**
     * CUSTOM PROPERTY
     */

    :root {

        /**
       * typography
       */

        --fs-2: 3rem;

    }
     /**
   * HERO
   */

  .hero-content {
    text-align: left;
    padding-inline: calc(50% - 350px);
  }

  .hero-title {
    margin-inline: 0;
  }

  .hero-text {
    max-width: 50ch;
  }

  .hero-form {
    grid-template-columns: 1fr 1fr;
  }



    /**
     * FOOTER
     */

    .footer {
        padding-block-start: 80px;
    }

    .footer-top .container {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 50px;
        font-size: var(--fs-3);
        
    }

    .footer-brand {
        grid-column: 1 / 4;
    }

    .footer-bottom .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .copyright {
        margin-block-end: 0;
    }

}





/**
   * responsive for larger than 992px screen
   */

@media (min-width: 992px) {

    /**
     * CUSTOM PROPERTY
     */

    :root {

        /**
       * typography
       */

        --fs-1: 4.8rem;

        /**
       * spacing
       */

        --section-padding: 40px;

    }



    /**
     * HEADER
     */

    .header>.container {
        gap: 30px;
    }

    .nav-toggle-btn {
        display: none;
    }

    .navbar,
    .navbar.active {
        all: unset;
        margin-inline-start: auto;
    }

    .navbar-list {
        margin-block: 0;
        opacity: 1;
        display: flex;
    }

    .navbar-link {
        padding-inline: 20px;
    }

    .header .btn {
        margin-inline-start: 0;
    }

  /**
   * HERO
   */

   .hero-content {
    padding-inline: calc(50% - 450px);
  }

  .hero-form {
    grid-template-columns: repeat(4, 1fr);
  }


    /**
     * FOOTER
     */

    .footer-brand {
        grid-column: auto;
    }

    .footer-top .container {
        grid-template-columns: 1fr 0.5fr 0.6fr 0.7fr;
    }

}
@media (min-width: 1200px) {

    /**
     * REUSED STYLE
     */
  
    .container,
    .hero-form-wrapper {
      max-width: 1120px;
    }
  
  
  
    /**
     * HERO
     */
  
    .hero-content {
      padding-inline: calc(50% - 560px);
    }
  
  
  
    /**
     * ABOUT
     */
  
    .about .section-text {
      max-width: unset;
      
    }
  
  }



/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-grid {
        gap: 1rem;
    }
.service-card{
    min-width:100%;
}

    .logo-item {
        width: 100px;
        height: 70px;
    }

    .project-image {
        width: 95%;
    }

    .info-card {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .loan-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 330px){
    .header .btn{
        padding: 7px;
        font-size: var(--fs-5);

    }
}