* {
margin: 0;
padding: 0;
font-family: sans-serif;
box-sizing: border-box;
}

body {
color: white;
background-color: #333;
}

/* Header and Navigation */
.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(40, 40, 40, 0.0), rgba(40, 40, 40, 0.0)), url("../Images/Homepage.jpg");
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 2%;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    position: absolute;
    top: 0px;
    left: 45px;
    background-color: white;
    border-radius: 2px;
    padding: 10px;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 400px;
    height: auto;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
   list-style: none;
   display: inline-block;
   padding: 10px 15px;
   position: relative;
}

.nav-links ul li a {
   color: white;
   text-decoration: none;
   font-size: 20px;
}

.nav-links ul li::after {
   content: "";
   width: 0%;
   height: 4px;
   transition: 0.5s;
   display: block;
   background: white;
   margin: auto;
   border-radius: 2px;
}

.nav-links ul li:hover::after {
width: 100%;
}

.hero-content {
position: absolute;
color: white;
text-align: left;
width: 50%;
top: 50%;
left: 20%;
transform: translate(-20%, -50%);
}

.hero-content h1 {
font-size: 100px;
font-family: 'Sarina', cursive;
margin-bottom: 20px;
font-weight: 700;
}

.hero-content p {
font-size: 75px;
line-height: 1.5;
font-weight: 500;
font-family: 'Roboto Mono', monospace;
}

.information {
background-color: #333;
padding: 40px 0;
text-align: center;
}

.information h2 {
font-size: 60px;
font-family: 'Rokkitt';
margin-bottom: 40px;
color: white;
}

.info-row {
display: flex;
justify-content: space-between;
margin: 0 2%;

}

.info-card {
flex-basis: 25%;
background: #eee;
border-radius: 30px;
padding: 30px 25px;
margin-left: 10px;
margin-right: 10px;
box-sizing: border-box;
transition: 0.5s;
color: #333;
text-align: left;
min-height: 500px;
}

.info-card h3 {
font-size: 40px;
margin-bottom: 15px;
font-family: 'Roboto Slab', serif;
color: #000000;
font-weight: 900;
text-align: center;
text-shadow: 0.8px 0px 0px #333, 0px 0.8px 0px #333;
letter-spacing: 0.5px;
}

.info-card p {
font-size: 25px;
line-height: 1.6;
margin-bottom: 20px;
text-align: justify;
font-family: 'Roboto', sans-serif;
padding-left: 30px;
padding-right: 30px;
hyphens: auto;
}

.info-card br {
margin-bottom: 40px;
}

.menu-toggle
{
    display: none;
}

.modal {
   display: none;
   position: fixed;
   z-index: 999;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
   display: flex;
   width: 60%;
   margin: 5% auto;
   background: #fff9f0;
   border-radius: 8px;
   overflow: hidden;
   box-shadow: 0px 8px 16px rgba(58, 33, 11, 0.3);
   position: relative;
   border: 1px solid #d7c8b6;
   margin-top: 13%;
}

