body {
  font-family: 'Roboto', 'Arial', sans-serif;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
}
section.home-page {
    background-image: url(images/pexels-jeshootscom-442574.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.header{
min-height: 100vh;
width: 100%;
 background-position: center;
 background-size: cover;
 position: relative;
 overflow: hidden;
margin-bottom: 150px; /* Տարածություն header-ի և հաջորդ բաժնի միջև */

}
 body.home-page {
    background-image: url(images/pexels-jeshootscom-442574.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
nav{
   display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    }
nav img{
    width: 100px;
}
.nav-links{
  flex: 1;
    text-align: center;
}
.nav-links ul li{
  list-style: none;
  display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color:rgb(0, 0, 0);
    text-decoration:none;
    font-size: 19px;

}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height:2px;
    background:orange;
    display: block;
    margin: auto;
    transition:.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li {
    position: relative;
    display: inline-block;
     padding: 10px 15px;
}

a {
    display: block;
    padding: 10px;
    text-decoration:none
    color: #000;
}
/* Style for the fixed navigation */
header nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #4a9d5a; /* Dark gray background */
    color: #000; /* White text */
    z-index: 1000; /* Ensure it stays on top */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Optional: add shadow for effect */
}

header nav a {
    color: #333; /* White color for links */
}

header nav a:hover {
    color: #333; /* Light gray on hover */
}

/* Add padding to the top of the page content */
.header {
    padding-top: 60px; /* Adjust this value to match the height of the nav */
}


/* Dropdown մենյուի ընդհանուր ձևավորում */
/* Dropdown Styling */
nav ul li ul.dropdown {
    display: none;
    position: absolute;
    background-color: var(--background-dark, #fff); /* Sets white as background color */
    padding: var(--padding-small, 8px) 0; /* Adds default padding if variable not set */
    list-style: none;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow for effect */
}

/* Show dropdown on hover */
nav ul li:hover ul.dropdown {
    display: block;
}

/* Dropdown links styling */
nav ul li ul.dropdown li a {
    color: #333;
    font-size: var(--font-small, 14px); /* Adds default font size */
    padding: var(--padding-small, 8px) var(--padding-medium, 16px); /* Adds default padding */
    display: block;
    text-align: left;
    background-color: #fff; /* Ensures background is white for each link */
}

/* Hover effect for dropdown links */
nav ul li ul.dropdown li a:hover {
    background-color: var(--hover-color, #f0f0f0); /* Light gray hover effect */
    color: #000;
}

  nav .fa{
    display: none;
      }

.text-box{
    width: 90%;
    color: black;
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align:center;
}
.text-box h1{
    font-size: 44px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 16px;
    color:black;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: black;
    border:  3px solid orange;
    padding: 12px 34px;
    font-size: 16px;
    background: transparent;
    position: relative;
    cursor: pointer;
  transition: 1s;
    }
.hero-btn:hover{
    border: 1px solid orange;
    background: orange;
}
@media(max-width: 700px)
{
   .nav-links ul li
    {
        display: block;
    }
    .nav-links
    {
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }
    .nav-links ul{
        padding: 30px;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .text-box h1{
        font-size: 20px;
    }
}

/*__________course_______*/

.course {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
 margin-top: 150px;
}

h1{
    font-size: 36px;
    font-weight: 600;
}
    p{
     color:#000;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
     padding: 10px;
 }
.row {
    margin-top: 5%;
    display:flex;
    justify-content: space-between;
}
.course-col{
    flex-basis: 31%;
    background: #f6e6db;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;

}
.course-col:hover{
    box-shadow: 0 0  20px 0px  rgba(0,0,0,0.7);

}

@media(max-width:700px){
    .row{
        flex-direction: column;
    }
}

/*----------campus--------*/
.campus {
    width: 85%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;

}
.campus-col img {
    width: 70%;
    display: block;
}
.layer{
    background:transparent;
    height:100%;
    width: 70%;
    position:absolute;
    top: 0;
    left:0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(232,197,186,0.7);
}
.layer h3 {
    width: 80%;
    font-weight: 200;
    color: black;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;

}
/* Facilities Section Styling */
.facilities {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.facilities h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.facilities p {
    color: #000;
    font-size: 18px;
    margin-bottom: 50px;
}

/* Facilities Row and Column Styling */
.facilities .row {
    display: flex;
    justify-content: center;
    gap: 35px; /* Controls the space between the columns */
}

.facilities-col {
    flex-basis: 45%; /* Ensures each column takes equal width */
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.facilities-col img {
    width: 80%; /* Full width image for each column */
    border-radius: 15px 15px 0 0;
    display: block;
}

.facilities-col h3 {
    margin: 15px 0;
    font-size: 20px;
    text-align: left;
}

.facilities-col p {
    padding: 0 15px 20px;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}
.facilities-col:hover{
    box-shadow: 0 0  5px 0px  rgba(0,0,0,0.7);

}
/*---------testimonials----------*/
.testimonials{
  width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 15%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;

}
.testimonial-col img{
   height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;

}

.testimonial-col{
    padding: 0;
}
.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}
.testimonial-col .fa {
    color:#f44336;
}
@media(max-width 700px){
 .testimonial-col img {
   margin-left: 0px;
    margin-right: 15px;

    }
}

/*-----------call to action--------*/
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/4.jpg);
    background-position: center;
    background-size:cover;
    border-radius: 10px;
    text-align: center;
    padding: 60px 0;
}
.cta h1 {
   color: #fff;
    margin-bottom: 40px;
    padding: 0;

}
@media(max-width 700px){
 .cta h1 {
     font-size: 24px;

}
}

/* Ֆուտերի հիմնական ոճավորում */
.footer {
    background-color: #f2f2f2; /* բաց մոխրագույն */
    color: #333; /* մուգ գույն տեքստի համար */
    padding: 10px;
    text-align: center;
    font-family: Arial, sans-serif;
    border-top: 2px solid #ccc; /* նեղ ընդգծված վերին սահման */
    max-width: 100%; /* ամբողջ լայնությամբ */
}

/* Տողերի միջև փոքր հեռավորություն */
.footer p, .footer h4, .footer h5 {
    margin: 5px 0; /* փոքր հեռավորություն վերևում և ներքևում */
    line-height: 1.0; /* տողերի բարձրություն՝ փոքր հեռավորությամբ */
}


/* Հղումների ոճավորում */
.footer a {
    color: #333; /* միագույն հղումներ */
    text-decoration:underline; /* հղումների գծի հեռացում */
}

.footer a:hover {
    text-decoration: underline; /* ընդգծում՝ մկնիկը սահեցնելիս */
}

.icons .fa{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-heart-o{
    color: #f44336;
}
.footer-col img {
    height: 200px;          /* Պատկերի բարձրությունը սահմանում է 200px */
    margin-left: 150px;     /* Պատկերի ձախից թողնում է 150px հեռավորություն */
    margin-right: 150px;    /* Պատկերի աջից թողնում է 150px հեռավորություն */
    border-radius: 20%;     /* Պատկերի անկյունները կլորացնում է, դարձնելով 20% */
}
.footer .row {
    display: flex;
    justify-content: center;
    gap: 10px; /* Adjust this value to control spacing between columns */
}

.footer .footer-col {
    margin: 0; /* Remove any default margin */
    padding: 5px; /* Reduce padding around each column if necessary */
    flex-basis: 45%; /* Adjust to make each column occupy less width */
    text-align: center;
}



/* About Us Section Styling */
.about-us {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background-color: #f9f9f9;
      margin-top: 200px; /* Տարածություն Header-ի և About Us հատվածի միջև */
}


.about-container {
    max-width: 800px;
    padding: 20px;
    background-color: beige;
    border: 1px solid #d9c49a; /* Light border color */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.8); /* Soft shadow for effect */
    border-radius: 15px; /* Rounded corners for a softer look */
}

.about-text h1 {
    text-align: center;
    color: #2f5d7c;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

.about-text ul {
    padding-left: 20px;
    line-height: 1.6;
}

.about-text ul li {
    margin-bottom: 10px;
    color: #555;
}

/* Optional button styling */
.hero-btn {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    background-color: #f0f0f0;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
}

.hero-btn:hover {
    background-color: orange;
}


/*--------------------blog content------------*/
.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0 ;
}
.blog-left{
    flex-basis: 65%;
    }
.blog-left img{
   width: 100%;

}
.blog-left h2 {
    color: #222;
    font-weight: 600;
    margin: 30px 0;

}
.blog-left p{
    color: #999;
    padding: 0;
}
.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;

}
.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea {
width: 100%;
padding: 10px;
 margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;

}
.comment-form button{
    margin: 10 px 0;
    border:  1px solid #f44336;
}
@media(max-width:700px){
    .sub-header h1{
        font-size: 24px;
    }
}
/*--------------Contact us page ----------*/
.location {
    width: 80%;
    margin: auto;
    padding: 80px 0;
   margin-top: 150px;
}

.location iframe {
    width: 100%;
    height: 400px; /* հավելյալ բարձրություն iframe-ի համար */
    border: none; /* ցանկության դեպքում կարող եք հեռացնել iframe-ի եզրը */

}

.contact-us {
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-col {
    flex-basis: 48%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Տարրերը հավասարեցնում ենք ձախ */
}

.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%; /* Լրիվ լայնություն */
}

.contact-col div .fa {
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div p {
    padding: 0;
}

.contact-col div h1 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.contact-col input,
.contact-col textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 5px;
}

.contact-col input[type="submit"] {
    background-color: #f44336;
    color: #fff;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.contact-col input[type="submit"]:hover {
    background-color: #d32f2f;
}

.footer-link{
    text-decoration: none;
    color: #777;
}
.back-to-main {
    display: inline-block;
    margin: 20px;
    padding: 10px 20px;
    color: #fff;
    background-color: orange;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-to-main:hover {
    background-color: orange;
}
.fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

