/* ========== GOOGLE FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* ========== BRAND COLORS ========== */
:root {
    --primary: #4d0e3c;
    --primary-light: #6e1a56;
    --primary-dark: #35082a;
    --accent: #dd4748;
    --accent-dark: #c13a3b;
    --gray-bg: #f8f9fa;
    --gray-text: #6c757d;
    --white: #ffffff;
    --dark: #1a1a2e;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVBAR ========== */
.navbar {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-img {
    height: 45px;
    width: auto;
    margin-right: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-menu i {
    margin-right: 8px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 180px 0 120px;
    margin-top: 60px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.3;
}

.hero-content h1 span {
    color: var(--accent);
    display: inline-block;
}

/* ========== SECTION TITLES ========== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title h2 i {
    color: var(--accent);
    margin-right: 10px;
}

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

.section-title .subtitle {
    color: var(--accent);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 20px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image i {
    font-size: 8rem;
    color: white;
    opacity: 0.9;
}

/* ========== SERVICES SECTION ========== */
.services-section {
    padding: 80px 0;
    background: var(--gray-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-section {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--gray-bg);
    border-radius: 15px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== PROJECTS SECTION (for projects page) ========== */
.projects-section {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image i {
    font-size: 4rem;
    color: white;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.project-tech span {
    background: var(--gray-bg);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-links a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-links .live-link {
    color: var(--accent);
}

.project-links .details-link {
    color: var(--primary);
}

/* ========== CONTACT PAGE ========== */
.contact-page {
    padding: 120px 0 80px;
    background: var(--gray-bg);
    min-height: 100vh;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-info-side {
    background: var(--primary);
    color: white;
    padding: 3rem;
}

.contact-info-side h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-side h2 i {
    color: var(--accent);
    margin-right: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form-side {
    padding: 3rem;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: var(--gray-bg);
    border-radius: 10px;
    padding: 0 1rem;
}

.form-group i {
    color: var(--accent);
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.form-group textarea {
    padding: 1rem 0;
    resize: vertical;
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========== ABOUT PAGE ========== */
.about-page {
    padding: 120px 0 80px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-text h1 i {
    color: var(--accent);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-text);
}

/* ========== PROJECT DETAIL PAGE ========== */
.project-detail {
    padding: 120px 0 80px;
}

.project-header {
    background: var(--primary);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 3rem;
}

.project-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.project-badge {
    display: inline-block;
    background: var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.project-tech-stack span {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ========== FOOTER ========== */
footer {
    background: var(--dark);
    color: #aaa;
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col h4 i {
    color: var(--accent);
    margin-right: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-col p {
    margin-bottom: 0.5rem;
}

.footer-col p i {
    color: var(--accent);
    margin-right: 8px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-info-side,
    .contact-form-side {
        padding: 1.5rem;
    }
}
/* ========== HERO SLIDESHOW STYLES ========== */
.hero-slideshow {
    margin-top: 60px;
    position: relative;
}

.slideshow-container {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    max-width: 900px;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);  /* ← ADD THIS */
}

.slide-content h1 span {
    color: var(--accent);
    display: inline-block;
}

/* Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: var(--accent);
    color: white;
}

/* Dots/Indicators */
.dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    transition: all 0.3s;
    display: inline-block;
}

.dot.active, .dot:hover {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* Fade Animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: 0.4;}
    to {opacity: 1;}
}

/* Responsive Slideshow */
@media (max-width: 768px) {
    .slideshow-container {
        height: 80vh;
        min-height: 500px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .prev, .next {
        width: 35px;
        height: 35px;
        font-size: 18px;
        padding: 10px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    .dot {
        height: 8px;
        width: 8px;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.4rem;
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ========== ABOUT SECTION IMAGE STYLES ========== */
.about-image {
    background: none;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 350px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

/* Optional: Image overlay effect */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(77, 14, 60, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay i {
    font-size: 4rem;
    color: white;
    cursor: pointer;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .about-image {
        height: 280px;
    }
}

/* ========== CTA SECTION WITH BG IMAGE ========== */
.cta-section {
    position: relative;
    background-image: url('assets/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 14, 60, 0.6), rgba(53, 8, 42, 0.7));
    z-index: 1;
}



.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-content .btn {
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* ========== LOGO COLOR STYLES ========== */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.kam {
    color: var(--primary);  /* #dd4748 - Your red/accent color */
}

.techs {
    color: var(--accent);  /* #4d0e3c - Your deep plum color */
}

/* Optional: Reverse the colors (KAM primary, Techs accent) */
/* .kam {
    color: var(--primary);
}
.techs {
    color: var(--accent);
} */