/* Root Variables */
:root {
  --primary-color: #0b1c3e;
  --accent-color: #e63946;
  --text-dark: #2a2a2a;
  --text-light: #f5f5f5;
  --bg-light: #ffffff;
  --bg-gray: #f4f6f9;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--bg-light);
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: 4px; }

/* Typography */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--primary-color); }
h1 { font-size: 4rem; letter-spacing: -1px; }
h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1.5rem; font-size: 1.1rem; color: #555; }
.text-center { text-align: center; }
.section-subtitle {
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Container */
.container { width: 90%; max-width: 1300px; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
}
.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}
.btn-primary:hover {
  background-color: #d32f2f;
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(230, 57, 70, 0.4);
}
.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary-color);
}

/* Header & Top Bar */
.header {
  position: absolute;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.top-bar {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.8rem 0;
  font-size: 0.9rem;
  text-align: center;
}
.top-contacts {
  display: flex; justify-content: center; align-items: center; gap: 2rem;
}
.top-contacts i { color: var(--accent-color); margin-right: 8px; }

.nav-container {
  display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0;
}
.logo img { height: 60px; object-fit: contain; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links > a, .dropdown > a {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 0;
  position: relative;
}
.nav-links > a::before, .dropdown > a::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background-color: var(--accent-color); transition: var(--transition);
}
.nav-links > a:hover::before, .dropdown:hover > a::before { width: 100%; }

/* Dropdown Menu */
.dropdown { position: relative; display: inline-block; }
.dropdown > a::after {
  content: '\f0d7'; font-family: "Font Awesome 6 Free"; font-weight: 900;
  margin-left: 6px; font-size: 0.8rem; vertical-align: middle;
}
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: -20px;
  background-color: #fff; min-width: 260px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  z-index: 1000; border-radius: 8px; overflow: hidden;
  padding: 1rem 0; border-top: 4px solid var(--accent-color);
}
.dropdown:hover .dropdown-menu { display: block; animation: slideUp 0.3s ease forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-menu a {
  color: var(--text-dark) !important; padding: 12px 25px; display: block;
  font-size: 0.95rem !important; border-bottom: 1px solid #f0f0f0; transition: all 0.2s;
  text-transform: none; font-weight: 500;
}
.dropdown-menu a:hover {
  background-color: var(--bg-gray); color: var(--accent-color) !important; padding-left: 35px;
}

/* Hero Section (Unique Modern Layout) */
.hero {
  position: relative; height: 100vh; min-height: 800px;
  display: flex; align-items: center; overflow: hidden; padding-top: 100px;
}
.hero-bg-container {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
}
.hero-bg { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 25s infinite alternate ease-in-out; }
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 100%); z-index: -1;
}

.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; width: 100%;
}
.hero-content { color: #fff; }
.hero-content h1 {
  font-size: 4.5rem; margin-bottom: 1.5rem; line-height: 1.1;
  text-shadow: 0 10px 20px rgba(0,0,0,0.3); color: #fff;
}
.hero-content p {
  font-size: 1.3rem; margin-bottom: 2.5rem; opacity: 1; color: #fff;
  max-width: 600px; text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.hero-actions { display: flex; gap: 1.5rem; }

/* Modern Floating Quote Box */
.hero-quote-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: translateY(20px);
}
.hero-quote-box h3 { color: #fff; margin-bottom: 1.5rem; font-size: 1.8rem; }
.form-group { margin-bottom: 1.5rem; }
.form-control {
  width: 100%; padding: 1rem 1.5rem; border: none; border-radius: 8px;
  background: rgba(255, 255, 255, 0.9); font-size: 1rem; color: var(--text-dark);
}
.form-control:focus { outline: 2px solid var(--accent-color); }

/* Subpage Hero */
.subpage-hero { position: relative; height: 100vh; min-height: 800px; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: 100px; }
.subpage-hero .container { max-width: 800px; }
.subpage-hero p { font-size: 1.25rem; color: #ffffff; margin-bottom: 2.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.subpage-hero .hero-actions { display: flex; justify-content: center; gap: 1.5rem; }
.subpage-hero .hero-bg { animation: none; filter: brightness(0.7); }
.subpage-hero h1 { font-size: 4rem; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.9), 0 2px 5px rgba(0,0,0,0.8); margin-bottom: 1.5rem; }

/* General Sections */
.section { padding: 8rem 0; }
.bg-gray { background-color: var(--bg-gray); }

/* Overlapping Asymmetrical Features Layout */
.features-container { position: relative; z-index: 10; margin-top: -100px; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.feature-card {
  background: #fff; padding: 3rem 2.5rem; border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08); transition: var(--transition);
  border-top: 5px solid transparent;
}
.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12); border-top-color: var(--accent-color);
}
.feature-icon {
  font-size: 3rem; color: var(--accent-color); margin-bottom: 1.5rem;
}

/* Modern Alternating Split Section */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; margin-bottom: 8rem;
}
.split-section:last-child { margin-bottom: 0; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-image { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
.split-image::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.2); pointer-events: none;
}
.split-image img { width: 100%; height: 500px; object-fit: cover; transition: transform 0.8s ease; }
.split-image:hover img { transform: scale(1.08); }
.split-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 1rem; }
.split-content h2::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background: var(--accent-color);
}
.split-content p { font-size: 1.15rem; margin-bottom: 2rem; }

