@import url('https://fonts.googleapis.com/css?family=Lora:400,400i');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab');
html,
body,
.c{
    height: 100%;
   
}

.heroText h1{
  position: relative;
  display: inline-block;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 25%,
    #000 75%,
    transparent 100%
  );
  -webkit-mask-size: 240% 100%;
  -webkit-mask-position: 240% 0;
  animation: sweep 6.5s ease-in-out infinite;
}

@keyframes sweep{
  to{ -webkit-mask-position: -240% 0; }
}






#cover{
    background:url("../img/garage-door.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-install{
    background:url("../img/garage-door-installation.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-repair{
    background:url("../img/garage-door-repair.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-res{
    background:url("../img/residential.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-comm{
    background:url("../img/commercial.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-opener{
    background:url("../img/garage-opener.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-maintenance{
    background:url("../img/garage-door-maintenance.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-parts{
    background:url("../img/parts.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}


#cover-spring{
    background:url("../img/spring.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-track{
    background:url("../img/track.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-rollers{
    background:url("../img/rollers.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}


#cover-cable{
    background:url("../img/cables.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-panel{
    background:url("../img/panel.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}

#cover-hardware{
    background:url("../img/hardware.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
     overflow: hidden;
    
}


.welcome-text {
    font-size: 32px;
    font-weight: bold;
}



.fixed-top{
    max-width: 1300px;
    margin:auto;
    transition: 0.2 all linear;
   
   
}
h1{
     margin-top: 20% !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700 !important;
    font-size: 70px !important;
    color: #fff ;
   
}
.hero h2{
    
    font-family: 'Lora', serif ;
    color: #fff !important;
    font-size: 45px !important;
    font-style: italic;
    margin-bottom: 20px !important;
}


.hero p{
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 40px;
}

.circle-text {
    display: inline-block;
    padding: 40px 60px;
    border: 4px solid #ff6600;
    border-radius: 50%;
    position: relative;
    text-align: center;
}
.btn-primary{
    font-family: 'Montserrat', sans-serif !important;
    background-color: #ffffff !important;
    color: #50372b;
    border-style: none !important;
    font-size: 35px !important;
    padding: 20px 40px !important;
    font-weight: 700 !important;
    border-radius: 25px;
    
}
.btn-primary:hover{
    background-color: #fff !important;
    color: #696139 !important;
}
a.nav-link{
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-left: 15px;
    color: #50372b !important;
    transition: color .5s ease;
    -webkit-transition:  color .5s ease;
    -moz-transition:  color .5s ease;
    -o-transition:  color .5s ease;

}
a.nav-link:hover{
    color: #696139 !important;
}

/* Services */

#services{
    padding: 100px 0px;
}
.services-top h2, 
.portfolio-top h2, 
.offers-top span, 
.testimonials-top h2,
.contact-top h2{
    font-family: 'Lora', serif ;
    font-size: 40px;
    font-weight: 700;
     color: #50372b !important;
     font-style: italic;
}
.services-top p,
.portfolio-top p, 
.offers-top p, 
.testimonials-top p,
.contact-top p{
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 16px;
    color: #777;
    margin-bottom: 70px;
}

.contact-top h3{
    font-family: 'Lora', serif;
    margin-top: 30px;
    font-size: 35px;
    font-weight: 700;
    color: #50372b;
    font-style: italic;
    
}

.contact-info, .CUS h4{
    font-family: 'Lora', serif;
    margin-top: 5px;
    font-size: 25px;
    font-weight: 500;
    color: #50372b;
    font-style: italic;
    
}

.contact-info p{
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 16px;
    color: #777;
    margin-bottom: 70px;
}

.contact-info a{
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 16px;
    color: #777;
    margin-bottom: 70px;
}


.item-circle{
    border: 3px solid #fed136;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    transition: .4s;
    cursor: pointer;
}
.services-content i{
    color: #fed136;
    line-height: 100px;
    transition: .4s;
}
.item-circle:hover{
    background: #fed136;
    border: 3px solid #262626;
}
.item-circle:hover > i{
    color: #262626;
}
.services-content span{
    font-family: 'Lora', serif ;
    font-size: 25px;
    font-weight: 500;
    color: #50372b;
    margin-top: 24px;
    font-style: italic;
}
.services-content p,.offers-content p{
    font-family: 'Roboto Slab', serif;
    color: #777;
    font-size: 14px;
}
#portfolio{
    background: #f7f7f7;
    padding: 120px 0;
}
.card{
    border-style: none;
}
.card img{
    height: 300px;
    background-size: cover;
}
.portfolio-content .card-title{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700; 
}

.portfolio-top h3{
    font-family: 'Lora', serif;
    font-size: 40px;
    font-weight: 700;
    color: #50372b;
    font-style: italic;
    
}

.portfolio-content .card-subtitle{
    font-family: 'Lora', serif;
    font-size: 14px;
    font-style: italic
}
.offers-content img{
    width: 200px;
    height: 200px;
    background-size: cover;
    border: 7px solid #f1f1f1;
}
#offers{
    padding: 100px;
    background-image: url(../img/back-coupons.webp);
    background-repeat: no-repeat;
    background-position: center;
}
.offers-content .row{
    margin-bottom: 90px;
}
.offers-content span{
    font-family: 'Lora', serif;
    font-size: 25px;
    font-weight: 500;
    color: #50372b;
    font-style: italic;
     text-align: center;
}

.offers-content h3{
    font-family: 'Lora', serif;
    font-size: 50px;
    font-weight: 700;
    color: #50372b;
    font-style: italic;
    
}

.offers-content P a{
       font-size: 18px;
       color: #50372b;
}

.offers-content span a{
       font-size: 18px;
       color: #ffffff;
}


.offers-content{
    position: relative;
    text-align: center;
}
.offers-content:before{
    content: "";
    top: 0;
    bottom: 0;
    left: 50%;
    position: absolute;
    width: 4px;
    background: #f1f1f1;
    margin-left: -2px;
}
.offers-circle:before{
    top: 0;
    bottom: 0;
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    background: #50372b;
    border-radius: 50%;
    border: 7px solid #f1f1f1;
    left: 50%;
    margin-left: -100px;
}
.yellow-text{
    position: relative;
    top: 50px;
    left: 5px;
    font-family: 'Montserrat' !important ;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;

}
#testimonials{
    padding-top: 120px;
    padding-bottom: 70px;
    background: #f9f9f9;
}

.testimonials-top h3{
    font-family: 'Lora', serif;
    font-size: 40px;
    font-weight: 700;
    color: #50372b;
    font-style: italic;
    
}


.testimonials-circle{
    width: 120px;
    height: 120px;
    background-image: url(../img/testimonials-1.webp);
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin: 0 auto;
    border: 6px solid #fff;
}

.testimonials-circle2{
    width: 120px;
    height: 120px;
    background-image: url(../img/testimonials-2.webp);
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin: 0 auto;
    border: 6px solid #fff;
}

.testimonials-circle3{
    width: 120px;
    height: 120px;
    background-image: url(../img/testimonials-3.webp);
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin: 0 auto;
    border: 6px solid #fff;
}


.testimonials-content h4{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
}
.testimonials-content h5{
    font-family: 'Roboto Slab', serif;
    color: #777;
    font-size: 14px;
}
.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
}
.social-icon{
    display: inline;
    padding-left: 5px;
    padding-right: 5px;
}
.social-icon .fab{
    border: 2px solid #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 26px;
}
.testimonials-content p{
    width: 85%;
    margin: 50px auto;
    font-family: 'Roboto Slab', serif;
    color: #777;
    font-size: 16px;
}
#partner{
    padding-top: 30px;
    padding-bottom: 30px;
}
#partner img{
    height: 100px;
    background-size: 100px auto;
    margin: 0 auto;
}



/* contact */
.contact-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.contact-content {
    flex: 2;
}

.contact-info {
    flex: 1;
    padding: 25px;
    border-radius: 6px;
    background-color: #f7f3ee;
    box-shadow: 0 10px 25px rgba(90, 60, 30, 0.15);
}

.contact-info h4 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
}



#footer{
    padding: 20px 0px;
}
#footer p{
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    line-height: 40px;
}

#footer a{
    color: #50372b;
}

.company-social-icons{
    display: inline-block;
    list-style-type: none;
    margin-top: 15px;
    margin-left: 0;
    padding: 0;
    text-align: left;
    
}
.company-social-icon{
    display: inline-block;
    padding-left: 9px;
    padding-right: 9px;
    color: #fff;
}
.company-social-icon i{
    background: #50372b;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
}
.change-fixed-top{
    margin-top: 0px;
    background: #ffffff;
    max-width: 2000px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}




/* Bootstrap media 1 */
@media (max-width: 991px){
    #footer p{
        font-size: 11px;
        line-height: 30px;
    }
    .company-social-icon{
        padding-left: 5px;
        padding-right: 5px;
    }
    .company-social-icon i{
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
    h1{
        margin-top: 250px;
        font-size: 36x
    }
    h2{
        font-size: 55px;
    }
}

/* Bootstrap media 2 */
@media (max-width: 767px){
    .navbar-collapse{
        background: rgba(236, 236, 236, 0.897);
        padding: 10px;
        margin: 0;
        
    }
    .navbar-light .navbar-toggler{
        border: 1px solid #696139
    }
    h1{
        margin-top: 250px !important;
        font-size: 32px !important;
        margin-bottom: 20px !important;
    }
    h2{
        font-size: 50px !important;
        color: #fff !important;
        margin-bottom: 20px !important;
    }
    .navbar-toggler{
        background: #696139 !important;
        outline: none !important;
        border: none !important;
    }
   
    #footer p{
        text-align: center !important;
    }
}

/* Bootstrap media 3 */
@media (max-width: 575px){
    h1{
        font-size: 40px !important;
        box-shadow:5px 10px 10px rgba(0,0,0,0.15);
    }

    .hero h2{
    margin-top: 2% !important;
    font-family: 'Lora', serif ;
    color: #fff !important;
    font-size: 30px !important;
    font-style: italic;
    margin-bottom: 30px !important;
}

#cover{
    
    background:url("../img/garage-door.webp");
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;
     overflow: hidden;
    
}

    h2{
        font-size: 30px !important;
    }
    .offers-content img{
        display:none;
    }
    .offers-circle{
        display:none;
    }
    #offers{
        padding: 40px;
    }
    .navbar-toggler{
        background: #696139 !important;
        outline: none !important;
        border: none !important;
    }
   
    #footer p{
        text-align: center;
    }
}



