:root {
  --primary-color: #1c6bba;
  --primary-color-hover: #155594;
  --title-color: #0f3b66; 
  --text-color: #4a5568;
  --bg-color: #ffffff;
  --bg-alt: #f8fafc;
  --border-color: #e2e8f0;
  --transition: all 0.3s ease-in-out;
  --font-main: 'Inter', sans-serif;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--title-color);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* UI Elements */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 16px;
}

.btn:hover {
  background-color: var(--primary-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(28, 107, 186, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-color);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  transition: var(--transition);
}

header.sticky {
  position: fixed;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 0;
}

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

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span {
  color: var(--title-color);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  font-weight: 500;
  font-size: 15px;
  color: var(--title-color);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--title-color);
  cursor: pointer;
}

/* Header Spacer for subpages */
.header-spacer {
  height: 90px;
  background: #fff;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px 0;
  background-color: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 54px;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Features/About Short */
.about-short {
  background: #fff;
}

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

.about-short-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-short-content p {
  margin-bottom: 20px;
  font-size: 18px;
}

.about-short-image div {
  background-color: var(--bg-alt);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}
.about-short-image i {
  font-size: 80px;
  color: var(--primary-color);
}

/* Services */
.services-section {
  background: var(--bg-alt);
}

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

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: var(--primary-color);
}

.service-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card ul {
  margin-bottom: 20px;
}

.service-card ul li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-link:hover {
  gap: 10px;
}

/* General Content Pages */
.page-header {
  padding: 150px 0 80px 0;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 15px;
}

.page-content {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.page-content h2 {
  font-size: 32px;
  margin: 40px 0 20px 0;
}

.page-content ul {
  margin-bottom: 30px;
}

.page-content ul li {
  font-size: 18px;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}
.page-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.content-cta {
  background: var(--bg-alt);
  padding: 60px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
}

.content-cta h2 {
  margin-top: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background: var(--primary-color);
  color: #fff;
  padding: 50px;
  border-radius: 12px;
}

.contact-info h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  font-size: 18px;
}
.info-item i {
  font-size: 24px;
}

.contact-form {
  padding: 20px 0;
}

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

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  background: var(--bg-alt);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #fff;
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

#form-messages {
  margin-top: 20px;
  padding: 15px;
  border-radius: 4px;
  display: none;
}
#form-messages.success {
  display: block;
  background: #d4edda;
  color: #155724;
}
#form-messages.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
}

/* CTA Section Home */
.cta-section {
  padding: 100px 0;
  background: var(--title-color);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 30px;
}

/* Footer */
footer {
  background: #0b1a2e;
  color: #a0aec0;
  padding: 60px 0 30px 0;
}

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

.footer-brand h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-links h4, .footer-social h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
}

.social-icons a:hover {
  background: var(--primary-color);
}

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

/* Testimonials */
.testimonials {
  padding: 100px 0;
}

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

.testimonial-card {
  padding: 40px;
  background: var(--bg-alt);
  border-radius: 12px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 60px;
  color: #e2e8f0;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card p {
  font-size: 16px;
  font-style: italic;
  position: relative;
  z-index: 2;
}

/* Industries */
.industries {
  padding: 100px 0;
  background: #fff;
}

.industries-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.ind-tag {
  padding: 10px 25px;
  background: var(--bg-alt);
  border-radius: 30px;
  font-weight: 500;
  color: var(--title-color);
  border: 1px solid var(--border-color);
}

/* Custom Logo matching provided image */
.logo-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}
.logo-box {
    background-color: var(--primary-color);
    color: #ffffff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    font-style: italic; 
    border-radius: 4px;
}

/* Services 2x2 grid */
.services-grid.two-by-two {
    grid-template-columns: repeat(2, 1fr);
}

/* Why choose us 3x2 */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
}
.wcu-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    text-align: center;
}
.wcu-item i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

/* Equal Distribution Industries */
.industries-tags.equal-distribution {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}
.equal-distribution .ind-tag {
    text-align: center;
    width: 100%;
}

/* Carousel */
.carousel-container {
    overflow: hidden;
    position: relative;
    padding-bottom: 60px;
}
.testimonials-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}
.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    box-sizing: border-box;
    position: relative;
    text-align: center;
}
.t-logo {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}
.t-author {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.t-author span {
    font-size: 14px;
    color: var(--text-color);
}
.carousel-nav {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.carousel-nav button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display:flex; align-items:center; justify-content:center;
}
.carousel-nav button:hover { background: var(--primary-color-hover); }

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: bold;
    padding: 0;
    margin-top: 10px;
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); 
    align-items: center;
    justify-content: center;
}
.modal.show {
    display: flex;
}
.modal-content {
    background-color: #fefefe;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
}
.close-modal {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-modal:hover {
    color: black;
}

.t-company-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 15px auto;
    display: block;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.modal-header-custom {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header-custom .t-company-logo {
    margin: 0;
    width: 80px;
    height: 80px;
}

.modal-author-info h4 {
    margin: 0;
    font-size: 20px;
    color: var(--title-color);
}

.modal-author-info p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: var(--text-color);
}

.modal-text-content {
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-color);
}

/* Responsive */
/* Responsive Design */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: 720px;
    }
    
    .section-padding {
        padding: 80px 0;
    }

    .hero-grid, .about-short-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero {
        padding: 140px 0 60px 0;
    }

    .hero-btns {
        justify-content: center;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 100%;
    }

    .section-title {
        font-size: 30px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        gap: 25px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .services-grid, .services-grid.two-by-two {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-info {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
