@charset "UTF-8";

/* ========================= */
/* Global Styles */
/* ========================= */

html {
    scroll-behavior: smooth;
}

body {
margin: 0;
padding: 0;
font-family: 'Lexend Deca', sans-serif;
background-color: #100E40; /* Dark background for vivid contrast */
overflow-x: hidden;
padding-top: 50px; /* Prevents content from being hidden under the navbar */
color: #F2F2F2; /* Light text for contrast */
}

/* Links */
.links {
    font-size: 16px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.links a {
text-decoration: none;
color: #FF007F; / Hot Pink for vibrant accent */
font-weight: 700;
transition: color 0.3s ease;
}

.links a:hover {
    color: #39FF14; /* Subtle hover effect */
}

/* ========================= */
/* Navigation Styles */
/* ========================= */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: #5841EA; /* Electric Blue for a bold navbar */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
z-index: 1000;
padding: 10px;
}

/* Navbar Container */
.container {
    max-width: 1350px; /* Prevents navbar from stretching too wide */
    /*margin: 0 auto;  Centers content */
	margin-left: 40px;
	margin-right: 40px;
    display: flex;
    justify-content: space-between; /* Keeps logo on left, links on right */
    align-items: center;
}

/* Mobile Menu Button */
.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
	color: #eaeaea;
    font-size: 24px;
    cursor: pointer;
}

/* Left Section: Logo */
.nav-left {
    display: flex;
    align-items: center;
}

.nav-left .logo {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

/* Right Section: Navigation Links */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Ensures links stay on the right */
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
text-decoration: none;
color: white;
font-weight: bold;
white-space: nowrap;
}

.nav-links a:hover {
    color: #04D960;
}

.nav-left .logo:hover {
     color: #04D960;
}

/* ========================= */
/* Main Content */
/* ========================= */

.main-content {
    background: linear-gradient(180deg, #100E40, #3B2C9E);
	text-align: left;
    margin-top: 50px;
    padding-left: 40px;
    padding-bottom: 75px;
    display: flex;
    flex-direction: column;
    transition: all 0.9s ease-in-out;
}

.main-content h1 {
font-size: 190px;
font-weight: 700;
line-height: 0.9;
margin: 0;
color: #FF007F; /* Hot Pink for vivid headlines */
}

.red-plus {
    display: inline-block;
    width: 110px; /* Adjust based on size */
    height: 110px;
    transform-origin: center;
}

.main-content h2 {
font-size: 26px;
font-weight: 300;
padding-left: 20px;
color: #04D960; /* Neon Green for subheadings */
	transition: font-size 0.5s ease, line-height 0.5s ease;
}

/* ========================= */
/* About */
/* ========================= */
 
.about-section {
    padding: 30px;
    background-color: #100E40;
    text-align: center;
}

.about-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap; /* Ensures it stays in a row on larger screens */
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.about-item {
    flex: 1;
    min-width: 200px;
    min-height: 350px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;

    /* New animation styles */
    opacity: 0; /* Initially hidden */
    transform: translateX(0); /* Prevents layout shift */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-icon {
    width: 75px;
    height: 75px;
	margin-top: 5px;
    margin-bottom: 1px;
}

.about-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
	color: black;
}

.about-item p {
    font-size: 16px;
    color: #555;
}

@media (min-width: 769px) {
    .nav-toggle {
        display: none !important;
    }

    .nav-right {
        display: flex !important;
    }
}

/* ========================= */
/* Portfolio Styles */
/* ========================= */

/* Default Styles (for large screens) */
.portfolio-section {
background: linear-gradient(180deg, #3B2C9E, #100E40);
padding: 40px;
display: grid;
grid-template-columns: repeat(3, 1fr);
max-width: 1800px;
margin: 0 auto;
gap: 30px;
background-color: #100E40;
animation: fadeIn 1s ease forwards;
animation-delay: 0.5s;
}

.portfolio-item {
    position: relative; /* Needed for absolute positioning of overlay */
    overflow: hidden; /* Ensures overlay doesn’t go outside */
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-item img {
width: 100%;
max-width: 600px;
height: 450px;
object-fit: cover;
border-radius: 8px;
display: block;
transition: transform 0.3s ease-in-out;
}

.portfolio-item img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Portfolio Overlay Always Visible */
.overlay {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.8); /* Black box for readability */
    color: white; /* White text */
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 0px 0px 0px 8px; /* Only lower-left corner rounded */
    opacity: 1; /* Always visible */
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect - Slightly Increase Portfolio Item */
.portfolio-item:hover {
    border-radius: 8px;
	transform: scale(1.05); /* Slight zoom */
    transition: transform 0.3s ease-in-out;
}

/* Overlay (Hidden by Default) */
/* -->
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
	border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
*/
/* Show Overlay on Hover */
/*
.portfolio-item:hover .overlay {
    opacity: 1;
} */

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.6s ease-in-out;
}

.lightbox-content {
    max-width: 60%;  /* Reduced size from 90% to 60% */
    max-height: 60%; /* Reduced size for better fit */
    transition: transform 0.4s ease-in-out;
    transform: scale(0.8); /* Start smaller */
}

.lightbox.show .lightbox-content {
    transform: scale(1); /* Grows smoothly to full size */
}

/* Close Button (X in upper-right corner) */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff4444; /* Subtle red hover effect */
}

/* CSS for Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: black; /* Ensures text is black for readability */
}