/* ====== ABOUT SECTION ====== */
.about-section{
    padding: 80px 0;
    background: #f7f7f7;
}

.about-section span{
    font-family: 'Lora', serif ;
    font-size: 25px;
    font-weight: 500;
    color: #50372b;
    font-style: italic;
}

.about-section h2{
    font-family: 'Lora', serif;
    font-size: 35px;
    font-weight: 500;
    color: #50372b !important;
    font-style: italic;
}


.about-section .container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    
}

.contentLeft,
.contentRight{
    width: 100%;
}

/* ====== IMAGES ====== */
.contentLeft .row{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.contentLeft .imgWrapper{
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 5px 10px 10px rgba(0,0,0,0.15);
}

.contentLeft .imgWrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.contentLeft .imgWrapper:hover img{
    transform: scale(1.5);
}

.contentLeft .imgWrapper:nth-child(odd){
    transform: translateY(-20px);
}

.contentLeft .imgWrapper:nth-child(even){
    transform: translateY(20px);
}

/* ====== CONTENT ====== */
.contentRight .content{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contentRight h4{
    font-size: 22px;
    font-weight: 400;
    color: #d35400;
}

.contentRight h2{
    font-size: 35px;
    color: #1e272e;
}

.contentRight p{
    font-size: 16px;
    line-height: 28px;
    color: #343434;
}

.contentRight a{
    display: inline-block;
    padding: 13px 30px;
    background: #d35400;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px){
    .about-section .container{
        grid-template-columns: 1fr;
    }

    .contentLeft .row{
        grid-template-columns: repeat(2, 1fr);
    }

    .contentLeft .imgWrapper{
        height: 150px;
        transform: translateY(0) !important;
    }

    .contentRight h2{
        font-size: 30px;
    }
}



/* second section */
.title{
    font-family: 'Lora', serif;
		font-size:2.3em;
		color:#50372b;
		display:block;
        font-style: italic;
		}
		
		.sub-title{
		font-size:0.8em;
		color:gray;
		display:block;
		}
		
		.btn1{
		padding:10px 20px;
		background:transparent;
		border:1px solid #8c0c3c;
		color:#8c0c3c;
		border-radius:3px;
		outline:none;
		transition:0.5s;
		}
		
		.btn1:hover{
		background:#8c0c3c;
		color:#fff;
		}
		
		.btn2{
		padding:10px 20px;
		border-radius:3px;
		background:#1e1e1e;
		border:1px solid #1e1e1e;
		color:#fff;
		outline:none;
		transition:0.5s;
		}
		
		.btn2:hover{
		background:transparent;
		color:#1e1e1e;
		}
		
		
		
		a{
		text-decoration:none;
		}
		
		.section2{
		width:90%;
		margin:5% 0%;
		margin-left:auto;
		margin-right:auto;
        padding-right: 5%;
        background: #f7f7f7;
		}

        .section3{
		width:90%;
		margin:5% 0%;
		margin-left:auto;
		margin-right:auto;
        padding-left: 5%;
        background: #f7f7f7;
		}
		
		.section2 table,.section3 table{
		width:100%;
		}
		
		.section2 table td,.section3 table td{
		width:50%;
		}
		
		.section2 table td img,.section3 table td img{
		width:80%;
		height:70%;
		margin-left:auto;
		margin-right:auto;
		box-shadow:0px 6px 16px -6px rgba(1,1,1,0.5);
		}
		
		.section3 table td img{
		float:right;
		}
		
		
		@media (max-width:720px){
		.section2 table td, .section3 table td{
		width:100%;
		display:block;
		}
		.section3 table td img{
		float:none;
		margin-top:4%;
		}
		.section2 table td img,.section3 table td img{
		width:100%;
		height:60%;
		}
		}

@media (max-width:300px){
  .section2,.section3{
    font-size:12px;
  }
  .section3 table td img{
		float:none;
		margin-top:8%;
		}
  .btn1,.btn2{
    padding:5px 10px;
  }
}
.footer{
  position:fixed;
  box-shadow:0px 6px 16px -6px rgba(1,1,1,0.5);
  background:#1e1e1e;
  padding:10px 20px;
  color:gray;
  font-size:13px;
  position:fixed;
  bottom:10px;
  right:0;
}

/* Section Styling */
      .section4-5 {
        text-align: center;
        padding: 50px 20px;
        margin-bottom: 30px;
        color: #fff;
        font-family: Arial, sans-serif;
      }
      
      /* Headline */
      .section4-5 h2 {
        font-size: 2.5em;
        margin-bottom: 30px;
      }
      
      /* Card Container */
      .cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
      }
      
      /* Card Styling */
      .card {
        background: #f7f7f7;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
        position: relative;
      }
      
      /* Card Hover Animation */
      .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
      }
      
      /* cardIcon Styling */
      <!-- .cardIcon {
        font-size: 3em;
        margin-bottom: 15px;
      } -->
      
      /* Card Headings */
      .card span {
        font-family: 'Lora', serif;
    font-size: 25px;
    font-weight: 700;
    color: #50372b;
    font-style: italic;
      }
      
      
      
      /* Card Description */
      .card p {
        font-family: 'Lora', serif;
    font-style: italic;
    font-size: 16px;
    color: #777;
    
      }
      
      /* Responsive Design */
      @media (max-width: 768px) {
        .card h3 {
          font-size: 1.3em;
        }
        .card h4 {
          font-size: 1em;
        }
        .card p {
          font-size: 0.9em;
        }
      }
      
      /* Subtle Fade-In Animation */
      .card {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeIn 0.8s ease-in-out forwards;
      }
      
      @keyframes fadeIn {
        0% {
          opacity: 0;
          transform: translateY(20px);
        }
        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }
      


      /* form */
      /* الحاوية الرئيسية */
