@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;600;700&family=Ropa+Sans&display=swap');
/* font-family: 'Jost', sans-serif;
  font-family: 'Ropa Sans', sans-serif; */


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

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: 'Ropa Sans', sans-serif;
    color: crimson;
}

p {
    font-family: 'Jost', sans-serif;
    color: #fff;
}

body {
    width: 100%;
    overflow-x: hidden;
}

/* Navigation bar styles */
.navbar {
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: hsla(248, 39%, 42%, 1);
    font-family: 'Jost', sans-serif;
    font-weight: 700;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-item {
    margin-right: 20px;
    position: relative;
}

.nav-item a {
    color: #fff;
    text-decoration: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: hsla(0, 0%, 20%, 0.5);
    padding: 10px;
    list-style: none;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #000;
    width: 100px;
    z-index: 2;
}

.dropdown-menu li {
    margin-bottom: 5px;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu li:hover {
    background-color: hsla(0, 0%, 20%, 1);
    color: #000;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}
.navbar button{
    background-color: crimson;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-weight: 700;

}

.navbar button:hover {
    background-color: blue;
}

/* Header Section */
.security-header {
    padding: 100px 0;
    text-align: center;
    position: relative;
    height: 600px;
}

.rectangle {
    width: 30px;
    height: 250px;
    background-color: hsla(248, 39%, 42%, 1);
    margin-top: 60px;
}

.security-header h1 {
    font-size: 3rem;
    color: crimson;
    font-weight: 700;
    margin-top: -70px;
    position: relative;
    z-index: 2;
}

.security-header p {
    font-size: 1.2rem;
    color: #fff;
    width: 650px;
    margin-top: -180px;
    position: relative;
    z-index: 2;
    margin-left: 320px;
}

.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}


.sicon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 200px;
    /* Adjust max-width of the logo */
}

.buttons {
    margin-top: 20px;
}

.buttons button {
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border: none;
    border-radius: 15px;

}

.primary-btn {
    background-color: #007bff;
    color: #fff;
    z-index: 2;

}

.secondary-btn button {
    background-color: #6c757d;
    color: #fff;
    z-index: 2;
}

.primary-btn:hover {
    background-color: crimson;
}

.secondary-btn:hover {
    background-color: #6c757d;
}

/* access section */
.access-section {
    background-color: #000;
    height: 300px;
    padding: 20px;
}

.access-section h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
}

.access-section p {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.icon-container img {
    width: 80px;
    height: 80px;
    border: #007bff 2px solid;
    border-radius: 9px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.icon-container img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
    border-color: crimson;
}

.icon-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;
    gap: 80px;
    margin-left: 100px;
}

.icon-description {
    text-align: center;
}


/* security features */
.security-features {
    background-color: #6c757d;
    height: 850px;
}

.groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 40px;
}

