@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;
}

body{
    width: 100%;
overflow-x: hidden;
}
.main-content{
    width: 100%;
}
.container{
    width: 100%;
}
h1, h2, h3, h4, h5, h6 {
   
    font-weight: 700;
    font-family: 'Ropa Sans', sans-serif;
    color: crimson;
}
p{
    font-family: 'Jost', sans-serif;
}

/* Navigation bar styles */
.navbar {
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: crimson;
    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;
}
/* Header styles */
.header {
    position: relative;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    height: 600px;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.container {
    position: relative;
    z-index: 2;
}

.header h1 {

    margin-top: -250px;
}

.header p {
   width: 600px;
   margin-left: 400px;
   line-height: 1.5rem;
   margin-top: 30px;
  
}
.header {
    position: relative;
    overflow: hidden;
}

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

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Adjust the color and opacity as needed */
}
.rectangle{
    width: 30px;
    height: 300px;
    background-color: orangered;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-left: 350px;
}
.buttons{
    gap: 100px;
    display: flex;
    flex-direction: row;
    margin-left: 450px;
}
nav button{
    width: 200px;
    height: 40px;
    background-color: orangered;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 12px;
}
nav button:hover{
    background-color: blue;
}
.buttons button{
    width: 200px;
    height: 50px;
    background-color: orangered;
    color: white;
    border: none;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 12px;
   
}
.buttons button:hover{
    background-color: crimson;
}

