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

:root {
    --primary-color: #003366; /* Deep Blue */
    --secondary-color: #f39c12; /* Golden Orange */
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --dark-bg: #1a1a1a;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #e67e22;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 5px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-cta {
    display: inline-block;
    padding: 10px 25px;
    background: #e74c3c; /* Distinct Red Color */
    color: var(--white);
    border-radius: 50px; /* Rounded pill shape */
    font-weight: 700;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.3); /* Outline effect */
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid white; /* Inner border */
    animation: pulse 2s infinite;
}

.btn-cta:hover {
    transform: translateY(-2px);
    background: #c0392b;
    box-shadow: 0 0 0 6px rgba(192, 57, 43, 0.4);
    color: var(--white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

.nav-links .btn-primary {
    color: var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section Styles Removed - Using Inline Image Banner */
/*
.hero {
    height: 100vh;
    background-color: var(--primary-color);
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
    cursor: pointer;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('gorsel1.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
    transition: background-image 0.5s ease;
}

@media (max-width: 768px) {
    .hero::before {
        background-image: url('gorsel2.png');
    }
}
*/

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.row {
    display: flex;
    gap: 40px;
    align-items: center;
}

.col-image, .col-text, .col-form {
    flex: 1;
}

.col-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.col-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.col-text p {
    margin-bottom: 15px;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--secondary-color);
}

/* Programs Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Scholarship Form */
.scholarship-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
    border-top: 5px solid var(--secondary-color);
}

/* Wizard Styles */
.form-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.progress-step {
    width: 35px;
    height: 35px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #999;
    position: relative;
    z-index: 2;
    transition: 0.3s;
}

.progress-step.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

.progress-line {
    flex: 1;
    height: 3px;
    background-color: #eee;
    margin: 0 -2px; /* Connect steps seamlessly */
    max-width: 60px; /* Limit line length */
    z-index: 1;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 10px;
}

.error-msg {
    color: #e74c3c;
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

.input-error {
    border-color: #e74c3c !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.styled-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.styled-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.styled-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.styled-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    background-color: var(--white);
}

@media (max-width: 768px) {
    .styled-form .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* Map Card Styles */
.map-card {
    display: block;
    width: 100%;
    height: 200px;
    background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    transition: 0.3s;
}

.map-card:hover .map-overlay {
    background: rgba(0,0,0,0.3);
}

.map-overlay i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.map-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Why Us Section */
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: 0.3s;
}

.feature-box:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.feature-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Contact Section */
.contact-info {
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background-color: #111;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
}

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

.social-links a {
    color: #aaa;
    margin-left: 15px;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        padding-top: 50px;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        color: var(--primary-color);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .row {
        flex-direction: column;
    }
    
    .col-image {
        order: -1; /* Image on top */
    }

    footer .container {
        flex-direction: column;
        gap: 15px;
    }
}