.CUS {
    padding: 20px;
    border-radius: 20px;
    background-color: #f7f3ee; /* بيج فاتح */
    box-shadow: 0 10px 25px rgba(90, 60, 30, 0.15);
    max-width: 700px;
    margin: auto;
}

/* إخفاء subject */
form.CUS input.subject {
    display: none;
}

/* تنظيم الصفوف */
.CUS .form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.CUS .form-row p {
    flex: 1;
    margin: 0;
}


.CUS legend {
    font-size: 22px;
    color: #5a3e2b; 
    margin-bottom: 10px;
}

.CUS label {
    font-size: 14px;
    margin-top: 10px;
    font-weight: 600;
    color: #6b4b35;
}


.CUS input,
.CUS select,
.CUS textarea {
    width: 100%;
    font-size: 14px;
    padding: 12px;
    margin: 5px 0;
    border-radius: 12px;
    border: 1px solid #c7b3a3;
    background-color: #fff;
    transition: all 0.3s ease;
}


.CUS input:focus,
.CUS select:focus,
.CUS textarea:focus {
    outline: none;
    border-color: #50372b;
    box-shadow: 0 0 0 2px rgba(139, 94, 60, 0.2);
}


.CUS textarea {
    min-height: 120px;
    resize: vertical;
}


.CUS .submit {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #8b5e3c, #5a3e2b);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.CUS .submit:hover {
    background: linear-gradient(135deg, #5a3e2b, #3e2a1d);
    transform: translateY(-2px);
}


form.CUS,
.CUS fieldset {
    border: none;
}


@media only screen and (max-width: 500px) {
    .CUS .form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .CUS .form-row p {
        width: 100%;
    }
}


@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}


