/*==================================
* Author        : "ThemeSine"
* Template Name : Browny HTML Template
* Version       : 1.0
==================================== */

/*=========== General Reset and Global Styles =========*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #000000;
    background: #d2e9ed;
    max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Links */
a {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    transition: color 0.3s ease;
}

a:hover {
    color: #85789e;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #43485c;
    text-transform: capitalize;
}

p {
    line-height: 1.8;
    color: #43485c;
    font-size: 14px;
}

/* Image handling */
img {
    border: none;
    max-width: 100%;
    height: auto;
}

/* Lists */
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

select, input, textarea, button {
    box-shadow: none;
    outline: 0 !important;
}


/* Button */
button {
    background: transparent;
    border: none;
    cursor: pointer;
}


/* Placeholder transition */
[placeholder]:focus::-webkit-input-placeholder {
    transition: opacity 0.3s ease;
    opacity: 0;
}

/*==========================
2. Header
===========================*/
.top-area {
    position: relative;
    z-index: 9999;
}

nav.navbar.bootsnav {
    background-color: #d2e9ed;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .2);
}

.navbar-header a.navbar-brand {
    color: #85789e;
    font-size: 20px;
    font-weight: 600;
    padding: 33px 0;
    text-transform: uppercase;
}

nav.navbar.bootsnav ul.nav > li > a {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 35px 20px;
    transition: color 0.3s ease;
}

nav.navbar.bootsnav ul.nav > li > a:hover {
    color: #85789e;
}

nav.navbar.bootsnav .navbar-toggle {
    background-color: transparent;
    border: 1px solid #85789e;
    padding: 10px;
}

nav.navbar.bootsnav .navbar-toggle i {
    color: #85789e;
}

nav.navbar.bootsnav ul.nav li.smooth-menu.disclaimer-list-item {
  list-style: none !important; /* Shorthand to remove all list styling */
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/*==========================
3. Welcome Hero Section
===========================*/
.welcome-hero {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    background: url(../images/about/welcome-banner.webp) no-repeat center center/cover;
    height: 890px;
}

.welcome-hero:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.header-text {
    text-align: center;
    margin-bottom: 20px;
}

.header-text a {
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 3px;
    text-transform: capitalize;
    color: #fff;
    background: #85789e;
    border: 3px solid #d2e9ed;
    box-shadow: 0 5px 20px rgba(210, 233, 237);
    transition: 0.3s linear;
    margin-top: 10px;
}

.header-text a:hover {
    background: #d2e9ed;
    border: 1px solid #85789e;
    box-shadow: 0 5px 20px rgba(210, 233, 237);
}

/*==========================
4. About Section
===========================*/
.about {
    padding: 100px 0 100px;
}

.single-about-txt h3 {
    font-size: 18px;
    color: #3c4258;
    line-height: 1.8;
}

.single-about-txt p {
    font-size: 14px; /* Match the default paragraph font size */
    color: #43485c; /* Match the default paragraph text color */
    padding: 35px 0 43px;
    border-bottom: 1px solid #999fb3;
}

.single-about-img {
    margin-top: 40px;
    width: 500px;
    height: 468px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(14, 25, 80, .30);
}

.single-about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile about section adjustments */
@media (max-width: 760px) {
    .about-content .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .col-sm-offset-1.col-sm-5 {
        align-items: flex-end;
    }
}
/*==========================
5. Profiles Section
===========================*/
.profiles {
  /* Existing styles */
  padding-top: 130px; /* Adjust this value as needed */
}

/*==========================
5. Portfolio Section
===========================*/
.portfolio {
    padding: 100px 0 100px;
}

.portfolio-content {
    padding-top: 100px;
}

.portfolio h3 {
    font-size: 18px;
    color: #3c4258;
}

.portfolio .item {
    margin-bottom: 30px;
    padding: 0 15px;
}

.portfolio a img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile portfolio adjustments */
@media (max-width: 760px) {
    .portfolio .row {
        flex-direction: column;
        align-items: center;
    }

    .col-sm-4 {
        flex: 1 1 90%;
        margin-bottom: 20px;
    }

    .portfolio h3 {
        font-size: 16px;
    }
}

/*==========================
11. Contact Section
===========================*/
#contact {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.contact-form form {
    background: #85789e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 760px) {
    #contact {
        padding: 30px 0;
        margin: 0 10px;
    }

    .contact-form form {
        padding: 20px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .contact-image {
        margin-top: 30px;
    }

    .contact-image img {
        width: 100%;
        height: auto;
    }

    .contact-form .form-group input,
    .contact-form .form-group textarea {
        font-size: 0.9rem;
        width: 100%;
    }
}

@media (min-width: 760px) {
    .contact-image {
        margin-top: 0;
    }

    .contact-image img {
        width: 473px;
        height: 450px;
    }
}


/* Styles for the video/image lightbox */
#video-modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

#video-modal .modal-content {
  background-color: #fff; /* Optional: Background for the content area */
  padding: 20px;
  border-radius: 5px;
  max-width: 80%; /* Adjust as needed */
  max-height: 80%; /* Adjust as needed */
  overflow: auto; /* Enable scrolling if content is too large */
  position: relative; /* For close button positioning */
}

#video-modal #video-player {
  width: 100%;
  height: auto;
}

#video-modal #modal-image {
  display: none; /* Hidden by default */
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

#video-modal #close-btn {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#video-modal #close-btn:hover,
#video-modal #close-btn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
