/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL STYLES */
html, body {
    width: 100%;
    font-family: "Roboto Condensed", sans-serif;
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
}

/* MEDIA ELEMENTS */
img, video {
    max-width: 100%;
    height: auto;
}

/* LINKS */
a {
    text-decoration: none;
    color: inherit;
}

/* LISTS */
ul {
    list-style: none;
}

/* CONTAINER */
.container {
    width: min(90%, 82.5rem);
    margin-inline: auto;
}

/* HEADER SECTION */
.header-section {
    width: 100%;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);
}

.header-section.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header {
    display: flex;
    flex-direction: column;
} 

.hamburger-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.header-contact {
    border-bottom: 1px solid #dee2e6;
}

.header-section.fixed .header-contact {
    display: none;
}

.header-contact .container {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0;
}

.left-contact,
.right-contact,
.header-socials {
    display: flex;
    gap: 0.9375rem;
}

.header-phone,
.header-email,
.header-socials a {
    color: #848e9f;
    font-size: 0.875rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo a {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 3rem;
    color: #13c5dd;
    text-transform: uppercase;
}

.menus {
    display: flex;
    gap: 1.875rem;
}

.menus a {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.6875rem;
    color: #1d2a4d;
}

.menus a:hover,
.menus a.active {
    color: #13c5dd;
}

.menus li {
    position: relative;
}

.menus .dropdown {
    display: none;
    position: absolute;
    top: 1.5625rem;
    left: 0;
    margin-top: 2.125rem;
    margin-right: 0.625rem;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    text-transform: capitalize;
    width: 9.875rem;
}

.dropdown.show {
    display: block;
}

.dropdown li {
    padding: 0.3125rem 1.25rem;
}

.dropdown li:hover {
    background-color: #f0f0f0;
    color: #333;
}

.dropdown li.active {
    background-color: #13c5dd;
    color: #fff;
}

.dropdown li a {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #333;
    width: 100%;
}

.navbar.fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 82.5rem);
    background-color: #fff;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar.fixed::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: -1;
}

/* colors */

:root {
    --primary-color: #13C5DD
    --secondary-color: #354F8E
    --ligth-color: #EFF5F9
    --dark-color: #1D2A4D
}

/* main detail */

.main-detail {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 5rem;
    margin-top: 10rem;
}

.side-grid {
    grid-column: 1 / span 2; 
}

.side-grid .left-side {
    padding: 2rem;
}

.left-side {
    max-width: 100%;
    padding-inline:24px;
}

.left-side img {
    width: 848px;
    height: 530px;
    border-radius: 5px;
}

.left-side h1 {
    width: 848px;
    font-size:2.5rem ;
    font-weight:700 ;
    color:#1D2A4D;
    line-height: 48px;
    cursor: pointer;
    margin: 0px 0px 24px;
}
.left-side p {
    width: 848px;
    font-size:1rem ;
    font-weight:400 ;
    color:#848e9f;
    line-height: 24px;
    margin: 0px 0px 16px;
}

.small-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#EFF5F9;
    width: 848px;
    height:88px;
    padding: 1rem;
    margin: 0px 0px 1.5rem;
    border-radius:8px;
}

.image-name {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.image-name img {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
}

.views-comment {
    padding: 0.25rem;
}

small {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 21px;
    color: #848e9f;
    padding: 0.25rem;
}

.icon {
    color: #13C5DD;
}

.middle-section {
    width:848px;
    height:471px;
    margin: 0px 0px 48px;
}

.middle-h3 {
    font-size:1.5rem;
    font-weight:700;
    line-height:29px;
    color:#13C5DD;
    text-transform: uppercase;
    border-bottom: 4px solid #DEE2E6;
    margin-bottom: 1.5rem;
    width: 124px;
}

.middle-one {
    display: flex;
    justify-content: center;
}

.middle-one img {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
}

.middle-one-inside {
    display: flex;
    flex-direction: column;
    padding: 0.7rem;
}

span a {
    font-size: 1rem;
    font-weight: 700;
    line-height: 19px;
    text-decoration: none;
    color: #13C5DD;
}

span a:hover {
    color: #1d2a4d;
}

span small {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 17px;
    text-decoration: none;
    color: #1d2a4d;
    font-style: italic;
}

.middle-one-inside p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    color: #848e9f;
}

.middle-one-inside .Reply {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 21px;
    color: #000;
    background-color: #f1f7fa;
    border:none;
    width: 52.76px;
    height: 30.6px;
    padding: 4px 8px;
}


.last-section {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 50px auto 0 auto;
    background-color: #eff5f9;
    border-radius: 8px;
    padding: 50px 20px;
}