/* faq */
 :root{
  --agd-bg: #ffffff;
  --agd-text: #50372b;
  --agd-muted: #6b7280;
  --agd-border: #e5e7eb;
  --agd-accent: #50372b; /* earthy brown */
  --agd-shadow: 0 10px 30px rgba(0,0,0,.06);
  --agd-radius: 14px;
}

.agd-faq__head h3{
  font-family: 'Lora', serif;
  margin-top: 30px;
  font-size: 35px;
  font-weight: 700;
  color: #50372b;
  font-style: italic;
}

.agd-faq{
  background: var(--agd-bg);
  padding: 56px 16px;
  color: var(--agd-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

.agd-faq__wrap{
  max-width: 920px;
  margin: 0 auto;
}

.agd-faq__head{
  text-align: center;
  margin-bottom: 22px;
}

.agd-faq__title{
  margin: 0 0 10px 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .2px;
}

.agd-faq__subtitle{
  margin: 0 auto;
  max-width: 720px;
  color: var(--agd-muted);
  font-size: 15px;
  line-height: 1.6;
}

.agd-faq__list{
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

/* details card */
.agd-faq__item{
  border: 1px solid var(--agd-border);
  border-radius: var(--agd-radius);
  box-shadow: var(--agd-shadow);
  overflow: hidden;
  background: #fff;
}

/* summary = question */
.agd-faq__question{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.35;
  user-select: none;

  /* important: summary has default styles */
  list-style: none;
}

/* Remove default marker in Chrome/Safari */
.agd-faq__question::-webkit-details-marker{
  display: none;
}

/* Optional: remove default marker in Firefox (works when marker is used) */
.agd-faq__question::marker{
  content: "";
}

.agd-faq__question:hover{
  background: rgba(80, 55, 43, .05);
}

.agd-faq__icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--agd-border);
  position: relative;
  flex: 0 0 auto;
}

.agd-faq__icon::before,
.agd-faq__icon::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--agd-accent);
  transform: translate(-50%, -50%);
  border-radius: 1px;
}