.modal-left {
   width: 50%;
   background: linear-gradient(135deg, #6d4c41, #a87d45);
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 36px;
   font-weight: bold;
   text-align: center;
   padding: 40px 20px;
}

.modal-right {
   width: 50%;
   padding: 40px;
   text-align: left;
   color: #4a3728;
   background-color: #fff9f0;
}

.modal-right h2 {
   font-size: 28px;
   margin-bottom: 15px;
   color: #5d4037;
   font-weight: 600;
}

.modal-right p {
   font-size: 16px;
   color: #8d6e63;
   margin-bottom: 25px;
}

/* Input Fields */
.modal-right label {
   font-size: 16px;
   color: #5d4037;
   display: block;
   margin-bottom: 8px;
   font-weight: 500;
}

.modal-right input[type="text"],
.modal-right input[type="email"],
.modal-right input[type="password"] {
   width: 100%;
   padding: 12px 15px;
   margin-bottom: 20px;
   border: 1px solid #d7c8b6;
   border-radius: 6px;
   font-size: 16px;
   background-color: #faf6f0;
   color: #5d4037;
}

.modal-right input[type="text"]:focus,
.modal-right input[type="email"]:focus,
.modal-right input[type="password"]:focus {
   border-color: #8b5a2b;
   outline: none;
}

.forgot-password {
   font-size: 14px;
   color: #a87d45;
   text-decoration: none;
   display: inline-block;
   margin-bottom: 25px;
}

.forgot-password:hover {
   text-decoration: underline;
   color: #8b5a2b;
}

.close-button {
   position: absolute;
   top: 15px;
   right: 20px;
   font-size: 26px;
   color: #6d4c41;
   cursor: pointer;
   transition: color 0.3s;
}

.close-button:hover {
   color: #4a3728;
}

.login-button {
   width: 100%;
   padding: 14px;
   background: linear-gradient(135deg, #8b5a2b, #6d4c41);
   color: #fff;
   border: none;
   border-radius: 6px;
   font-size: 16px;
   font-weight: 500;
   cursor: pointer;
   transition: background 0.3s;
}

.login-button:hover {
   background: linear-gradient(135deg, #6d4c41, #5d4037);
}

/* Links in the form */
.modal-right a {
   color: #a87d45;
}

.modal-right a:hover {
   color: #8b5a2b;
}

.welcome {
   position: absolute;
   color: white;
   text-align: center;
   width: 90%;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}
  
.welcome h1 {
   font-size: 65px;
}
  
.welcome p {
   margin: 15px 0 35px;
   font-size: 16px;
   color: white;
}
  
.welcome-row {
   margin-top: 10%;
   display: flex;
   justify-content: space-between;
}
  
.welcome-columns {
   flex-basis: 30%;
   background: #8c88f7;
   border-radius: 10px;
   margin-bottom: 10%;
   padding: 20px 15px;
   box-sizing: border-box;
   transition: 0.5s;
}
  
.welcome-row h2 {
   text-align: center;
   font-weight: 500;
   margin: 10px 0;
}
  
.welcome-columns:hover {
   box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.2);
}

.user-info {
   background-color: #f8f9fa; 
   border: 1px solid #ddd;    
   border-radius: 8px;        
   padding: 20px;
   margin: 20px 0;
   box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); 
   max-width: 600px;
   margin-left: auto;
   margin-right: auto;
   text-align: center;      
}

.user-info h1 {
   color: #007bff;          
   font-size: 24px;
   margin-bottom: 10px;
}

.user-info p {
   color: #555;
   font-size: 16px;
   margin-bottom: 20px;
}

.user-info ul {
   list-style-type: none; 
   padding: 0;
   margin: 0;
}

.user-info ul li {
   margin: 10px 0;            
}

.user-info ul li a {
   color: #0056b3;        
   font-weight: 500;
   text-decoration: none;
   transition: color 0.3s;  
}

.user-info ul li a:hover {
   color: #003d7a;           
   text-decoration: underline;
}

.user-info ul li::before {
   content: "•";            
   color: #007bff;
   margin-right: 8px;
   font-size: 18px;
   vertical-align: middle;
}

.footer {
    background-color: #222;
    color: white;
    padding: 60px 30px 30px;
    margin-top: 40px;
    border-top: 3px solid #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo img {
    width: 180px;
    height: auto;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
}

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

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #fff;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
    text-decoration: underline;
}

.footer-column p {
    color: #ccc;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: white;
}