.last-h3 {
    font-size:1.5rem;
    font-weight:700;
    line-height:29px;
    color:#13C5DD;
    text-transform: uppercase;
    border-bottom: 4px solid #fff;
    border-width: 5px;
    
    margin-bottom: 24px;
    height: 33.8px;
  
}

form {
    padding: 1rem;
} 

.form-row {
    width: 768px;
    height: 364px;
    margin-block: -16px 0px;
    margin-inline: -8px;
    padding: 2px;
    
} 

.name-email {
    display: flex;
    gap: 1rem;
    width: 752px;
    height: 55px;
} 

.name-email .form-input {
    width: 752px;
    height: 55px;
    padding: 6px 12px;
    
}

.Website {
    width: 768px;
    height: 55px;
    margin: 16px 0px 0px;
}

.Website .form-input {
    width: 752px;
    height: 55px;
    padding: 6px 12px; 
}

.textarea {
    width: 768px;
    height: 132px;
    margin: 16px 0px 0px;
}

.textarea .form-input {
    width: 752px;
    height: 142px;
    padding: 0px 8px;
}

::placeholder {
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    color: #848e9f;
}

.Leav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 58px;
    margin-top: 16px;

}

.leave {
   width: 752px;
   height: 58px;
   background-color: #13C5DD;
   color: #fff;
   border-radius: 8px;
   border: none;
   cursor: pointer;

   font-size: 16px;
   font-weight: 700;
   line-height: 24px;
   padding-block: 16px;
   padding-inline: 12px;
   margin-top: 1.5rem;
   box-shadow: rgba(0,0,0,0.3);
   
}

.leave:hover {
    color: #000;
}


/* rigth side */ 
.rigth-side {
    max-width: 447.98px;
    height: 2222.2px;
    margin: 48px 0px 0px;
    padding: 0px 24px;    
}

.search {
    height: 57.6px;
    margin-bottom: 38px;
}

.input-group {
    display: flex;
    height: 57.6px;
}

.search-input {
    width: 270px;
    height: 57.6px;
    padding: 16px;
}

.search-btn {
    background-color: #0f9eb1;
    color: #fff;
    border: none;
    width: 49.7px;
    height: 57.6px;
    padding: 6px 12px;
    box-shadow: rgba(0,0,0,0.3);
}

.search-btn:hover {
    color: #000;
}

i {
    width:16px ;
    height:16px ;
}

.catogeries {
    height: 297.8px;
    margin-bottom: 40px;
    /* margin-bottom: 0px 0px 48px; */
}

.catogeries-h3 {
    font-size:1.25rem ;
    font-weight:700 ;
    color:#13C5DD ;
    text-transform: uppercase;
    border-bottom: 4px solid #DEE2E6;
    padding: 0.1rem;
    width: 110px;
    margin-bottom: 24px;
}

.inside-catogeries {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    height: 240px;
}

.catogeries-anchor {
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 24px;
    color: #1D2A4D;
    background-color: #eff5f9;
    height: 40px;
    padding: 8px 16px;
    border-radius: 4px;
}

.catogeries-anchor:hover {
    color: #0f9eb1;
}

.recent-post {
    height: 621.8px;
    margin-top: 4rem;
}

.recent-inside {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-bottom: 16px;
    border-radius: 8px;
    background-color:#eff5f9;
}

.recent-inside img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.recent-post-a {
    width: 230px;
    height: 100px;
    font-size:1.25rem ;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    margin-top: 1.5rem;
    padding: 0px 16px;
    color: #1D2A4D;
}

.recent-post-a:hover {
    color: #0f9eb1;
}

.image img {
    margin-block: 2rem;
    height: 249.98px;
    border-radius: 3px;
}

.tag-cloud {
    height: 241.8px;
    margin-bottom: 2rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    height: 184px;
}

.tag-inside {
    font-size: 1rem;
    font-weight:700 ;
    line-height: 24px;
    text-decoration: none;
    background-color: #13C5DD;
    color: #fff;
    margin: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: rgba(0,0,0,0.3);
}

.plan-text {
    height: 295.8px;
}

.plan {
    height: 238px;
    padding: 30px;
    background: #EFF5F9;

}

.plan p {
    margin: 0px 0px 16px;
    font-size:1rem ;
    font-weight:400 ;
    line-height:24px;
    color: #848e9f;
}

.plan-btn {
    width: 127.83px;
    height: 42px;
    padding: 8px 24px;
    background: #13C5DD;
    color: #fff;
    border-radius: 5px;
}

.plan a {
    text-decoration: none;
}