.agd-faq__icon::before{
  width: 12px;
  height: 2px;
}

.agd-faq__icon::after{
  width: 2px;
  height: 12px;
}

/* Answer default (closed) */
.agd-faq__answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  border-top: 1px solid var(--agd-border);
}

.agd-faq__answer p{
  margin: 0;
  padding: 14px 18px 16px;
  color: var(--agd-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* Open state (details[open]) */
.agd-faq__item[open] .agd-faq__answer{
  max-height: 240px; /* same as before */
}

.agd-faq__item[open] .agd-faq__icon{
  border-color: rgba(80, 55, 43, .35);
}

/* Turn plus to minus when opened */
.agd-faq__item[open] .agd-faq__icon::after{
  height: 0;
}

/* Better focus for keyboard users */
.agd-faq__question:focus-visible{
  outline: 3px solid rgba(80, 55, 43, .25);
  outline-offset: 2px;
}


/* locations */

.country-list-section {
    width: 80%;
  margin: 0 auto;
  padding: 24px 0;
}

.country-list-section a {
    color: #50372b;
}

.country-list-section .country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.country-list-section .country-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb; /* light gray border */
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;

  font-size: 15px;
  font-weight: 500;
  color: #111827;

  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.2s ease;
}

.country-list-section .country-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}


