html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #222;
    scroll-behavior: smooth;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* NAVIGATION */
nav {
    background: #0f0f0f;
    color: #fff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #00c6ff;
}

.logo {
    font-weight: 700;
    letter-spacing: 1px;
}

/* HERO */
.hero {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: white;
    padding: 140px 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero p {
    max-width: 650px;
    margin: auto;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 30px;
}
/* HERO LAYOUT */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #00c6ff;
    color: #111;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #ffffff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #00c6ff;
    color: #00c6ff;
    margin-left: 15px;
}

.btn-outline:hover {
    background: #00c6ff;
    color: #111;
}

/* SECTIONS */
.section {
    padding: 90px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 600;
}

.dark {
    background: #111;
    color: white;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* CARDS */
.card {
    background: #1c1c1c;
    padding: 40px;
    border-radius: 12px;
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.card:hover {
    transform: translateY(-6px);
    border-color: #00c6ff;
}

.dark .card,
.dark .portfolio-item {
    background: #1c1c1c;
}

/* FOOTER */
footer {
    background: #000;
    color: #aaa;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}
/* PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.portfolio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    padding: 15px;
    transform: translateY(100%);
    transition: 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
}
/* STAGGER CHILD ITEMS */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s ease;
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}
.hero-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Make download button take full width */
.btn-download {
    flex-basis: 100%;
    text-align: center;
    background: #ffffff;
    color: #111;
    max-width: 250px;
    margin: 0 auto;
}

.btn-download:hover {
    background: #00c6ff;
    color: #111;
}
.portfolio-card {
    text-decoration: none;
    color: inherit;
}
.portfolio-overlay p {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-links a {
    color: #00c6ff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
}
/* STATS SECTION */
.stats {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.stat h3 {
    font-size: 2.8rem;
    color: #00c6ff;
    margin-bottom: 10px;
}

.stat p {
    font-weight: 500;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.case-card {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 198, 255, 0.2);
}

.case-card h3 {
    margin-bottom: 15px;
    color: #00c6ff;
}

.case-card p {
    margin-bottom: 15px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1fr;
    }

}
nav .logo,
nav .logo:visited,
nav .logo:active,
nav .logo:link {
    color: #ffffff !important;
    text-decoration: none;
}

nav .logo:hover {
    color: #00c6ff !important;
}
