/* ========================================
   NextGen Web IT Solutions - Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #0d1b2a;
    --secondary: #1b263b;
    --accent: #00d4ff;
    --accent-hover: #00a8cc;
    --text-light: #ffffff;
    --text-dark: #1a1a2e;
    --background-light: #f8f9fa;
    --background-cards: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

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

/* Section Image Styling */
.section-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background-color: var(--primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    animation: logoGlow 2s ease-in-out infinite;
}

.logo span {
    color: var(--accent);
    animation: accentPulse 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.4);
    }
}

@keyframes accentPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("images/hero-dev.png") center/cover no-repeat;
    text-align: center;
    padding: 100px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(27, 38, 59, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease, titlePulse 3s ease-in-out infinite;
}

.hero-title .title-next {
    color: var(--text-light);
}

.hero-title .title-gen {
    color: var(--accent);
    animation: accentGlow 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes accentGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.5);
    }
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s backwards, taglineFade 2s ease-in-out infinite;
}

@keyframes taglineFade {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
}

.hero .btn {
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* ========================================
   Introduction Section
   ======================================== */
.intro {
    padding: 80px 0;
    background-color: var(--background-cards);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.intro-text {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 80px 0;
    background-color: var(--background-light);
}

.services .section-title,
.services .section-subtitle {
    text-align: center;
}

.services-showcase {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.services-image {
    flex: 1;
    min-width: 350px;
}

.services-image .section-image {
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.services-content {
    flex: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    background-color: var(--background-cards);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 80px 0;
    background-color: var(--background-cards);
}

.about .section-title {
    text-align: center;
}

.about-showcase {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.about-image {
    flex: 1;
    min-width: 350px;
}

.about-image .section-image {
    height: 450px;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-card,
.vision-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.owner-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.owner-name {
    font-size: 1.3rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 5px;
}

.owner-title {
    color: var(--accent);
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.owner-bio,
.vision-text {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

.vision-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

/* ========================================
   Web Design Process Section
   ======================================== */
.process {
    padding: 80px 0;
    background-color: var(--background-light);
}

.process .section-title,
.process .section-subtitle {
    text-align: center;
}

.process-showcase {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.process-content {
    flex: 1.2;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-step {
    background-color: var(--background-cards);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    position: relative;
    padding-left: 80px;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
}

.step-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.step-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.process-image {
    flex: 1;
    min-width: 350px;
}

.process-image .section-image {
    height: 450px;
    object-fit: cover;
}

/* ========================================
   Ideas to Website Section
   ======================================== */
.ideas {
    padding: 80px 0;
    background-color: var(--background-cards);
}

.ideas-showcase {
    display: flex;
    gap: 50px;
    align-items: center;
}

.ideas-image {
    flex: 1;
    min-width: 350px;
}

.ideas-image .section-image {
    height: 450px;
    object-fit: cover;
}

.ideas-content {
    flex: 1;
}

.ideas-content .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.ideas-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.ideas-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ideas-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background-color: var(--background-light);
    border-radius: 10px;
    transition: all var(--transition);
}

.ideas-list li:hover {
    background-color: #e8f4f8;
    transform: translateX(5px);
}

.ideas-icon {
    font-size: 1.5rem;
}

.ideas-list li span:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 80px 0;
    background-color: var(--background-light);
}

.contact .section-title,
.contact .section-subtitle {
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Contact Details */
.contact-details {
    background-color: var(--background-cards);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-header {
    margin-bottom: 25px;
}

.contact-header h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-header p {
    color: #666;
    font-size: 0.95rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--background-light);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-info-box:hover {
    background-color: #e8f4f8;
}

.contact-info-icon {
    font-size: 1.4rem;
}

.contact-info-text h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.contact-info-text p {
    color: #666;
    font-size: 0.9rem;
}

/* Clickable Contact Links */
.contact-link {
    color: var(--accent);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--background-cards);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-header {
    margin-bottom: 20px;
}

.form-header h3 {
    font-size: 1.4rem;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all var(--transition);
    background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--background-cards);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 18px;
}

.form-success {
    display: none;
    background-color: #27ae60;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--primary);
    padding: 30px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1100px) {
    .services-showcase,
    .about-showcase,
    .process-showcase,
    .ideas-showcase {
        flex-direction: column;
    }
    
    .services-image,
    .about-image,
    .process-image,
    .ideas-image {
        width: 100%;
        min-width: auto;
    }
    
    .services-image .section-image,
    .about-image .section-image,
    .process-image .section-image,
    .ideas-image .section-image {
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .intro,
    .services,
    .about,
    .process,
    .ideas,
    .contact {
        padding: 60px 0;
    }
    
    .process-step {
        padding-left: 25px;
        padding-top: 50px;
    }
    
    .step-number {
        top: 15px;
        left: 25px;
        transform: none;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card,
    .about-card,
    .vision-card,
    .contact-form-wrapper,
    .contact-details {
        padding: 25px 20px;
    }

    .btn {
        padding: 12px 24px;
    }
    
    .ideas-list li {
        padding: 12px 15px;
    }
}

/* ========================================
   WhatsApp Float Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