/* content1 */
.content-item1{
    background-color: hsla(0, 0%, 20%, 1);
    height: 970px;
    display: flex;
    flex-direction: column;
}
.rep{
    display: flex;
    flex-direction: row;
    margin-left: 20px;
    gap: 50px;
    margin-top: 80px;
}
.live,.why,.works{
    width: 400px;
    height: 350px;
    /* background-color: orangered; */
    color: #fff;
}
.benefits{
    width: 800px;
    color: #fff;
}
.offer{
    display: flex;
    flex-direction: row;
    gap: 80px;
    margin-top: 100px;
    margin-left: 20px;
}
.accident2 img{
    width: 400px;
    height: 320px;
    border-top-right-radius: 200px;
    border-bottom-left-radius: 200px;
  
}
.rep img{
    width: 400px;
    height: 300px;
}
.say h2{
    color: crimson;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 30px;
}
.say p{
    color: #fff;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.content-item1 button{
    width: 200px;
    height: 40px;
    background-color: orangered;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    margin-left: 20px;
}
strong{
    color: orangered;
}
/* interactive map */
/* Customize map container size */
.content-item2
{
    background-color: hsla(183, 39%, 24%, 1);
    height: 1050px;
    display: flex;
    flex-direction: column;
}
.content-item2 h2 {
   margin-left: 50px;
   margin-top: -120px;
}
.content-item2 p {
    margin-left: 50px;
}
.section-features{
    display: flex;
    flex-direction: row;
    gap: 50px;
}
.rectangle2{
    width: 30px;
    height: 200px;
    background-color: orangered;
   

}
.feature1,
.feature2,
.feature3 {
    width: 300px;
    height: 200px;
    background-color: #333;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.feature1 img,
.feature2 img,
.feature3 img{
    width: 60px;
    height: 60px;
    margin-left: -20px;
}
.section-experience{
    justify-content: center;
    text-align: center;
    align-items: center;
}
.feature1 p,.feature2 p,.feature3 p{
  margin-left: 10px;
  color: #fff;
}

.section-description,
.section-features {
    margin-bottom: 20px; /* Adjust margin between sections as needed */
}

.section-description p,
.section-features .feature p,
.section-experience p {
    margin-bottom: 10px;
    color: #fff;
}

/* CSS for Map Container */
.map-container {
    width: 80%;
    height: 480px; 
    border: 2px solid #ccc; 
    border-radius: 10px; 
    margin-left: 200px;
    box-shadow: 0 0 10px rgba(231, 213, 213, 0.8);
    margin-top: -170px;
}
/* Key Legend Styling */
.key-legend {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #333;
    width: 140px;
    color: #fff;
    font-family: 'Ropa Sans', sans-serif;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.heavy { background-color: #ff0000; } /* Red for heavy traffic */
.moderate { background-color: #ffa500; } /* Orange for moderate traffic */
.light { background-color: #ffff00; } /* Yellow for light traffic */
.accident { background-color: #0000ff; } 

.legend-label {
    font-size: 14px;
}
/* Main container styling */
.content-item3 {
    background-color: #333; 
    color: #fff; 
    padding: 20px;
    margin-bottom: 20px;
    height: 800px; 
}

/* Header (h2) styling */
.content-item h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Paragraph (p) styling */
.content-item p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Styling for emergency contacts and crowd-sourced assistance sections */
.emergency-contacts, .crowd-assistance, .emergency-info {
    margin-bottom: 30px;
}

/* Contact information section */
.contact-options {
    margin-bottom: 20px;
}

/* Select option styling */
.select-option select {
    width: 400px;
    padding: 10px;
    border: 2px solid #fff;
    border-radius: 5px;
    background-color: hsla(0, 0%, 33%, 0.7);
    color: #ccc;
    font-size: 16px;
    font-family: 'Jost', sans-serif;

}

/* Button styling */
.display-button button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff; 
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Button hover effect */
.display-button button:hover {
    background-color: #0056b3; 
}
/* Text area styling */
.number-display textarea {
    width: 400px;
    height: 60px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    resize: none;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
}

/* Call button styling */
.call button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: -1px;
}
.call button:hover {
    background-color: #0056b3;
}

/* University Safety System container styling */
.content-item4 {
    background-color:hsla(0, 0%, 40%, 1);
    color: #fff; 
    padding: 20px;
    height: 600px;
    margin-top: -30px;
    position: relative;
  
}
.feats{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.saf{
    text-align: center;
}
.feat{
    background-color: #000;
    width: 350px;
    height: 400px;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 10px rgba(231, 213, 213, 0.8);
}

/* Feature styling */
.feat {
    margin-bottom: 30px;
}

/* Header (h2) styling */
.content-item4 h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Subheader (h3) styling */
.feat h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Paragraph (p) styling */
.content-item4 p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Button styling */
.feat button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Button hover effect */
.feat button:hover {
    background-color: crimson;
}
/* Background overlay */
.feat::before {
    content: ""; 
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay color with opacity */
}


/* University Accident Reporting */
.feat:nth-child(1) {
    background-image: url('../img/accident/report.jpg'); 
}

/* Notification System */
.feat:nth-child(2) {
    background-image: url('../img/accident/notification.jpg');
}

/* Additional Features */
.feat:nth-child(3) {
    background-image: url('../img/accident/features.jpg');
}

/* Conclusion */
.feat:nth-child(4) {
    background-image: url('../img/accident/conc.jpg');
}

/* Text styles (to ensure text appears on top of overlay) */
.feat h3, .feat p, .feat button {
    position: relative;
    z-index: 1; 
    color: #fff;
}
.items{
    display: flex;
    flex-direction: row;
    gap: 60px;
    background-color: #000;

}
.items p{
    color: #fff;
}
.content{
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}
.pics{
margin-left: 50px;
margin-top: 30px;
}
.gp1{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.gp2{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.pic1 img{
    width: 350px;
    height: 400px;
    border-radius: 12px;
}
.pic2 img{
    width: 350px;
    height: 200px;
    border-radius: 12px;
}
.pic3 img{
    width: 350px;
    height: 200px; 
    margin-top: 10px;
    border-radius: 12px;
}
.pic4 img{
    width: 350px;
    height: 400px;
    margin-top: -190px;
    border-radius: 12px;
}
.footer {
    background-color: #333;
    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;
}

/* mobile design */
@media (max-width: 768px) {
    *{
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    body{
        width: 375px;
    }
      /* CSS for mobile navigation */
      .navbar {
        position: relative;
        z-index: 1;
    }
    .nav-list {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 250px;
        background-color: rgba(22, 136, 212, 0.5);
        padding: 10px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }
    .nav-list.active {
        display: block;
    }
    .nav-item {
        display: block;
        margin-bottom: 10px;
    }
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 0;
        left: 100px;
        /* Display to the right of the parent */
        width: 120px;
        background-color: rgba(197, 33, 55, 0.5);
        /* Semi-transparent background */
        padding: 10px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
        /* Optional: Add shadow */
    }
    .dropdown-menu.active {
        display: block;
    }
    .dropdown-toggle {
        display: block;
    }
    /* Hide hamburger icon on larger screens */
    .menu-toggle {
        display: none;
    }
    .menu-toggle img{
        width: 30px;
        height: 30px;
        margin-top: 20px;
    }
    /* Show hamburger icon only on smaller screens */
    @media screen and (max-width: 768px) {
        .menu-toggle {
            display: block;
            position: absolute;
            top: 10px;
            /* Adjust as needed */
            left: 10px;
            /* Adjust as needed */
            cursor: pointer;
        }
        .nav-list {
            position: fixed;
            top: 0;
            left: 0;
            max-width: 100vw;
            overflow-x: hidden;
            overflow-y: auto;
        }
    }
    /* Initially hide the navigation */
.nav-list {
    display: none;
}
.navbar:hover .nav-list {
    display: block;
}
.nav-list {
    transition: opacity 0.5s ease-in-out;
}
.navbar:not(:hover) .nav-list {
    opacity: 0;
    pointer-events: none; 
}
    .header h1 {
        font-size: 2.5rem;
        margin-top: -30px;
        width: 320px;
        margin-left: 20px;
    }
    .header p {
        font-size: 1.5rem;
    }
    .header {
        height: 900px;
    }
    .header p {
        width: 320px;
        margin-left: 20px;
        margin-top: 20px;
    }
  
    .rectangle{
        margin-left: 0;
        margin-top: 100px;
        height: 100px;
        background-color: rgba(197, 33, 55, 0.3);

    }
    .buttons{
        margin-left: 0;
    }
    .rep{
        flex-direction: column;
        margin-left: 0;
       
    }
    .rep h2{
        margin-left: 40px;
    }
    .rep p{
        width: 300px;
        margin-left: 40px;
    }
    .rep h3{
        margin-left: 40px;
    }
    .rep img{
        margin-top: 20px;
        width: 300px;
        margin-left: 40px;
        border-radius: 12px;
        box-shadow: 0 0 10px rgba(231, 213, 213, 0.8);
    }
    .rep,.live,.why,.works{
        width: 100%;
        margin-left: 0;
    }
    .benefits{
        width: 100%;
    }
    .offer{
        flex-direction: column;
        gap: 20px;
        margin-left: 0;
        height: 600px;
    }
    .accident2 img{
        margin-top: 170px;
        width: 340px;
        border-radius: 15px;
        margin-left: 20px;
    }
    .img3 img{
        margin-top: 130px;
    }
    .content-item1 button{
        margin-left: 0;
    }
    .content-item1{
        height: 2700px;
        width: 375px;
    }
    .content-item2{
        height: 2200px;
    }
    .content-item2 h2 {
        margin-left: 40px;
        margin-top: -120px;
    }
    .content-item2 p {
        margin-left: 40px;
        width: 300px;
    }
    .section-features{
        flex-direction: column;
        gap: 20px;
       
    }
    .feature1,.feature2,.feature3{
        margin-left: 15px;
        width: 340px;
        height: 230px;
        box-shadow: 0 0 10px rgba(179, 3, 32, 0.8);
    }
    .rectangle2{
        margin-left: 0;
    }
    .map-container {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
    }
    .key-legend {
        margin-top: 20px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #333;
        width: 100%;
        color: #fff;
        font-family: 'Ropa Sans', sans-serif;
    }
    .content-item3 {
        height: 1500px;
    }
    .content-item4 {
        height: 2000px;
    }
    .select-option select{
        width: 300px;
    }
    .display-button button{
        width: 300px;
    }
    #displayed-number{
        width: 300px;
    }
    .feats{
        flex-direction: column;
        gap: 20px;
    }
    .feat{
        width: 100%;
        margin-bottom: 20px;
    }
    .content{
        margin-top: 20px;
    }
    .pics{
        margin-left: 0;
        margin-top: 20px;
    }
    .gp1{
        flex-direction: column;
        gap: 20px;
    }
    .gp2{
        flex-direction: column;
        gap: 20px;
    }
    .pic1 img{
        width: 200px;
        height: 200px;
    }
    .pic2 img{
        width: 100%;
        height: 200px;
    }
    .pic3 img{
        width: 100%;
        height: 200px; 
        margin-top: 20px;
    }
    .pic4 img{
        width: 100%;
        height: 200px;
        margin-top: 20px;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .quick-links, .contact-info {
        width: 100%;
        margin-top: 20px;
    }
    .socials{
        flex-direction: row;
        gap: 20px;
        margin-top: 20px;
        justify-content: center;
    }  
}

