/* Main Styles for Varenyam Exim */
:root {
  --primary-color: #0A4275;
  --secondary-color: #0e6ba8;
  --accent-color: #ffa500;
  --text-color: #333;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

a:hover {
  color: var(--primary-color);
}

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

/* Header */
header {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--box-shadow);
}

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

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

.logo img {
  width: 50px;
  height: auto;
}

.logo h1 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 1.5rem;
}

nav a {
  color: var(--white);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

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

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

nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(10, 66, 117, 0.8), rgba(10, 66, 117, 0.8)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%23004080'/%3E%3Cpath d='M20 20L80 20L80 80L20 80Z' fill='%23005090'/%3E%3Cpath d='M30 30L70 30L70 70L30 70Z' fill='%230060A0'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 8rem 0 5rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.about-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-img {
  flex: 1;
  text-align: center;
}

.about-img svg {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--light-bg);
}

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

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

/* Entertainment Section */
.entertainment {
  padding: 5rem 0;
  background: var(--white);
}

.entertainment h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.entertainment-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.resource-category {
  margin-bottom: 2rem;
}

.resource-category h3 {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.resource-links {
  list-style: none;
}

.resource-links li {
  margin-bottom: 10px;
}

.resource-links a {
  display: block;
  padding: 10px;
  background: var(--light-bg);
  border-radius: 5px;
  transition: var(--transition);
}

.resource-links a:hover {
  background: var(--secondary-color);
  color: var(--white);
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--light-bg);
}

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

.contact-info, .contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  color: var(--primary-color);
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

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

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 1rem;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links ul, .footer-social ul {
  list-style: none;
}

.footer-links li, .footer-social li {
  margin-bottom: 10px;
}

.footer-links a, .footer-social a {
  color: #ccc;
}

.footer-links a:hover, .footer-social a:hover {
  color: var(--accent-color);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition);
}

.back-to-top.active {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.8rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary-color);
    transition: var(--transition);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 2rem;
  }
  
  nav li {
    margin: 0 0 1.5rem 0;
  }
  
  .hero {
    padding: 7rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