.group1 {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.group2 {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.feature1,
.feature2,
.feature3,
.feature4,
.feature5,
.feature6,
.feature7,
.feature8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #333;
    width: 300px;
    height: 350px;

}

.sec h2 {
    text-align: center;
    color: crimson;
    padding-top: 20px;
}

.sec p {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.mg1 img,
.mg2 img,
.mg3 img,
.mg4 img,
.mg5 img,
.mg6 img,
.mg7 img,
.mg8 img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.mg1:hover img,
.mg2:hover img,
.mg3:hover img,
.mg4:hover img,
.mg5:hover img,
.mg6:hover img,
.mg7:hover img,
.mg8:hover img {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
}

.mg1:hover img,
.mg2:hover img,
.mg3:hover img,
.mg4:hover img,
.mg5:hover img,
.mg6:hover img,
.mg7:hover img,
.mg8:hover img {
    filter: contrast(130%);
}

.groups p {
    margin-left: 10px;
}

/* University Security Section */
.university-security {
    background-color: hsla(180, 25%, 25%, 1);
    color: #fff;
    height: 820px;
}

.uni h2 {
    text-align: center;
    color: crimson;
    padding-top: 20px;

}

.uni p {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.campus-sec {
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.image img {
    width: 600px;
    height: 400px;
    object-fit: cover;
    transition: all 0.3s ease;
    margin-left: 50px;
    border-bottom-left-radius: 100px;
    border-top-right-radius: 100px;
    box-shadow: 0 0 10px rgba(127, 153, 155, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image img:hover {
    box-shadow: 0 0 20px rgba(127, 153, 155, 0.9);
    transform: scale(1.05);
}

.security-details {
    margin-bottom: 20px;
}

.emergency-numbers {
    margin-top: 20px;
}

.emergency-numbers select {
    width: 300px;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    outline: none;
}

.two {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.select-and-button {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

#university-select {
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
}

.em button {
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}


.em button:hover {
    background-color: crimson;
}

.textarea-container {
    width: 100px;
}

.emergency-numbers {
    display: flex;
    flex-direction: column;
}

.emergency-numbers button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    width: 300px;
    height: 45px;

}

#emergency-number-textarea {
    width: 450px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #ffffffc2;
    color: orangered;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    outline: none;
    resize: none;
}

.report-button button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: orangered;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.report-button button:hover {
    background-color: darkred;
}

/* services */
.services {
    background-color: #000;
    height: 900px;
}

.parts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

.part1 {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-left: 40px;
}

.part2 {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-left: 40px;
}

.service1 {
    background-color: crimson;
    width: 620px;
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(127, 153, 155, 0.9);

}

.service1 h2 {
    text-align: center;
    color: #fff;
    padding-top: 20px;
}

.service2 h2,
.service3 h2,
.service4 h2,
.service5 h2,
.service6 h2 {
    text-align: center;
    color: crimson;
    padding-top: 20px;
}

.service1 p,
.service2 p,
.service3 p,
.service4 p,
.service5 p,
.service6 p {
    text-align: center;
    color: #fff;
    padding: 20px;

}

.service2 {
    background-color: #007bff;
    width: 620px;
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(127, 153, 155, 0.9);
}

.service3 {
    background-color: #6c757d;
    width: 300px;
    height: 380px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(127, 153, 155, 0.9);
}

.service4 {
    background-color: #333;
    width: 300px;
    height: 380px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(127, 153, 155, 0.9);
}

.service5 {
    background-color: #6c757d;
    width: 300px;
    height: 380px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(127, 153, 155, 0.9);
}

.service6 {
    background-color: #007bff;
    width: 300px;
    height: 380px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(127, 153, 155, 0.9);
}

.services img {
    width: 70px;
    height: 70px;
    margin-left: 50px;
    margin-top: 20px;
}

.serve h2 {
    text-align: center;
    color: crimson;
    padding-top: 20px;
}

.serve p {
    width: 750px;
    margin-left: 350px;
}

/* community */
.community {
    background-color: rgb(39, 38, 38);
    height: 800px;
    color: #fff;
}

.intergrate {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 60px;
    margin-left: 40px;
}

.gp1 {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.gp2 {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.img1 img {
    width: 300px;
    height: 200px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.img2 img {
    width: 300px;
    height: 350px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.img3 img {
    width: 300px;
    height: 350px;
    margin-top: -140px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.img4 img {
    width: 300px;
    height: 200px;
    margin-top: 10px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.img1 img,
.img2 img,
.img3 img,
.img4 img {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.img1 img:hover,
.img1 img:focus,
.img2 img:hover,
.img2 img:focus,
.img3 img:hover,
.img3 img:focus,
.img4 img:hover,
.img4 img:focus {
    transform: scale(0.95);
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.img1 img:active,
.img2 img:active,
.img3 img:active,
.img4 img:active {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}


/* footer */

.footer {
    background-color: hsla(248, 39%, 42%, 1);
    color: #fff;
    padding: 40px 0;
    font-size: 16px;
}

.contain {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    ;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.quick-links,
.contact-info {
    width: 45%;
    margin-top: 20px;
}

.quick-links h3,
.contact-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    font-family: 'Jost', sans-serif;
}

.quick-links ul li {
    margin-bottom: 10px;
    font-family: 'Jost', sans-serif;
}

.quick-links ul li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info {
    border: 0;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    justify-content: center;
    margin-top: 30px;
    margin-left: 20px;
}

.social-media {
    margin-top: 30px;
}

.socials {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}