@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: rgba(255, 255, 255, 0.3);
}

/* Container for max-width content */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Fixed Top Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.nav-menu svg {
    flex-shrink: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Main Content */
main {
    margin-top: 0;
}

/* Hero Video Section */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.typewriter {
    font-family: 'Montserrat';
    font-size: 3rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sections */
.section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.3);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

.section p {
    text-align: center;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

/* Company Section Styles */
#company {
    overflow: hidden;
}

.company-carousel {
    position: relative;
    min-height: 300px;
    margin-bottom: 4rem; /* Add this line */
}

.company-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.company-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.company-item h2 {
    font-family: 'Open Runde';
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a1a;
    opacity: 0;
    transform: translateX(-100px);
}

.company-item.active h2 {
    animation: slideInLeft 0.8s ease forwards;
}

.company-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1rem;
    align-items: start;
}

.company-description {
    text-align: left;
    opacity: 0;
    transform: translateX(-100px);
    padding-right: 3rem;
}

.company-item.active .company-description {
    animation: slideInLeft 0.8s ease 0.3s forwards;
}

.company-description p {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.75;
}

.company-image {
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(-100px);
}

.company-item.active .company-image {
    animation: slideInDown 0.8s ease 0.6s forwards;
}

.company-image img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Animation Classes */
@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive for company section */
@media (max-width: 768px) {
    .company-carousel {
        min-height: 600px;
    }

    .company-item h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .company-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-description {
        order: 2;
    }

    .company-image {
        order: 1;
    }

    .company-description p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .company-item h2 {
        font-size: 2rem;
    }
    
    .company-carousel {
        min-height: 500px;
    }
}



/* Tablet Styles */
@media (max-width: 1024px) {
    .nav-container {
        max-width: 100%;
    }
    
    .container {
        max-width: 100%;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.75rem;
    }

    .typewriter {
        font-size: 2.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #000;
        width: 100%;
        padding: 2rem;
        transition: left 0.3s;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu li {
        border-bottom: 1px solid #333;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 1.5rem 0;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        font-size: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .typewriter {
        font-size: 1.8rem;
        min-height: 80px;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .typewriter {
        font-size: 1.5rem;
    }

    .logo-brand img {
        height: 35px;
    }
}




/* Projects Strip - Full Width inside Company Section */
.projects-strip {
    width: 100%;
    position: relative;
    margin-top: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-item {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: scale(1.05);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9),  rgba(0,0,0,0.3));
    padding: 0.5rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
    align-items: center;
    text-align: center;
}

.project-overlay h3 {
    color: white;
    font-size: 0.7rem;
    font-family: 'Montserrat';
    margin: 0;
}

/* Mobile responsive for projects strip */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .project-item {
        height: 250px;
    }
    
    .project-overlay h3 {
        font-size: 1.2rem;
    }
    
    .projects-strip {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-item {
        height: 250px;
    }
    
    .project-overlay {
        padding: 1.5rem;
    }
    
    .project-overlay h3 {
        font-size: 1rem;
    }
}





/* Certifications Strip - Full Width */
.certifications-strip {
    background: #f8f9fa;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.cert-item {
    background: #ddd;
    padding: 1rem 0.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.cert-item img{
    width: 50%;
    height: auto;
}


.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.cert-badge {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.cert-item:hover .cert-badge {
    transform: rotate(5deg) scale(1.1);
}

.cert-badge svg {
    width: 100%;
    height: 100%;
}

.cert-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cert-item p {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 2;
    color: #666;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .certifications-strip {
        padding: 3rem 1.5rem;
    }
    
    .cert-item h4 {
        font-size: 1.3rem;
    }
    
    .cert-badge {
        width: 80px;
        height: 80px;
    }
}










/* Content Image Section */
.content-image-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.content-image-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

/* Left: Image */
.content-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right: Content */
.content-text {
    padding: 2rem 0;
}

.content-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: left;
}

.content-text .intro-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: left;
}

.content-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Features List with Checkmarks */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
    margin-bottom: 0.1rem;
    font-size: 1rem;
    color: #333;
    line-height: 1;
}

.features-list li svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: #4169E1; /* Blue checkmark color */
}

.features-list li span {
    flex: 1;
}

/* Closing Text */
.content-text .closing-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    text-align: left;
}

.content-text .closing-text strong {
    font-weight: 700;
    color: #000;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .content-text h2 {
        font-size: 2.5rem;
    }
    
    .content-image-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .content-image-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-text h2 {
        font-size: 2rem;
    }
    
    .content-text h3 {
        font-size: 1.3rem;
    }
    
    .content-text .intro-text,
    .content-text .closing-text {
        font-size: 1rem;
    }
    
    .features-list li {
        font-size: 0.95rem;
    }
    
    .content-image-section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .content-text h2 {
        font-size: 1.5rem;
    }
    
    .content-text h3 {
        font-size: 1.2rem;
    }
    
    .features-list li svg {
        width: 20px;
        height: 20px;
    }
    
    .content-text {
        padding: 1rem 0;
    }
}




/* Hero Content - Updated for slide-down effect */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

#typewriterText {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-height: auto;
}

/* Individual text lines that slide down */
.slide-text-line {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-30px);
    animation: slideDown 1.5s ease forwards;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Slide down animation */
@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE - Adjust font sizes */
@media (max-width: 1024px) {
    .slide-text-line {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .slide-text-line {
        font-size: 1.2rem;
        white-space: normal;
        text-align: center;
    }
    
    #typewriterText {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .slide-text-line {
        font-size: 1rem;
    }
    
    #typewriterText {
        gap: 0.5rem;
    }
}