.newsletter-form button {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #444;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #555;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 14px;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* For Font Awesome Icons (you'll need to add the link to FontAwesome in your head) */
.social-links li a i {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Improved Mobile Responsiveness */
@media only screen and (max-width: 991px) {
    /* Adjust hero text for medium devices */
    .hero-content h1 {
        font-size: 60px;
    }
    
    .hero-content p {
        font-size: 40px;
    }
    
    .information h2 {
        font-size: 40px;
    }
    
    /* Adjust info cards for better readability */
    .info-card {
        flex-basis: 45%;
        margin-bottom: 20px;
    }
    
    .info-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (max-width: 768px) {
    /* Improved logo positioning */
    .logo-container {
        position: relative;
        left: 0;
        width: 100px;
        height: 100px;
        margin: 10px 0;
        padding: 8px;
    }
    
    /* Hero content improvements */
    .hero-content h1 {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 22px;
    }
    
    /* Info section improvements */
    .information h2 {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .info-card {
        flex-basis: 100%;
        padding: 20px 15px;
        margin: 0 0 20px 0;
    }
    
    /* Modal improvements for better usability */
    .modal-content {
        width: 95%;
        margin-top: 5%;
    }
    
    /* Additional small screen improvements */
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .information h2 {
        font-size: 26px;
    }
    
    .info-card h3 {
        font-size: 22px;
    }
    
    .info-card p {
        font-size: 16px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Improve form usability on very small screens */
    .modal-right {
        padding: 15px;
    }
    
    .user-info {
        padding: 12px;
        margin: 10px;
    }
    
    .user-info h1 {
        font-size: 20px;
    }
    
    .user-info p {
        font-size: 14px;
    }
    
    /* Fix navigation spacing */
    .nav-links ul li {
        padding: 6px 8px;
    }
    
    /* Make buttons more touchable */
    .login-button {
        padding: 12px;
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* Fix for extra small devices */
@media only screen and (max-width: 320px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .logo-container {
        width: 80px;
        height: 80px;
    }
    
    .modal-left {
        padding: 15px 10px;
        font-size: 20px;
    }
}

/* Small phone adjustments */
@media only screen and (max-width: 480px) {
    
    .modal-right h2 {
        font-size: 22px;
    }
    
    .modal-right input[type="text"],
    .modal-right input[type="email"],
    .modal-right input[type="password"] {
        padding: 10px;
        font-size: 14px;
    }
    
    .login-button {
        padding: 12px;
        font-size: 14px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
   .application-header h1 {
       font-size: 36px;
       margin-top: 90px;
       padding: 0 15px;
   }
   
   .form-row {
       flex-direction: column;
       gap: 15px;
   }
   
   .form-container {
       padding: 20px;
   }
   
   .skills-grid {
       grid-template-columns: 1fr;
   }
   
   .menu-toggle {
       display: block;
       cursor: pointer;
       font-size: 24px;
       color: white;
       position: absolute;
       top: 20px;
       right: 20px;
       z-index: 3;
   }
   
   .nav-links {
       position: fixed;
       background-color: rgba(0, 0, 0, 0.9);
       height: 100vh;
       width: 80%;
       top: 0;
       right: -80%;
       text-align: left;
       z-index: 2;
       transition: 0.3s ease-in-out;
       padding: 60px 20px 20px;
       overflow-y: auto;
   }
   
   .nav-links.active {
       right: 0;
       box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.3);
   }
   
   .nav-links ul li {
       display: block;
       padding: 8px 12px;
       position: static;
       margin: 10px 0;
       left: 0;
       bottom: 0;
   }
   
   .logo-container {
       width: 80px;
       height: 80px;
       left: 20px;
       top: 10px;
   }
   
   .logo {
       width: 100%;
       height: auto;
   }
   
   .form-actions {
       flex-direction: column;
       gap: 15px;
   }
   
   .form-actions button {
       width: 100%;
   }
   
   .primary-button, .secondary-button {
       padding: 10px 20px;
   }
   
   .application-header {
       min-height: 40vh;
   }
}

/* Very small screens */
@media (max-width: 480px) {
   .application-header h1 {
       font-size: 28px;
   }
   
   .form-section {
       padding: 15px;
   }
   
   .rating {
       flex-wrap: wrap;
   }
}