@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #e84c22;
    /* Branding Orange */
    --primary-hover: #d13e16;
    --secondary-color: #0f172a;
    /* Dark Navy for Text/Footer */
    --text-color: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --gradient-red: linear-gradient(135deg, #e84c22 0%, #c12f1d 100%);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.nav-list a,
.btn {
    font-family: 'Montserrat', sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--white);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo i {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-list>li {
    position: relative;
}

.nav-list a {
    font-weight: 600;
    color: #475569;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--card-shadow);
    min-width: 180px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    padding: 0.5rem 0;
}

.nav-list li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background: #fff1eb;
}

/* Hero */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(to bottom, #fff5f2 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 6px rgba(232, 76, 34, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(232, 76, 34, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: #fff1eb;
}

/* Services */
.services {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.card-image {
    width: 100%;
    height: 220px;
    /* Reduced from 320px */
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image covers the area */
    object-position: top;
    /* Focus on faces */
    transition: transform 0.5s ease;
}

/* Subtle zoom effect on hover */
.leader-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    /* Reduced from 2rem */
}

.card-content h3 {
    font-size: 1.25rem;
    /* Reduced from 1.5rem */
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.card-content .role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    /* Reduced from 0.95rem */
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stats Banner */
.stats-banner {
    background: var(--gradient-red);
    padding: 4rem 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f8fafc;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.stats-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.stat-box h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat-box span {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
    text-align: center;
}

.contact-form-container {
    max-width: 700px;
    margin: 3rem auto 0;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid #f1f5f9;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 76, 34, 0.1);
}

.btn-block {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand h2 i {
    color: var(--primary-color);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Leadership Adaptation to New Theme */
.leadership-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.leader-card {
    background: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    /* Slightly smaller radius */
}

.leader-card:hover {
    border-color: #ffd8cc;
    /* Subtle orange tint */
}

/* Responsive */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* -----------------------
   Internship Page Styles
   ----------------------- */
.career-hero {
    background: var(--gradient-red);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.career-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.career-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.internship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0;
}

.intern-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.intern-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.intern-header {
    background: var(--gradient-red);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.intern-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.intern-duration {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.intern-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.intern-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.intern-reqs {
    margin-bottom: 2rem;
}

.intern-reqs h4,
.job-reqs h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.intern-reqs ul {
    list-style: none;
}

.intern-reqs li {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.intern-reqs li i {
    color: #22c55e;
    /* Green check */
    margin-top: 3px;
}

.intern-body .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}


/* -----------------------
   Jobs Page Styles
   ----------------------- */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 0;
}

.job-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: var(--hover-shadow);
    border-color: #ffd8cc;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.job-title h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.job-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-meta i {
    color: var(--primary-color);
}

.job-desc {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.job-reqs ul {
    padding-left: 1.25rem;
}

.job-reqs li {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 0.5rem;
}

.job-reqs li::marker {
    color: var(--primary-color);
    font-size: 1.2em;
}

/* -----------------------
   Modal Styles
   ----------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: var(--gradient-red);
    padding: 1.5rem 2rem;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.modal-header p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
}

/* Modal Form Grid */
.modal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.modal-form-grid .full-width {
    grid-column: span 2;
}

@media (max-width: 650px) {
    .modal-form-grid {
        grid-template-columns: 1fr;
    }

    .modal-form-grid .full-width {
        grid-column: span 1;
    }
}



/*extra part */

/* =========================================
   RESPONSIVE DESIGN – GLOBAL FIXES
========================================= */

@media (max-width: 1100px) {
    .hero h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   TABLET VIEW (900px)
========================================= */
@media (max-width: 900px) {

    /* Navbar */
    .nav-list {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 4rem 0;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    /* About */
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .stats-card-row {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: auto;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Career Pages */
    .internship-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: auto;
    }

    .jobs-list {
        max-width: 600px;
        margin: auto;
    }

    .job-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* =========================================
   MOBILE VIEW (600px)
========================================= */
@media (max-width: 600px) {

    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Hero */
    .hero h1 {
        font-size: 1.9rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 1rem;
    }

    /* Service Cards */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.75rem;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 180px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Contact Form */
    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    /* Internship Cards */
    .intern-card {
        border-radius: 10px;
    }

    .intern-body {
        padding: 1.5rem;
    }

    .intern-header h3 {
        font-size: 1.1rem;
    }

    /* Jobs */
    .job-card {
        padding: 1.75rem;
    }

    .job-title h3 {
        font-size: 1.25rem;
    }

    .job-meta {
        flex-direction: column;
        gap: 0.6rem;
        align-items: flex-start;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
}

/* =========================================
   EXTRA SMALL DEVICES (400px)
========================================= */
@media (max-width: 400px) {

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .intern-card,
    .job-card {
        padding: 1.4rem;
    }

    .job-title h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
}


/*nav css*/

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Hide menu on phone */
@media (max-width: 900px) {
    .nav-list {
        position: absolute;
        top: 70px;
        right: 0;
        width: 220px;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        border-radius: 10px;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        display: none;
        z-index: 2000;
    }

    .nav-list.show {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        padding: 10px 20px;
    }

    .nav-list a {
        width: 100%;
        display: block;
    }

    /* Show menu button */
    .mobile-menu-btn {
        display: block;
        margin-left: auto;
        color: #333;
    }

    /* Dropdown inside mobile */
    .nav-list .dropdown-menu {
        position: static;
        display: none;
        background: #f9f9f9;
        padding-left: 20px;
        box-shadow: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }
}