/* sitemap */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600|Quicksand");


nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.sitemap {
  width: 692px;
  margin: 50px auto;
}

.sitemap a {
  color: #000;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  margin: 0 5px;
  border-radius: 7px;
  text-align: center;
  position: relative;
}

/* ===== FIRST ===== */
.first > li > a {
  background: rgb(180, 181, 180);
  width: 150px;
  height: 70px;
  line-height: 70px;
  display: block;
  margin: auto;
}

.first > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 10px;
  background: rgb(158, 159, 158);
  top: 100%;
}

/* ===== SECOND ===== */
.second {
  padding-top: 20px;
}

.second > li {
  display: inline-block;
  vertical-align: top;
}

.second a {
  background: rgb(203, 204, 203);
  font-size: 16px;
  width: 125px;
  height: 50px;
  line-height: 50px;
  z-index: 10;
}

.second a::before {
  content: "";
  position: absolute;
  border: 1px solid rgb(158, 159, 158);
  border-left: none;
  border-bottom: none;
  height: 9px;
  top: -10px;
  left: -76px;
  width: 139px;
}

.second li:first-child a::before {
  border-top: none;
}

/* ===== THIRD ===== */
.third {
  margin-left: 16px;
  padding-top: 20px;
}

.third a {
  background: rgb(228, 228, 227);
  width: 100px;
  height: 40px;
  line-height: 40px;
  margin-bottom: 10px;
  z-index: 5;
  font-size: 14px;
}

.third a::before {
  content: "";
  position: absolute;
  border: 1px solid rgb(158, 159, 158);
  border-right: none;
  border-top: none;
  height: 55px;
  top: -35px;
  left: -8px;
  width: 7px;
}

@media (max-width: 768px) {

  .container,
  .sitemap {
    width: 100%;
  }

  nav ul {
    text-align: center;
  }

  
  .first > li,
  .second > li,
  .third > li {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }

  .sitemap a {
    width: 90%;
    margin: 0 auto;
    display: block;
  }

  
  .first > li > a::after,
  .second a::before,
  .third a::before {
    display: none;
  }

 
  .first > li > a {
    height: auto;
    line-height: normal;
    padding: 15px;
  }

  .second a,
  .third a {
    height: auto;
    line-height: normal;
    padding: 12px;
    font-size: 14px;
  }

  .third {
    margin-left: 0;
    padding-top: 0;
  }
}

