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

body {
    font-family: Arial, sans-serif;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: #1F3A72;
    position: relative;
}

.logo img {
    height: 60px;
    width: 80px;
}

/* Desktop Menu */
.menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.menu a:hover {
    color: #FFD700;
}

/* Mobile Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 70vh;
    background-image: url('assets/img2_flip.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    padding: 0 5%;
    margin-left: 5%;
    transform: translateX(-5%);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 0;
    text-align: left;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.gold-italic {
    color: #FFD700;
    font-style: italic;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5),
                0 0 20px rgba(255, 215, 0, 0.3);
    display: inline-block;
    transform: rotate(-2deg);
    position: relative;
}

/* About Section */
.about-section {
    padding: 80px 5%;
    background: #fff;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-header h2 {
    color: #1F3A72;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.gold-line {
    width: 80px;
    height: 4px;
    background: #FFD700;
    margin: 0 auto;
    border-radius: 2px;
}

.about-text {
    flex: 1;
}

.about-item {
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
}

.icon-circle {
    width: 32px;
    height: 32px;
    background: #1F3A72;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #FFD700;
}

.about-item h3 {
    color: #1F3A72;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.about-item p {
    color: #555;
    line-height: 1.6;
}

.mission-list {
    margin: 15px 0 20px 20px;
    color: #555;
}

.mission-list li {
    margin-bottom: 8px;
    position: relative;
    line-height: 1.5;
}

.mission-list li::before {
    content: "•";
    color: #FFD700;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.about-item strong {
    color: #1F3A72;
}

.about-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grid-item {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

.grid-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Projects Section */
.projects-section {
    padding: 80px 5%;
    background-color: #1F3A72;
    color: white;
}

.projects-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section .section-header h2 {
    color: white;
}

.projects-section .subheading {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.project-card {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-card h3 {
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.project-card p {
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: 80px 5%;
    background: #f8f8f8;
  }
  
  .contact-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .contact-card {
    display: flex;
    background: #FFFFFF;
    box-shadow: 0px 0px 60px 30px rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    overflow: hidden;
  }
  
  /* Contact Info Section */
  .contact-info {
    flex: 1;
    padding: 60px;
    background: #D4AF37;
    color: #1F3A72;
  }
  
  .contact-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  
  .contact-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .gold-bg {
    background: #FFD700;
  }
  
  .contact-method h3 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  
  .contact-method p {
    font-size: 16px;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
    margin-top: 50px;
  }
  
  .social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .dark-bg {
    background: #1F3A72;
  }
  
  /* Contact Form Section */
  .contact-form {
    flex: 1;
    padding: 60px;
  }
  
  .form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
  }
  
  .form-group {
    flex: 1;
    margin-bottom: 15px;
  }
  
  .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #8D8D8D;
    background: transparent;
  }
  
  .form-group textarea {
    min-height: 100px;
    resize: vertical;
  }
  
  .subject-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }
  
  .subject-option {
    padding: 8px 15px;
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
  }
  
  .subject-option.active {
    background: #1F3A72;
    color: white;
  }
  
  .submit-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 48px;
    background: #D4AF37;
    color: #1F3A72;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    margin-top: 30px;
    box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.12);
  }

  /* Radio Button Styles */
.radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }
  
  .radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    margin-right: 15px;
  }
  
  .radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  
  .radio-custom {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #f0f0f0;
    border-radius: 50%;
    border: 2px solid #8D8D8D;
  }
  
  .radio-option:hover .radio-custom {
    background-color: #e0e0e0;
  }
  
  .radio-option input[type="radio"]:checked ~ .radio-custom {
    background-color: #1F3A72;
    border-color: #1F3A72;
  }
  
  .radio-custom:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
  }
  
  .radio-option input[type="radio"]:checked ~ .radio-custom:after {
    display: block;
  }
  
  .radio-label {
    margin-left: 8px;
    font-size: 14px;
    color: #000000;
  }

  /* Form Messages */
.form-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-weight: 500;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Loading Spinner */
.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #1F3A72;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
  

/* Responsive Styles */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .contact-card {
      flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
      padding: 40px;
    }
    
    .form-row {
      flex-direction: column;
      gap: 15px;
    }
  }

@media (max-width: 768px) {
    /* Header */
    .menu-toggle {
        display: block;
    }

    .menu ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 5%;
        background: #1F3A72;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        min-width: 200px;
        z-index: 1000;
    }

    .menu.active ul {
        display: flex;
    }

    /* Hero */
    .hero h1 {
        font-size: 2rem;
    }

    /* About */
    .container {
        flex-direction: column;
    }

    .about-grid {
        margin-top: 40px;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Contact us */
    .contact-info,
    .contact-form {
    padding: 30px;
  }
  .contact-method {
    flex-direction: column;
    gap: 10px;
  }

  .radio-options {
    flex-direction: column;
    gap: 10px;
  }
}


@media (max-width: 480px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}