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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 24px;
    color: #FFD700;
}

/* Logo Image Styling */
.logo-image {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

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

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.menu-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    border-color: #FFD700;
    color: #FFD700;
}

.cta-button {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000000;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* HERO PART ONE - ALTERNATIVE FULL SCREEN IMAGE APPROACH */
/* ===== Updated styles.css ===== */

/* Hero section container */
.hero-part-one{
  position: relative;
  height: 100vh;   /* fallback */
  height: 100svh;  /* small viewport height for mobile */
  height: 100dvh;  /* dynamic viewport height */
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-top: env(safe-area-inset-top, 0);
}

/* Hero background image */
.fullscreen-bg-image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* Ensure hero text stays on top */
/* ===== Updated styles.css ===== */

/* Hero section container */
.hero-part-one{
    position: relative;
    height: 100vh;   /* fallback */
    height: 100svh;  /* small viewport height for mobile */
    height: 100dvh;  /* dynamic viewport height */
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-top: env(safe-area-inset-top, 0);
  }
  
  /* Hero background image */
  .fullscreen-bg-image{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
  }
  
  /* Ensure hero text stays on top */
  .hero-content{
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
  }
  
  /* Mobile adjustments */
  @media (max-width: 768px){
    .hero-part-one{
      height: 100svh; /* keep full screen height */
    }
    .fullscreen-bg-image{
      object-position: center center;
    }
  }
  
  /* Optional tweak: if you want to emphasize the lower part of the image on mobile */
  /*
  @media (max-width: 768px){
    .fullscreen-bg-image{
      object-position: center 30%;
    }
  }
  */
/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Small Countdown at Bottom */
.countdown-container-bottom {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 60px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
    line-height: 1;
    margin-bottom: 3px;
    font-family: 'Inter', monospace;
}

.countdown-label {
    font-size: 0.7rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* HERO PART TWO - Two Column Content Section */
.hero-part-two {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #020528 0%, #020528 50%, #020528 100%);
}

.hero-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

/* LEFT SIDE: Content Text Section */
.hero-content-text {
    width: 100%;
    text-align: left;
}

/* Branding Text - Now in Part 2 */
.hero-branding {
    text-align: left;
    margin-bottom: 40px;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-subtitle-new {
    font-size: 1.4rem;
    font-weight: 400;
    color: #cc99ff;
    line-height: 1.3;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-description {
    margin-bottom: 30px;
}

.intro-text {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 500;
}

.highlight-description {
    font-size: 1.2rem;
    color: #FFD700;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.5;
}

.emphasis-description {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.5;
}

.hero-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.hero-features li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cccccc;
}

.hero-features li::before {
    content: "•";
    color: #FFD700;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.software-list {
    color: #FFD700;
    font-weight: 600;
}

.highlight-text {
    color: #FFD700;
    font-weight: 600;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000000;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* RIGHT SIDE: Stats Section */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    max-width: 300px;
}

.stat-card {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.3;
}

/* Countdown finished state */
.countdown-finished {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

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

/* What We Offer Section */
.what-we-offer {
    position: relative;
    padding: 100px 0;
    background: #111111;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.wind-turbine-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: url('../images/sections/wind-turbine-silhouette.png') no-repeat center;
    background-size: contain;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.offer-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.offer-card:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
}

.offer-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 15px;
}

.offer-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #000000;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-image: url('../images/profile/Sam.jpg');
    background-size: cover;
    background-position: center;
    margin: 0 auto 2rem;
    border: 3px solid #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.profile-photo2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-image: url('../images/profile/Vahab.jpg');
    background-size: cover;
    background-position: center;
    margin: 0 auto 2rem;
    border: 3px solid #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.profile-photo3 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-image: url('../images/profile/Ali.jpg');
    background-size: cover;
    background-position: center;
    margin: 0 auto 2rem;
    border: 3px solid #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    color: #FFD700;
    font-weight: 600;
}

/* Trial Request Section */
.trial-request {
    padding: 100px 0;
    background: linear-gradient(135deg, #001122, #002244);
}

.trial-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #FFD700;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.1);
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000000;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-contact h3 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-contact p {
    color: #cccccc;
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #cccccc;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #FFD700;
    border-color: #FFD700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social svg {
    width: 28px;
    height: 28px;
    color: #0a66c2;
    transition: color 0.3s ease;
}

.footer-social svg:hover {
    color: #004182;
}

/* RESPONSIVE DESIGN */

/* Tablet and small desktop */
@media (max-width: 1024px) {
    .hero-content-container {
        gap: 40px;
    }
    
    .hero-main-title {
        font-size: 3.5rem;
    }
    
    .stat-card {
        padding: 20px;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    .hero-part-one {
        height: 60vh;
        object-fit: cover;

    }
    
    .hero-part-two {
        padding: 60px 0;
    }
    
    .hero-content-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        max-width: 100%;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
    
    .hero-subtitle-new {
        font-size: 1.2rem;
    }
    
    .countdown-container-bottom {
        padding: 12px 16px;
        margin-bottom: 30px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 6px 10px;
        min-width: 55px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
    
    .intro-text {
        font-size: 1.2rem;
    }
    
    .highlight-description {
        font-size: 1.1rem;
    }
    
    .emphasis-description {
        font-size: 1.2rem;
    }
    
    .hero-features li {
        font-size: 1rem;
    }
    
    .stat-card {
        padding: 18px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* MOBILE HEADER OPTIMIZATION */
    .nav-container {
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .nav-logo {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    
    .logo-image {
        height: 28px;
    }
    
    /* Hide the full text and show only SPARC on mobile */
    .logo-text {
        font-size: 0;
    }
    
    .logo-text::after {
        content: "SPARC";
        font-size: 16px;
        font-weight: 600;
        color: #ffffff;
        display: inline;
    }
    
    .nav-menu {
        flex-shrink: 0;
    }
    
    .menu-toggle {
        padding: 8px 14px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* Hide the CTA button on mobile */
    .nav-cta {
        display: none;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .offer-card {
        padding: 25px 20px;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .hero-part-one {
        height: 100vh;
    }
    
    .hero-part-two {
        padding: 50px 0;
    }
    
    .hero-content-container {
        padding: 0 15px;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-new {
        font-size: 1rem;
    }
    
    .countdown-container-bottom {
        padding: 10px 12px;
        margin-bottom: 25px;
    }
    
    .countdown-timer {
        gap: 8px;
    }
    
    .countdown-item {
        padding: 5px 8px;
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.3rem;
    }
    
    .countdown-label {
        font-size: 0.6rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .highlight-description {
        font-size: 1rem;
    }
    
    .emphasis-description {
        font-size: 1.1rem;
    }
    
    .hero-features li {
        font-size: 0.95rem;
        padding-left: 15px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 16px 12px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Mobile header optimization */
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo {
        gap: 6px;
    }
    
    .logo-image {
        height: 24px;
    }
    
    .logo-text::after {
        font-size: 15px;
    }
    
    .menu-toggle {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .offer-card {
        padding: 20px 15px;
    }
    
    .offer-card h3 {
        font-size: 1.3rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .trial-form {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }
    
    .submit-button {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-subtitle-new {
        font-size: 0.9rem;
    }
    
    .hero-content-container {
        padding: 0 10px;
    }
    
    .countdown-timer {
        gap: 6px;
    }
    
    .countdown-item {
        padding: 4px 6px;
        min-width: 45px;
    }
    
    .countdown-number {
        font-size: 1.1rem;
    }
    
    .countdown-label {
        font-size: 0.55rem;
    }
    
    /* Mobile header optimization */
    .nav-container {
        padding: 0 8px;
    }
    
    .nav-logo {
        gap: 5px;
    }
    
    .logo-image {
        height: 20px;
    }
    
    .logo-text::after {
        font-size: 14px;
    }
    
    .menu-toggle {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .trial-form {
        margin: 0 10px;
        padding: 25px 15px;
    }
}