/* Large Text Content formatting (for 4000+ chars) */
.rich-content { max-width: 900px; margin: 0 auto; padding: 4rem 0; }
.rich-content p { font-size: 1.15rem; line-height: 1.8; color: #444; margin-bottom: 2rem; text-align: justify; }
.rich-content h2 { margin-top: 4rem; margin-bottom: 1.5rem; font-size: 2.2rem; }
.rich-content h3 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.6rem; color: var(--accent-color); }
.rich-content blockquote {
  font-size: 1.4rem; font-style: italic; color: var(--primary-color);
  padding: 2rem; border-left: 5px solid var(--accent-color); background: var(--bg-gray);
  margin: 3rem 0; border-radius: 0 8px 8px 0;
}
.rich-content ul { margin-bottom: 2rem; padding-left: 2rem; }
.rich-content ul li { font-size: 1.15rem; margin-bottom: 1rem; position: relative; }
.rich-content ul li::before {
  content: '\f058'; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--accent-color); position: absolute; left: -2rem; top: 2px;
}

/* Full Width Parallax Break */
.parallax-break {
  background-attachment: fixed; background-position: center; background-repeat: no-repeat;
  background-size: cover; padding: 10rem 0; position: relative; text-align: center; color: #fff;
}
.parallax-break::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11,28,62,0.8);
}
.parallax-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.parallax-content h2 { color: #fff; font-size: 3rem; margin-bottom: 1.5rem; }

/* Footer */
.footer { background-color: #060e1f; color: #fff; padding: 6rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 5rem; margin-bottom: 4rem; }
.footer-logo img { height: 70px; margin-bottom: 2rem; background-color: #fff; padding: 8px; border-radius: 4px; }
.footer-logo p { color: #bbb; line-size: 1.8; font-size: 1.05rem; }
.footer-col h4 { font-size: 1.3rem; margin-bottom: 2rem; position: relative; padding-bottom: 0.8rem; color: #fff; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background-color: var(--accent-color); }
.footer-links li { margin-bottom: 1.2rem; display: flex; align-items: flex-start; gap: 12px; color: #bbb; font-size: 1.05rem; }
.footer-links i { color: var(--accent-color); margin-top: 6px; }
.footer-links a { color: #bbb; }
.footer-links a:hover { color: var(--accent-color); padding-left: 8px; }
.footer-bottom {
  text-align: center; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.05); color: #666;
  display: flex; justify-content: space-between; align-items: center;
}
.legal-links { display: flex; gap: 2rem; }
.legal-links a { color: #888; }
.legal-links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-quote-box { margin-top: 3rem; }
  .split-section { grid-template-columns: 1fr; gap: 3rem; }
  .split-section.reverse { direction: ltr; }
  .split-image img { height: 400px; }
  .features-container { margin-top: 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-content h1 { font-size: 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}

/* Additional UI Components (FAQs, Testimonials, Projects Grid) */
.faq-section { margin-top: 4rem; }
.faq-item { background: #fff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 1rem; padding: 1.5rem; transition: var(--transition); border-left: 4px solid var(--accent-color); }
.faq-item:hover { transform: translateX(5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.faq-question { font-size: 1.25rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; }
.faq-answer { font-size: 1.05rem; color: #555; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial-card { background: #fff; padding: 2.5rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); text-align: center; position: relative; }
.testimonial-card::before { content: '\f10d'; font-family: "Font Awesome 6 Free"; font-weight: 900; color: rgba(230,57,70,0.1); font-size: 4rem; position: absolute; top: 10px; left: 20px; z-index: 0; }
.testimonial-text { font-style: italic; font-size: 1.1rem; color: #444; position: relative; z-index: 1; margin-bottom: 1.5rem; }
.testimonial-author { font-weight: 700; color: var(--primary-color); }
.testimonial-company { font-size: 0.9rem; color: var(--accent-color); }

.mini-projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.mini-project-card { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: var(--transition); background: #fff;}
.mini-project-card:hover { transform: translateY(-8px); }
.mini-project-img { height: 200px; width: 100%; object-fit: cover; }
.mini-project-info { padding: 1.5rem; }
.mini-project-info h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.mini-project-info p { font-size: 0.95rem; margin-bottom: 0; }

.quick-quote-form { background: var(--primary-color); padding: 3rem; border-radius: 12px; color: #fff; margin-top: 4rem; box-shadow: 0 20px 40px rgba(11,28,62,0.3); }
.quick-quote-form h3 { color: #fff; margin-bottom: 1.5rem; }
.quick-quote-form .form-control { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.quick-quote-form .form-control::placeholder { color: #bbb; }
.quick-quote-form .form-control:focus { outline: none; border-color: var(--accent-color); background: rgba(255,255,255,0.15); }



/* Testimonials Section */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
  background: #fff; padding: 3rem 2rem; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex;
  flex-direction: column; justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative;
  border-top: 4px solid var(--accent-color);
}
.testimonial-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.testimonial-content { margin-bottom: 2rem; position: relative; }
.testimonial-content .quote-icon {
  font-size: 3rem; color: rgba(230, 57, 70, 0.1);
  position: absolute; top: -10px; left: -10px; z-index: 0;
}
.testimonial-content p {
  font-size: 1.1rem; color: #555; line-height: 1.8;
  position: relative; z-index: 1; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--primary-color); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.author-info h4 { margin: 0; font-size: 1.1rem; color: var(--primary-color); }
.author-info span { font-size: 0.9rem; color: #777; }

@media (max-width: 992px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }
