/* GLOBAL VARIABLES */
:root {
    --primary-color: #0B2C52;
    --secondary-color: #3C4858;
    --accent-color: #FF7A1A;
    --accent-secondary: #00D4FF;
    --light-bg: #F4F6F8;
    --white: #ffffff;
    --text-color: #333333;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* RESET & BASIC SETUP */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.4s ease; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--primary-color); margin-bottom: 1.2rem; letter-spacing: 0.5px; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p { font-size: 1.05rem; line-height: 1.8; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(255, 122, 26, 0.3);
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--white);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}
.btn:hover::before { width: 300px; height: 300px; }
.btn:hover { color: var(--accent-color); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 122, 26, 0.4); }
.btn-secondary { background-color: transparent; border: 2px solid var(--white); color: var(--white); box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2); }
.btn-secondary:hover { background-color: var(--white); color: var(--primary-color); transform: translateY(-2px); }

/* HEADER */
header {
    background-color: rgba(11, 44, 82, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
header .container { display: flex; justify-content: space-between; align-items: center; padding-left: 0; }
.logo {/* Typography (Fallback for SEO/Screen Readers) */
  font-size: 1.2rem;
  font-weight: 500;
  font-family: var(--font-heading);
  color: var(--white);
  
  /* Animation */
  transition: transform 0.3s ease;

  /* Background Image Setup */
  background-image: url('static/logo.svg');
  background-size: 350px auto;
  background-repeat: no-repeat;
  background-position: left;
  
  /* Layout & Dimensions */
  display: inline-block;
  width: 350px; 
  height: 100px;
  
  /* SEO: Hide the text but keep it readable for Google/Screen Readers */
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
}
/*font-size: 1.6rem; font-weight: 800; font-family: var(--font-heading); color: var(--white); transition: transform 0.3s ease; */
.logo:hover { transform: scale(1.05); }
.logo span { color: var(--accent-color); }
nav ul { display: flex; gap: 30px; }
nav a { color: var(--white); font-weight: 500; position: relative; padding: 5px 0; }
nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent-color); transition: width 0.3s ease; }
nav a:hover::after { width: 100%; }
nav a:hover { color: var(--accent-color); }

/* HERO SECTION */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}
.hero-slider {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 44, 82, 0.9), rgba(0, 212, 255, 0.3));
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}
.hero-content h1 { font-size: 4rem; color: var(--white); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 2px; animation: fadeInUp 1s ease; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.3rem; margin-bottom: 2.5rem; max-width: 850px; margin-left: auto; margin-right: auto; font-weight: 300; animation: fadeInUp 1.2s ease; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; animation: fadeInUp 1.4s ease; }
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}
.hero-arrow:hover { background: var(--accent-color); transform: translateY(-50%) scale(1.1); }
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }
.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SECTIONS */
.section { padding: 100px 0; }
.bg-light { background-color: var(--light-bg); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.8rem; position: relative; display: inline-block; animation: fadeIn 0.8s ease; }
.section-title h2::after { content:''; display: block; width: 80px; height: 4px; background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary)); margin: 15px auto 0; border-radius: 2px; }
.section-title p { font-size: 1.15rem; color: #666; margin-top: 15px; }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* CARDS */
.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.card img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.1); }
.card-content { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.card-content h3 { font-size: 1.3rem; margin-bottom: 12px; transition: color 0.3s ease; }
.card:hover .card-content h3 { color: var(--accent-color); }
.card-content p { font-size: 1rem; color: #666; margin-bottom: 20px; flex-grow: 1; line-height: 1.7; }

/* CONTACT */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-box { background: var(--primary-color); color: var(--white); padding: 40px; border-radius: 8px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; }

/* SLIDER */
.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    height: 100%;
}
.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}
.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px;
    color: white;
}
.slide-content h3 { color: white; font-size: 2rem; margin-bottom: 10px; }
.slide-content p { font-size: 1.1rem; }
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active { background: var(--accent-color); width: 30px; border-radius: 6px; }
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}
.slider-arrow:hover { background: var(--accent-color); transform: translateY(-50%) scale(1.1); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* TESTIMONIALS */
.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.testimonial-slider {
    overflow: hidden;
}
.testimonial-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}
.testimonial {
    min-width: 100%;
    padding: 50px;
    text-align: center;
}
.testimonial-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}
.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 100px;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}
.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}
.author-info h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}
.author-info p {
    margin: 5px 0 0;
    color: #888;
    font-size: 0.95rem;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}
.testimonial-dot.active { background: var(--accent-color); width: 25px; border-radius: 5px; }

/* STATS SECTION */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.stat-item:hover { transform: translateY(-5px); }
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* FOOTER */
footer { background: linear-gradient(135deg, #0a1929, #1a2332); color: #ccc; padding: 60px 0 20px; position: relative; overflow: hidden; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary)); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; text-transform: uppercase; font-size: 1rem; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 12px; transition: transform 0.3s ease; }
.footer-col ul li:hover { transform: translateX(5px); }
.footer-col a:hover { color: var(--accent-color); }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 0.9rem; }

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 122, 26, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(255, 122, 26, 0.6); }
.back-to-top.show { display: flex; animation: fadeInUp 0.5s ease; }

/* PRODUCTS CAROUSEL */
.products-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.products-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}
.products-carousel .card {
    min-width: calc(25% - 15px);
    max-width: calc(25% - 15px);
    flex-shrink: 0;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 122, 26, 0.3);
}
.carousel-arrow:hover { background: var(--primary-color); transform: translateY(-50%) scale(1.1); }
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .contact-wrapper, .footer-grid, .stats-grid { grid-template-columns: 1fr; }
    nav ul { display: none; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-arrow { width: 45px; height: 45px; font-size: 1.5rem; }
    .hero-arrow.prev { left: 15px; }
    .hero-arrow.next { right: 15px; }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 2rem; }
    .slider-container { height: 350px; }
    .slider-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
    .testimonial { padding: 20px; }
    .testimonial-content { padding: 25px; }
    .products-carousel .card { min-width: 100%; }
    .products-carousel-container { padding: 0 50px; }
    .carousel-arrow { width: 40px; height: 40px; font-size: 1.5rem; }
}