/* Footer Section */
.footer-section {
    background-color: #1d2a4d;
    color: #fff;
}

.footer {
    padding-top: 6.25rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-links > div {
    flex: 1 1 15rem;
    min-width: 13.75rem;
}

.footer-links h2 {
    display: inline-block;
    color: #13c5dd;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.875rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-bottom: 5px solid rgb(53, 79, 142);
}

.footer-links p {
    display: block;
    color: #eff5f9;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

.footer-links ul li i {
    color: #13c5dd;
    font-size: 0.875rem;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: #13c5dd;
}

.get-in-touch .location,
.get-in-touch .envelope,
.get-in-touch .phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.get-in-touch i {
    color: #13c5dd;
}

.newsletter .subscribe-form {
    display: flex;
    width: 100%;
    max-width: 25rem;
    margin: 1rem 0 1.25rem;
}

/* INPUT */
.newsletter .subscribe-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 5px 0 0 5px;
    font-size: 0.875rem;
    outline: none;
}

/* BUTTON */
.newsletter .subscribe-form button {
    border: 1px solid #13c5dd;
    background-color: #13c5dd;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s ease;
}

.newsletter .subscribe-form button:hover {
    background-color: #10a7bc;
}

/* FOLLOW TITLE */
.newsletter .follow-title {
    margin-top: 0.625rem;
    margin-bottom: 0.875rem;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-socials a {
    width: 1.875rem;
    height: 1.875rem;
    background-color: #13c5dd;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
    color: #1d2a4d;
}

.footer-content {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5625rem 0;
    margin-top: 3.75rem;
}

.footer-content .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-content span {
    color: #13c5dd;
    text-decoration: none;
}


/* RESPONSIVE DESIGN */

/* Tablets + Mobiles */
@media (max-width: 768px) {
    .header-section,
    .header-section.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        box-shadow: none;
    }

    .navbar.fixed {
        position: fixed;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        box-shadow: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .header-contact {
        display: none;
    }

    .navbar {
        position: relative;
        padding: 0.625rem;
        flex-wrap: wrap; 
        margin-block: 0.625rem;
    }

    /* Show hamburger */
    .hamburger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3.75rem;
        height: 2.8125rem;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background: #fff;
        cursor: pointer;
        position: absolute; 
        top: 8px;
        right: 0;
        z-index: 1000;
        transition: border-width 0.2s ease, padding 0.2s ease, box-shadow 0.2s ease;
    }

    .hamburger-menu i {
        font-size: 1.5rem;
        color: #7c7979;
    }

    .hamburger-menu.active {
        border: 3px solid #7c7979; 
        padding: 6px;
    }

    .menus {
        position: relative; 
        flex-basis: 100%;
        width: 100%;
        background: #fff;
        flex-direction: column;
        display: none;
        padding: 0;
        margin-top: 1.25rem;
    }

    .menus.show {
        display: flex;
        top: 100%;
        width: 100%;
    }

    /* Dropdown inside mobile menu */
    .menus .dropdown {
        position: static; 
        display: none;    
        border: 1px solid #b9b9b9;
        border-radius: 5px;
        margin: 8px 0 0 0;
        width: 100%;
        box-shadow: none;
    }

    .menus .has-dropdown.active .dropdown,
    .menus .dropdown.show {
        display: block;
    }

    .menus .dropdown li a {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    /* Footer Section */
    .footer {
        padding-top: 4rem;
        gap: 3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2.5rem;
        padding: 0 1.25rem;
    }

    .footer-links > div {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .footer-links h2 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .newsletter .subscribe-form {
        max-width: 100%;
    }

    .footer-content {
        margin-top: 2rem;
        padding: 1.5rem 1.25rem;
    }

    .footer-content .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-socials {
        justify-content: flex-start;
    }


    .main-detail {
        /* grid-template-columns: 1fr;
        padding: auto;
        margin-right: auto; */

        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        margin-top: 10rem;
    }

    .left-side {
        width: 406.4px;
        height: 1220.41px;
    }
    .left-side img {
        max-width: 100%;
        height: auto;
    }

    .left-side h1 {
        font-size: 1.75rem;
    }
    
    .left-side p {
       font-size: 1rem;
   }

   
   


   .middle-section {
      height: 612.23px;
   }

   .middle-one img {
     width: 45px;
     height: 45px;
   }

   .last-section {
     /* width: 406.4px; */
     /* height: 569.42px; */
     /* height: 501.8px; */

     width: 100%;
    height: auto;
    padding: 2rem;
   } 

   .form-row {
    width: 100%;
    height: auto;
}

    .form-input {
    width: 100%;
}
   



}