
/* =========================================
   VEDA TECHNOLOGY
   INTERNSHIP RESOURCE PORTAL
   Complete Responsive Stylesheet
========================================= */

:root {
    --primary: #173b70;
    --primary-dark: #102b52;
    --accent: #f28b36;
    --background: #f6f8fc;
    --white: #ffffff;
    --text: #1d2939;
    --muted: #667085;
    --border: #e6eaf0;
    --shadow: 0 12px 35px rgba(23, 59, 112, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1150px, 90%);
    margin: auto;
}

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


/* =========================================
   NAVIGATION
========================================= */

.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo small {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--muted);
}

.logo-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    font-size: 24px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-button,
.primary-button {
    background: var(--accent);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
}

.nav-button:hover,
.primary-button:hover {
    background: #dc7624;
    transform: translateY(-2px);
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
    background: linear-gradient(
        120deg,
        #102b52,
        #1b477f
    );

    color: var(--white);
    padding: 105px 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 70px;
}

.eyebrow,
.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero h1 span {
    color: #ffad65;
}

.hero-text > p {
    color: #d6e0ee;
    font-size: 16px;
    max-width: 570px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.secondary-button {
    padding: 11px 20px;
    border: 1px solid #8ea6c7;
    border-radius: 7px;
    color: var(--white);
    font-weight: 600;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* =========================================
   HERO FEATURE CARD
========================================= */

.hero-card {
    padding: 35px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.hero-card-top {
    font-size: 13px;
    color: #e0e8f5;
}

.status-dot {
    display: inline-block;
    height: 9px;
    width: 9px;
    background: #61d6a0;
    border-radius: 50%;
    margin-right: 8px;
}

.hero-card-icon {
    margin: 30px 0 10px;
    font-size: 45px;
    color: #ffad65;
}

.hero-card h2 {
    font-size: 25px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.hero-card p {
    color: #d4e0ef;
    font-size: 14px;
}

.hero-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffbd83;
}


/* =========================================
   INTRODUCTION
========================================= */

.intro {
    background: var(--white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.intro h2,
.section-heading h2 {
    color: var(--primary-dark);
    font-size: 34px;
    line-height: 1.3;
}

.intro h2 span {
    color: var(--accent);
}

.intro p {
    color: var(--muted);
    font-size: 15px;
}


/* =========================================
   SEARCH SECTION
========================================= */

.portal-search {
    background: #f0f4fa;
    text-align: center;
}

.search-container h2 {
    color: var(--primary-dark);
    font-size: 32px;
}

.search-container > p {
    color: var(--muted);
    margin: 12px 0 25px;
}

.search-box {
    max-width: 750px;
    margin: auto;
    display: flex;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 7px;
    box-shadow: var(--shadow);
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 13px;
    font-size: 14px;
}

.search-box button {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 7px;
    padding: 12px 25px;
    font-weight: 700;
    cursor: pointer;
}

.search-box button:hover {
    background: #dc7624;
}

.search-filters {
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
}

.search-filters select {
    margin-left: 8px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
}

.search-results {
    max-width: 850px;
    margin: 25px auto 0;
    text-align: left;
}

.search-result-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 10px;
}

.search-result-item h3 {
    color: var(--primary);
    font-size: 17px;
}

.search-result-item p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

.search-result-item a {
    display: inline-block;
    color: #d76e21;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
}

.no-results {
    color: var(--muted);
    text-align: center;
    padding: 20px;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading p {
    color: var(--muted);
    margin-top: 12px;
}


/* =========================================
   INTERNSHIP DOMAINS
========================================= */

.quick-access {
    background: var(--background);
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.access-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 27px 22px;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.access-card:hover {
    transform: translateY(-7px);
    border-color: var(--accent);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-weight: 800;
    margin-bottom: 22px;
}

.blue {
    background: #e8efff;
    color: #2857a5;
}

.orange {
    background: #fff0e4;
    color: #d76e21;
}

.purple {
    background: #f0eaff;
    color: #7952b8;
}

.green {
    background: #e4f7ed;
    color: #26945a;
}

.access-card h3 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 10px;
}

.access-card p {
    font-size: 13px;
    color: var(--muted);
    min-height: 65px;
}

.card-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}


/* =========================================
   PROJECTS AND RESOURCES
========================================= */

.content-section {
    background: var(--white);
}

.content-section:nth-of-type(even) {
    background: var(--background);
}

.dynamic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 35px;
}

.dynamic-card {
    background: var(--white);
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.dynamic-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.dynamic-card h3 {
    color: var(--primary);
    font-size: 19px;
    margin-bottom: 12px;
}

.dynamic-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.dynamic-card small {
    display: block;
    color: var(--primary);
    font-size: 12px;
    margin-top: 12px;
}

.dynamic-card .card-link {
    color: var(--accent);
}

.level-tag {
    display: inline-block;
    background: #eaf1ff;
    color: var(--primary);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================
   FAQ SECTION
========================================= */

.faq-list {
    max-width: 850px;
    margin: 35px auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: 0 5px 18px rgba(23, 59, 112, 0.04);
}

.faq-item summary {
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
}

.faq-item p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 15px;
}


/* =========================================
   ERROR MESSAGE
========================================= */

.error-message {
    background: #fff0f0;
    color: #b42318;
    padding: 15px;
    text-align: center;
    margin: 15px auto;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 38px 0;
}

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

.footer-logo {
    color: var(--white);
}

.footer-logo small {
    color: #bdcde1;
}

.footer-content p {
    color: #bdcde1;
    font-size: 13px;
}


/* =========================================
   TABLET RESPONSIVE DESIGN
========================================= */

@media (max-width: 950px) {

    .nav-links {
        gap: 13px;
    }

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

    .hero-content {
        gap: 35px;
    }

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

}


/* =========================================
   MOBILE RESPONSIVE DESIGN
========================================= */

@media (max-width: 700px) {

    .navbar {
        padding: 15px 0;
        flex-wrap: wrap;
    }

    .nav-links {
        width: 100%;
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-button {
        font-size: 12px;
        padding: 9px 12px;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-content,
    .intro-content {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 25px;
    }

    .intro-content {
        gap: 20px;
    }

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

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================
   SMALL MOBILE RESPONSIVE DESIGN
========================================= */

@media (max-width: 500px) {

    .access-grid,
    .dynamic-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 39px;
    }

    .intro h2,
    .section-heading h2,
    .search-container h2 {
        font-size: 28px;
    }

    .search-box {
        flex-direction: column;
        gap: 8px;
    }

    .search-filters select {
        margin-top: 8px;
    }

    .hero-card-footer {
        font-size: 10px;
    }

}
