/* itakna/assets/css/styles.css */


/* General Body Styles */

:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #e53e3e;
    /* Accent color for the subheading */
    --dark-bg: #ffffff;
    --light-text: #333333;
    --dark-text: #ffffff;
    --card-bg: #f8f9fa;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}


/* --- HEADER AND NAVIGATION --- */

.navbar {
    background-color: transparent;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* --- UPDATED LOGO STYLES --- */

.navbar .logo {
    text-decoration: none;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.navbar .logo .logo-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-text);
    transition: color 0.3s ease;
    animation: move-font 2s infinite ease-in-out;
}

.navbar .logo .logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--dark-text);
    opacity: 0.8;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}


/* --- FIX: Logo color when navbar is scrolled --- */

.navbar.scrolled .logo .logo-main {
    color: var(--primary-color);
    /* Purple */
}

.navbar.scrolled .logo .logo-sub {
    color: var(--accent-color);
    /* Red */
}


/* Keyframes for the font moving animation */

@keyframes move-font {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}


/* --- END OF LOGO STYLES --- */

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.navbar.scrolled .nav-links a {
    color: #555;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
    color: #fff;
}

.nav-buttons {
    margin-left: 30px;
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.5px;
}

.nav-buttons .btn {
    margin-left: 10px;
}

.btn-primary {
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    color: white;
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(142, 45, 226, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.hamburger {
    display: none;
    color: var(--dark-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.navbar.scrolled .hamburger {
    color: var(--light-text);
}


/* Hero Section */

.hero {
    min-height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    color: #fff;
}

.hero-sub-header {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
}

.hero h1 .highlight-text {
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: opacity 0.5s ease;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-main-image {
    max-width: 450px;
    width: 100%;
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-20px);
    }
    100% {
        transform: translatey(0px);
    }
}


/* Sections General */

.section {
    padding: 100px 5%;
    text-align: center;
}

.section:nth-of-type(even) {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #777;
    max-width: 800px;
    margin: 0 auto 50px auto;
}


/* Trusted Clients Section - Advanced Slider */

.client-logos-slider {
    overflow: hidden;
    padding: 40px 0;
    background: white;
    position: relative;
    width: 100%;
}

.client-logos-slider:before,
.client-logos-slider:after {
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    content: "";
    z-index: 2;
}

.client-logos-slider:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.client-logos-slider:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos-slide {
    display: flex;
    align-items: center;
    /* This animation will be applied to both the original and the cloned slide */
    animation: 35s slide infinite linear;
}


/* Pause animation on hover */

.client-logos-slider:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide img {
    height: 60px;
    /* This controls the fixed size */
    width: auto;
    /* Maintains aspect ratio */
    max-width: 160px;
    /* Prevents wide logos from being too large */
    margin: 0 40px;
    transition: transform 0.3s ease;
}

.logos-slide img:hover {
    transform: scale(1.1);
    /* A nice little zoom effect on hover */
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        /* Move the slide by its full width (since we have two slides side-by-side) */
        transform: translateX(-100%);
    }
}


/* Stats Section */

.stats-section {
    background-color: #ffffff;
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    text-align: left;
}

.stats-content {
    max-width: 500px;
}

.stats-sub-header {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #8e2de2;
    font-weight: 600;
}

.stats-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.stats-image {
    position: relative;
    padding: 10px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
    border-radius: 15px;
}

.stats-image img {
    max-width: 450px;
    width: 100%;
    border-radius: 10px;
}

.stats-counters {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.counter h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.counter p {
    margin: 0;
    color: #555;
}


/* Department Overview Section */

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.department-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.department-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.department-card:hover h3,
.department-card:hover p {
    color: #fff;
}

.department-card .icon-container {
    height: 60px;
    width: 60px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #8e2de2;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.department-card:hover .icon-container {
    background: #fff;
    color: #4a00e0;
}

.department-card h3 {
    font-size: 1.3rem;
    color: var(--light-text);
}


/* CTA Section */

.cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    text-align: left;
}

.profile-image {
    position: relative;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-image img {
    max-width: 300px;
    border-radius: 10px;
}

.cta-content {
    max-width: 500px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    color: #555;
}


/* FAQ Section */

.faq-accordion {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.faq-item {
    background-color: var(--card-bg);
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: var(--light-text);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #8e2de2;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    color: #555;
}


/* Reference Number Section */

.reference-section {
    padding-bottom: 100px;
}

.reference-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.reference-container input {
    flex-grow: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
    color: var(--light-text);
    transition: border-color 0.3s ease;
}

.reference-container input:focus {
    outline: none;
    border-color: var(--primary-color);
}


/* Footer */

.footer {
    background-color: #111;
    color: #f4f4f4;
    padding: 70px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    height: 2px;
    width: 50px;
}

.footer-col p,
.footer-col ul {
    font-size: 0.95rem;
    color: #ccc;
    list-style: none;
    padding: 0;
}

.footer-col a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-col li {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.social-links a:hover {
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    background-color: #000;
    color: #aaa;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* ------------------ About Us Page Styles ------------------ */


/* Page Header */

.page-header {
    padding: 120px 5%;
    position: relative;
    text-align: center;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.header-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-header h1 {
    font-size: 3rem;
    margin: 0;
}

.page-header p {
    font-size: 1.2rem;
    color: #eee;
}


/* About Content Section */

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 20px 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin: 0;
}

.stat-item p {
    margin: 0;
    color: #555;
}


/* Founder Section */

.founder-section {
    background-color: #f8f9fa;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
}

.founder-image {
    flex-basis: 400px;
}

.founder-image img {
    width: 100%;
    border-radius: 10px;
}

.founder-text {
    flex: 1;
}

.founder-text h2 {
    font-size: 2.5rem;
}


/* Mission Vision Value Section */

.mvv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.mvv-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid #eee;
}

.mvv-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}


/* ------------------ Portfolio Page Styles ------------------ */

.portfolio-section {
    background-color: #fff;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 25px;
    font-size: 1rem;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #555;
}

.filter-btn:hover {
    background-color: #f1f1f1;
    border-color: #ccc;
}

.filter-btn.active {
    background: linear-gradient(to right, #8e2de2, #4a00e0);
    color: white;
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f0f0f0;
    aspect-ratio: 4 / 3;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(1);
    opacity: 1;
}

.portfolio-item.hide {
    transform: scale(0.8);
    opacity: 0;
    /* To make hidden items not take up space, we change display after transition */
    transition: opacity 0.4s ease, transform 0.4s ease, width 0s 0.4s, height 0s 0.4s, margin 0s 0.4s, padding 0s 0.4s;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-end;
    /* Align content to the bottom */
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    box-sizing: border-box;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay .overlay-content {
    color: #fff;
    text-align: left;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
    opacity: 1;
}

.overlay-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
}

.overlay-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
    text-transform: capitalize;
}


/* ------------- ADVANCED RESPONSIVE DESIGN ------------- */


/* For Tablets and smaller devices */

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    /* FIX: Nav links inside the mobile menu should be dark */
    .nav-links a {
        color: #555;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }
    .hamburger {
        display: block;
        z-index: 1001;
        margin-left: 20px;
    }
    .nav-buttons {
        display: none;
    }
    .hero {
        grid-template-columns: 1fr;
        justify-content: center;
        text-align: center;
        padding: 8rem 5% 4rem;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image-area {
        display: none;
    }
    .stats-container,
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    .stats-container {
        flex-direction: column-reverse;
    }
    .stats-content,
    .cta-content {
        text-align: center;
        max-width: 100%;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-container,
    .founder-container {
        flex-direction: column;
        text-align: center;
    }
    .founder-container {
        flex-direction: column-reverse;
    }
    .about-stats {
        justify-content: center;
    }
    .contact-section .contact-wrapper {
        grid-template-columns: 1fr;
    }
}


/* For Mobile devices */

@media (max-width: 768px) {
    .section {
        padding: 80px 5%;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.4;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
    .stats-content h2,
    .cta-content h2,
    .founder-text h2 {
        font-size: 1.8rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
    }
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .logos-slide img {
        height: 45px;
        margin: 0 30px;
    }
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}


/* For small mobile devices */

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    .hero h1 {
        font-size: 1.9rem;
    }
    .stats-counters {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .departments-grid {
        grid-template-columns: 1fr;
    }
    .logos-slide img {
        height: 35px;
        margin: 0 20px;
    }
    .client-logos-slider:before,
    .client-logos-slider:after {
        width: 100px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 80%;
        text-align: center;
    }
    .footer-container {
        gap: 30px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        /* Single column on small devices */
    }
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}