/* Ensure links inside the modal are also readable */
.contact-modal-content a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.contact-modal-content a:hover {
    color: #5841EA; /* Matches the site’s vibrant blue */
}

.contact-close {
    color: black;
	position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.contact-modal {
    display: none;
}

/* Portfolio Breakpoints */
/* For Extra-Large Screens (Prevent Overstretching) */
@media (min-width: 1920px) {
    .portfolio-section {
        max-width: 2000px; /* Prevents too much stretching on ultra-wide screens */
    }
}

/* Laptops & Desktops */
@media (max-width: 1200px) {
    .portfolio-section {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

/* Tablets */
@media (max-width: 992px) {
    .portfolio-section {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        padding: 30px;
    }
}

/* Tablets (Portrait) */
@media (max-width: 768px) {
    .portfolio-section {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

/* Large Mobile Devices */
@media (max-width: 600px) {
    .portfolio-section {
        grid-template-columns: 1fr; /* Single column */
    }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
    .portfolio-section {
        padding: 20px;
    }
}


/* ========================= */
/* Mobile Views = 768*/
/* ========================= */
@media (max-width: 768px) {
 .nav-right {
        display: none; /* Hide the nav links by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: black;
        width: 220px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: right;
        padding: 10px;
    }

    .nav-right.show {
        display: flex; /* Show the nav links when toggled */
    }

    .nav-toggle {
        display: block; /* Show menu button */
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
		color: #eaeaea;
        padding-right: 20px;
    }
	
	    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

	.nav-links.show {
        display: flex !important; /* Force menu to show when toggled */
    }

/* Main Content */
.main-content {
  text-align: left;
  margin-top: 70px;
  padding-left: 40px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.9s ease-in-out;
}

.main-content h1 {
  font-size: 140px;
  font-weight: 700;
  line-height: 0.9;
  margin: 0;
}

.main-content h2 {
  font-size: 30px;
  line-height: 1.0;
  padding-left: 20px;
}

.about-container {
  flex-direction: column; /* Stacks in a row on smaller screens */
  align-items: center;
}

.red-plus {
    display: inline-block;
    width: 90px; /* Adjust based on size */
    height: 90px;
    transform-origin: center;
}
}
	
/* Mobile Adjustments = 480*/
@media (max-width: 480px) {
    .header {
        flex-direction: column;
        gap: 10px;
    }

    .nav-right {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        width: 100%;
        text-align: center;
    }

	.main-content {
  text-align: left;
  margin-top: 30px;
  padding-left: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.9s ease-in-out;
	}
	
    .main-content h1 {
        font-size: 60px;
		font-weight: 500;
        line-height: 1.2;
    }
	
.main-content h2 {
  font-size: 20px;
  line-height: 1.0;
  padding-left: 10px;
	}

.red-plus {
    display: inline-block;
    width: 40px; /* Adjust based on size */
    height: 40px;
    transform-origin: center;
}	
}


/* ========================= */
/* Footer Styles */
/* ========================= */

.footer {
    background-color: #5841EA;
    color: #F2F2F2;
    text-align: center;
	font-size: 12px;
    padding: 20px 0;
    margin-top: auto;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Ensures spacing between elements */
    padding: 0 40px;
}

.footer-container .separator {
    color: #eaeaea;
    font-weight: bold;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    color: #F2F2F2;
    text-decoration: none;
    font-weight: bold;
}

.footer-links a:hover {
    color: #39FF14;
}

/* Ensure the footer stays at the bottom */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
} 

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* ========================= */
/* Case Study Page Styles */
/* ========================= */

.case-study {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
}

.case-study-hero {
    text-align: center;
    margin-bottom: 60px;
}

.case-study-hero h1 {
    color: #FF007F;
	font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.case-study-hero .subtitle {
    font-size: 18px;
	color: #04D960; /* Neon Green for subheadings */
}

/* Two-Column Layout */
.case-study-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.case-study-text {
	flex: 1;
    max-width: 50%;
}

.case-study-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
	color: #F9DC5C;
}

.case-study-text p {
    font-size: 16px;
    line-height: 1.6;
    color: whitesmoke;
}

/* Image Section */
.case-study-images {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-block {
    text-align: center;
}

.image-block img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.caption {
    font-size: 14px;
    color: whitesmoke;
    margin-top: 8px;
}

.category {
    color: #F9DC5C;
    font-weight: bold;
}

.experience-section {
    font-weight: 300;
    font-size: 0.95em;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .case-study-content {
        flex-direction: column;
    }
    
    .case-study-text, .case-study-images {
        max-width: 100%;
    }
}


/* ========================= */
/* Animations */
/* ========================= */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spinOnce {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes flyInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flyInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

