* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Karla',sans-serif;
}
html, body {
    height: 100%;
    overflow-x: hidden;
}

/* 🟢 First Header (Contact Info) */
.header { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #004080;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    flex-wrap: wrap; /* Ensures responsiveness */
}

.contact-info {
    display: flex;
    flex-direction: column; /* Stack email and phone number */
    align-items: flex-start; /* Align text to the left */
    gap: 5px;
}

.contact-info span {
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 5px;
    color: #ffcc00;
}

.apply-btn {
    background: linear-gradient(45deg, #ff8c00, #ff4500); /* Orange Gradient */
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    white-space: nowrap; /* Prevents text from breaking */
    margin-left: auto; /* Pushes button to the right */
}

/* Background Animation */
.apply-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #88ff00, #00ffea);
    z-index: -1;
    transition: transform 0.4s ease-in-out;
    transform: scaleX(0);
    transform-origin: right;
}

/* Hover Effect */
.apply-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .header {
        display: flex;
        flex-direction: row; /* Keep elements in a row */
        justify-content: space-between;
    }

    .contact-info {
        font-size: 12px;
    }

    .apply-btn {
        margin-left: auto; /* Keeps it on the right */
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* 🟠 Second Header (Navigation) */
.secondheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: hsl(210, 22%, 96%);
    color: rgb(3, 0, 0);
    padding: 15px 10px;
}

/* Logo Styling */


.logo img {
    height: 70px; /* Default height for desktop */
    width: auto;  /* Maintain aspect ratio */
}

/* Responsive logo for mobile screens */
@media (max-width: 768px) {
    .logo img {
        height: 50px;  /* Reduce size on smaller screens */
    }
}
/* Navigation Menu */
.nav-links {
    display: flex;
    margin-top: 5px;
    gap: 30px;
    list-style: none;
  margin-right: 80px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}

.hamburger {
    font-size: 20px;
    cursor: pointer;
    display: none;
    
}


/* Mobile Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
         
        display: none; /* Initially hidden */
        flex-direction: column;
        background: rgb(202, 201, 201,0.5);
    
        position: absolute;
        top: 100px;
        column-gap: 0px;
        right: 0px;
        width: 130px;
        text-align: right;
        /* padding:5px 10px;   */
        box-shadow: 5px 10px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links a {
        display: block;
        padding: 0px 10px; /* Reduce padding */
        font-size: 16px; /* Adjust font size if necessary */
        row-gap: 1px;
    }
    .nav-links.active {
        display: flex; /* Show menu when active */
    }

    .hamburger {
        display: block;
        font-size: 30px;
        cursor: pointer;
        z-index: 1100;
    }
}

.hero {
    position: relative;
    background: url("about.jpg") no-repeat center center/cover;
    
    height: 350px;
    display: flex;
    align-items:center;
    justify-content: left;
    text-align: left;
    color: white;
    padding: 20px;
    
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 50, 0.5);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}
.hero h1 {
    font-size: 2.8em;
    font-weight: bold;
    margin: 0;
}
.hero h1 span {
    color: orange;
}
.hero p {
    font-size: 1.2em;
    margin-top: 10px;
}
.container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}

.vision, .mission {
    flex: 1 1 45%;
    background: rgba(240, 240, 240, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
}

.container h2 {
    margin-bottom: 10px;
}

.container p {
    line-height: 1.6;
}

/* 🟡 Footer Styling */
.footer {
    background-color: #004080;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 16px;
    /* margin-top: 30px; */
}

/* 🟢 Responsive Design */
@media (max-width: 768px) {
    .footer {
        font-size: 14px;
        padding: 10px 0;
    }
}

